From owner-freebsd-current@FreeBSD.ORG Tue Apr 10 01:11:26 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE6C016A405; Tue, 10 Apr 2007 01:11:26 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id B24BC13C459; Tue, 10 Apr 2007 01:11:26 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 75C591A4D87; Mon, 9 Apr 2007 18:11:31 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id CF98851B82; Mon, 9 Apr 2007 21:11:25 -0400 (EDT) Date: Mon, 9 Apr 2007 21:11:25 -0400 From: Kris Kennaway To: Craig Boston , freebsd-current@FreeBSD.org, Pawel Jakub Dawidek , freebsd-fs@FreeBSD.org Message-ID: <20070410011125.GB38535@xor.obsecurity.org> References: <20070406025700.GB98545@garage.freebsd.pl> <20070407025644.GC8831@cicely12.cicely.de> <20070407131353.GE63916@garage.freebsd.pl> <4617A3A6.60804@kasimir.com> <20070407165759.GG8831@cicely12.cicely.de> <20070407180319.GH8831@cicely12.cicely.de> <20070407191517.GN63916@garage.freebsd.pl> <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="A6N2fC+uXW/VQSAv" Content-Disposition: inline In-Reply-To: <20070410003837.GB8189@nowhere> User-Agent: Mutt/1.4.2.2i Cc: Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2007 01:11:26 -0000 --A6N2fC+uXW/VQSAv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > Meh, wrong stat, I probably should have said that >=20 > 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 --A6N2fC+uXW/VQSAv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGGuQ9Wry0BWjoQKURAugnAKDkyF6Tyh1x9toi9iyJNnITpQ7alACg2h74 l3NTAnIcISQTYHauSTtWo9c= =Jp9h -----END PGP SIGNATURE----- --A6N2fC+uXW/VQSAv--