Bad performance when accessing a lot of small files
biancalana at gmail.com
Wed Dec 19 12:07:09 PST 2007
On 12/19/07, Mike Tancsa <mike at sentex.net> wrote:
> At 02:09 PM 12/19/2007, Alexandre Biancalana wrote:
> >The behavior that I'm observing and that want your help is when the
> >system is accessing some directory with many small files ( directories
> >with ~ 1 million of ~30kb files), the performance is very poor.
I'm using zfs, I think this change the things.. no ?
> Have you adjusted the dirhash value ? What does
> sysctl -a vfs.ufs | grep dirhash
# sysctl -a vfs.ufs | grep dirhash
> show on your box ? Also, do you have a lot of UIDs in your passwd file ?
# wc -l /etc/passwd
More information about the freebsd-performance