Re: ZFS committed to the FreeBSD base.

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Mon, 9 Apr 2007 21:11:25 -0400
On Mon, Apr 09, 2007 at 07:38:37PM -0500, Craig Boston wrote:
> On Mon, Apr 09, 2007 at 07:35:05PM -0500, Craig Boston wrote:
> > 512MB RAM.  So I've been testing in a VMware instance with 512MB.  My
> > vm.kmem_size is defaulting to 169758720.
> 
> Meh, wrong stat, I probably should have said that
> 
> vm.kmem_size_max: 335544320

Nah, you were right the first time :) Your system is defaulting to
160MB for the kmem_map, of which zfs will (by default) try to use up
to 3/4.  Naturally this doesn't leave much for the rest of the kernel
(40MB), so you'll easily run the kernel out of memory.

For now, you probably want to increase vm.kmem_size a bit to allow
some more room for zfs, and set vfs.zfs.arc_max and arc_min to
something more reasonable like 64*1024*1024+1 (the +1 is needed
because zfs currently requires "greater than 64MB" for the arc).

Kris

Received on Mon Apr 09 2007 - 23:11:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:08 UTC