Re: ZFS on AMD64 - any recent crashes?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Travis Mikalson
Date: Sunday, January 6, 2008 - 6:01 pm

Ivan Voras wrote:

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"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ZFS on AMD64 - any recent crashes?, Ivan Voras, (Sun Jan 6, 11:25 am)
Re: ZFS on AMD64 - any recent crashes?, Peter Schuller, (Sun Jan 6, 1:30 pm)
Re: ZFS on AMD64 - any recent crashes?, Ivan Voras, (Sun Jan 6, 2:00 pm)
Re: ZFS on AMD64 - any recent crashes?, Morten Strårup, (Sun Jan 6, 2:33 pm)
Re: ZFS on AMD64 - any recent crashes?, Ender, (Sun Jan 6, 2:46 pm)
Re: ZFS on AMD64 - any recent crashes?, Gelsema, P (Patrick) ..., (Sun Jan 6, 3:10 pm)
Re: ZFS on AMD64 - any recent crashes?, Hugo Silva, (Sun Jan 6, 3:25 pm)
Re: ZFS on AMD64 - any recent crashes?, Hugo Silva, (Sun Jan 6, 3:49 pm)
Re: ZFS on AMD64 - any recent crashes?, Gelsema, P (Patrick) ..., (Sun Jan 6, 3:55 pm)
Re: ZFS on AMD64 - any recent crashes?, Travis Mikalson, (Sun Jan 6, 6:01 pm)
Re: ZFS on AMD64 - any recent crashes?, Thomas Vogt, (Sun Jan 6, 7:38 pm)