Re: XFS for lots of small files

Eric Sandeen
2008-05-25T03:24:31Z

Martin Steigerwald wrote:

> And there is quite some fragmentation on it:
>
> xfs_db> frag
> actual 653519, ideal 587066, fragmentation factor 10.17%

No, there's not.

You have 653519 extents out of an "ideal" 587066.

That is 653519/587066 = 1.113 extents per file.

It is not "quite some" fragmentation, it is near perfect (although this
is subjective, and also depends on the size of your files... if they are
all 8k then 1.113 extents per file might be a bit high; if they average
1G then 1.113 extents on average is pretty darned good.)

-Eric