I can tell you what works for us. Slightly verbose and repeating things
most of us already know, for the archives.
Do not put your swap on ZFS.
On an amd64 system with 2GB of RAM, we put the following in
/boot/loader.conf:
vfs.zfs.arc_max="600M"
vm.kmem_size_max="1G"
vm.kmem_size="1G"
We seem to pretty easily panic our RELENG_7 ZFS systems if we do not set
arc_max to roughly 65% or less of kmem_size_max. I do 60% to be more
conservative. YMMV, but you get the idea.
To panic our systems quickly when the tuning settings are bad (in other
words, to trigger a kmem_map_too_small panic) we can use iozone. It
usually only takes a minute or two.
--
TerraNovaNet Internet Services - Key Largo, FL
Voice: (305)453-4011 x101 Fax: (305)451-5991
http://www.terranova.net/
----------------------------------------------
Life's not fair, but the root password helps.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"