Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2007 12:23:30 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        Scott Long <scottl@samsco.org>
Cc:        stable@freebsd.org
Subject:   Re: SMP on FreeBSD 6.x and 7.0: Worth doing?
Message-ID:  <200712241723.lBOHNLtt049769@lava.sentex.ca>
In-Reply-To: <476FE868.8080704@samsco.org>
References:  <200712220531.WAA09277@lariat.net> <476FBED0.2080400@samsco.org> <200712241549.IAA19650@lariat.net> <476FDA10.4060107@samsco.org> <200712241653.JAA20845@lariat.net> <476FE868.8080704@samsco.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 12:12 PM 12/24/2007, Scott Long wrote:
>For others who might want help with this, tweaking
>vfs.ufs.dirhash_maxmem is what is needed.  A bit of a balancing act is
>needed if you're on i386 since you'll risk exhausting KVA unless you
>also tweak KVA_PAGES.


Hi Scott,
         How does one know if the vfs.ufs.dirhash_maxmem is set too 
high and are exhausting KVA ? We set it quite high on our pop3/imap 
servers since Maildir can contain many small files.

eg

% sysctl -a vfs.ufs | grep -i dir
vfs.ufs.dirhash_minsize: 2560
vfs.ufs.dirhash_maxmem: 99097152
vfs.ufs.dirhash_mem: 59259609

         ---Mike


>Scott
>_______________________________________________
>freebsd-stable@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712241723.lBOHNLtt049769>