Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2007 20:41:32 +0300
From:      dima <_pppp@mail.ru>
To:        Alexandre Biancalana <biancalana@gmail.com>
Cc:        freebsd-performance@freebsd.org, =?koi8-r?Q?Dennis_Kj=E6r_Jensen?= <signout@signout.dk>
Subject:   Re[2]: Bad performance when accessing a lot of small files
Message-ID:  <E1J5POm-000NHN-00._pppp-mail-ru@f116.mail.ru>
In-Reply-To: <8e10486b0712200910v32ecbfa5h72fb0dc2b82a1009@mail.gmail.com>
References:  <8e10486b0712200910v32ecbfa5h72fb0dc2b82a1009@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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 by increasing kern.maxvnodes sysctl (don't forget to increase vm.kmem_size and vm.kmem_size_max accordingly). Do it until vfs.numvnodes would stabilize below the kern.maxvnodes value during peak load patterns.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1J5POm-000NHN-00._pppp-mail-ru>