Re: XFS for lots of small files

Linda Walsh
2008-05-23T00:43:30Z

Martin Steigerwald wrote:
> And there is quite some fragmentation on it:
>
> xfs_db> frag
> actual 653519, ideal 587066, fragmentation factor 10.17%
----
Not to disturb you, but are you running xfs_fsr on a
regular basis?

I have a shell script that runs in my 'cron.daily' that has two
lines:
----
#!/bin/bash
ionice -c 3 /usr/sbin/xfs_fsr &
-------

I've never noticed fragmentation above 1% on my disks...but your
mileage may vary ....