SMP on FreeBSD 6.x and 7.0: Worth doing?
Mike Tancsa
mike at sentex.net
Mon Dec 24 09:23:23 PST 2007
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 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
More information about the freebsd-stable
mailing list