Date: Sat, 23 Jan 2010 08:34:59 -0600 From: Doug Poland <doug@polands.org> To: Artem Belevich <fbsdlist@src.cx> Cc: freebsd-fs@freebsd.org Subject: Re: Repeatable ZFS "kmem map too small" panic on 8.0-STABLE Message-ID: <4B5B0913.3050107@polands.org> In-Reply-To: <ed91d4a81001221833v57b69625j808ca14ec198d046@mail.gmail.com> References: <4B58976E.1020402@polands.org> <ed91d4a81001211421r4f7ba7a8n1c92bfc413e5feed@mail.gmail.com> <4B58D4D3.80009@egr.msu.edu> <20100122042843.GA8858@polands.org> <ed91d4a81001212209o3cf5955fw1eb0dd78703ad905@mail.gmail.com> <a8b9c9e35a14c4ada1c8f2602c91db63.squirrel@email.polands.org> <a4ab3938f95de65086a18607309178c4.squirrel@email.polands.org> <ed91d4a81001221211j2bc05b6bv22a51a8b2fcbcec1@mail.gmail.com> <1308c71eec426200d4c34b926bba8806.squirrel@email.polands.org> <ed91d4a81001221824u5c222e08l80395398c0a61c16@mail.gmail.com> <ed91d4a81001221833v57b69625j808ca14ec198d046@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-01-22 20:33, Artem Belevich wrote: > > > Ignore my previous email. Something else is probably at play here. If > I were right, then you should have ended up with vm.kmem_size=8G. > However, in your case it's 2G. Beats me why. > I apologize, when I captured the sysctls, I was running with different values in /boot/loader.conf than what we were discussing. While I was waiting for a response, I was experimenting with a recommendation to run kmem_size = 1/2 phy RAM and arc_max 1/2 of kmem_size. This is what I have now: # cat /boot/loader.conf vfs.root.mountfrom="zfs:bethesda" vfs.zfs.arc_max="1G" vm.kmem_size="20G" zfs_load="YES" # sysctl hw.physmem vm.kmem_size vm.kmem_size_max vfs.zfs.arc_max hw.physmem: 4102688768 vm.kmem_size: 3668041728 vm.kmem_size_max: 329853485875 vfs.zfs.arc_max: 1073741824 # unixbench fstime fsbuffer fsdisk panic: kmem_malloc(131072): kmem_map too small: 3593236480 total allocated -- Regards, Doug
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B5B0913.3050107>