ZFS committed to the FreeBSD base.

Kris Kennaway kris at obsecurity.org
Tue Apr 10 01:11:26 UTC 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20070410/22e068f4/attachment.pgp


More information about the freebsd-fs mailing list