Date: Tue, 15 Mar 2005 16:55:32 +0100 From: Borja Marcos <BORJAMAR@SARENET.ES> To: Marc Olzheim <marcolz@stack.nl> Cc: freebsd-performance@freebsd.org Subject: Re: vfs.ufs.dirhash_maxmem is a bit low Message-ID: <1b2fb21a30bde2f07bb8a29f8e389392@SARENET.ES> In-Reply-To: <20050315154720.GA69524@stack.nl> References: <20050315153209.GA8863@nipsi.home.net> <20050315154720.GA69524@stack.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On 15 Mar 2005, at 16:47, Marc Olzheim wrote: > On Tue, Mar 15, 2005 at 04:32:09PM +0100, Dennis Berger wrote: >> My request can we add white kernel message for the behavier of >> running out of hashmemory? I'd say stuff it in tuning(7)... My rule of thumb is: In case you have a machine with lots of huge directories (which is _not_ the same as lots of files), in case you see that vfs.ufs.dirhash_mem is very similar to vfs.ufs.dirhash_maxmem, increase vfs.ufs.dirhash_maxmem until you cannot fill it. It's a radical approach, but it gave me very good results in an imap server with lots of maildir folders. Of course, be sure not to run out of memory. Run vmstat and check the "sr" column. Borja.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1b2fb21a30bde2f07bb8a29f8e389392>