Re: Re[2]: Bad performance when accessing a lot of small files

2007-12-20 Thread Alexandre Biancalana
On 12/20/07, dima <[EMAIL PROTECTED]> wrote: > >> Increase the dirhash maxmem > >> I have 'sysctl -w vfs.ufs.dirhash_maxmem=268435456' (256Mb)in my > >> rc.local on a (maildir) fileserver here > >> > > This is a zfs filesystem, by the way I raise this limit as suggested. > > > > I let you know > >

Re[2]: Bad performance when accessing a lot of small files

2007-12-20 Thread dima
>> Increase the dirhash maxmem >> I have 'sysctl -w vfs.ufs.dirhash_maxmem=268435456' (256Mb)in my >> rc.local on a (maildir) fileserver here >> > This is a zfs filesystem, by the way I raise this limit as suggested. > > I let you know Can you provide sysctl vfs.zfs output then? ZFS can be tuned

Re: Re[2]: Bad performance when accessing a lot of small files

2007-12-20 Thread Alexandre Biancalana
On 12/20/07, dima <[EMAIL PROTECTED]> wrote: > > Try to run this command while listing your large directory. You'll see that > dirhash_mem will reach dirhash_maxmem. So, the value of dirhash_maxmem should > be increased. > > One more hint. Mounting filesystems with -noatime option greatly improve

Re: Bad performance when accessing a lot of small files

2007-12-20 Thread Alexandre Biancalana
On 12/20/07, Dennis Kjær Jensen <[EMAIL PROTECTED]> wrote: > Alexandre Biancalana wrote: > > > > Increase the dirhash maxmem > I have 'sysctl -w vfs.ufs.dirhash_maxmem=268435456' (256Mb)in my > rc.local on a (maildir) fileserver here > This is a zfs filesystem, by the way I raise this limit as sugg

Re[2]: Bad performance when accessing a lot of small files

2007-12-20 Thread dima
>>>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. >> >> Hi, > > I'm using zfs, I think this change the things.. no ? > > > Hav