Mark Goodwin schrieb:
defragmenting by copying from the ext3 filesystem to a new filesystem
should help, for a while at least. Whether xfs would have an on-going
performance problem compared to ext3 depends on your usage patterns ..
does "all the time" mean you are continuously adding new files and links
and removing files at a high rate/second? Are multiple threads doing this?
Yes. Multiple threads adding new files (or hardlinks, if there are such
files already) all the time (24h/day).
Normally, there is only one thread removing the files. Because of this
performance problem I described, it also does its job 24h/day - it just
can't finish removing the unneeded files in a couple of hours, not to
say one day.
Are all the files the same size? Block-size been tuned?
No, file sizes are mostly random stuff you will normally find on any
rootfs, home, etc. directory.
It's a backup system which uses hardlinks so that files which are
already in backup do not take additional place.
I didn't do any block-size tuning, as I don't really know where to bite.