Re: tuning XFS for tiny files

Andi Kleen
2007-07-19T12:59:20Z

timotheus <timotheus@tstotts.net> writes:

> Hi. Is there a way to tune XFS filesystem parameters to better address
> the usage pattern of 10000s of tiny files in directories such as:
> maildir directory
> mh mail directory
> ccache directory
>
> My understanding is that XFS will always be much slower than reiserfs
> with respect to deleting 10000s files; but that XFS might be possible to
> tune toward more rapid read access of 10000s of tiny files.

-d agcount=1 at mkfs time might help (unless you have a lot of CPUs)

-Andi