Date: Wed, 3 Feb 2010 12:54:56 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Rolf Nielsen <listreader@lazlarlyricon.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: kmem_size / arc_max ratio Message-ID: <20100203185456.GG50360@dan.emsphone.com> In-Reply-To: <4B68EAFD.5070400@lazlarlyricon.com> References: <4B68EAFD.5070400@lazlarlyricon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 03), Rolf Nielsen said: > I recently installed more RAM in my computer; increased it from 4GB to > 8GB. Mainly to be able to use a larger arc for zfs. Now my question is, > how much memory does the kernel need apart from the arc? I currently have > kmem_size_max 512MB bigger than arc_max. I haven't run into any problems > so far. I use my computer as desktop only, running WindowMaker and > normally having xconsole, emiclock, firefox with 5+ tabs, thunderbird, > amsn, sunbird, thunar, ktorrent and upto 5 or 6 xterms. > > My loader.conf looks like this: > > vfs.root.mountfrom="zfs:sysroot" > vm.kmem_size_max=5G > vm.kmem_size=5G > vfs.zfs.arc_max=4608M > vm.pmap.pg_ps_enabled=1 > zfs_load="YES" > nvidia_load="YES" vm.kmem_size_max should default to something like 300GB now, so you can remove that line. vm.pmap.pg_ps_enabled defaults to 1 nowadays, too. I have an 8GB system and use these settings: vm.kmem_size=6G vfs.zfs.arc_max=5G -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100203185456.GG50360>