Re: tuning XFS for tiny files

Eric Sandeen
2007-07-18T20:57:24Z

timotheus wrote:
> 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.
>
> Regards,
> -timotheus

Do you have a way to benchmark your load?

logv2 at mkfs time, and throwing in larger logbufs & logbsize as mount
options might help.

-Eric