From owner-freebsd-current@FreeBSD.ORG Sat Apr 7 13:14:19 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 E190E16A403; Sat, 7 Apr 2007 13:14:19 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 4EA7413C45D; Sat, 7 Apr 2007 13:14:19 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id A34AB487F5; Sat, 7 Apr 2007 15:14:16 +0200 (CEST) Received: from localhost (cvl74.internetdsl.tpnet.pl [83.19.93.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 9608A487F3; Sat, 7 Apr 2007 15:14:03 +0200 (CEST) Date: Sat, 7 Apr 2007 15:13:53 +0200 From: Pawel Jakub Dawidek To: ticso@cicely.de Message-ID: <20070407131353.GE63916@garage.freebsd.pl> References: <20070406025700.GB98545@garage.freebsd.pl> <20070407025644.GC8831@cicely12.cicely.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wTWi5aaYRw9ix9vO" Content-Disposition: inline In-Reply-To: <20070407025644.GC8831@cicely12.cicely.de> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL autolearn=no version=3.0.4 Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org 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: Sat, 07 Apr 2007 13:14:20 -0000 --wTWi5aaYRw9ix9vO Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 07, 2007 at 04:56:45AM +0200, Bernd Walter wrote: > On Fri, Apr 06, 2007 at 04:57:00AM +0200, Pawel Jakub Dawidek wrote: > > Hi. > >=20 > > I'm happy to inform that the ZFS file system is now part of the FreeBSD > > operating system. ZFS is available in the HEAD branch and will be > > available in FreeBSD 7.0-RELEASE as an experimental feature. >=20 > I got a kmem panic just by copying a recent ports.tgz (36M) onto a ZFS. > My sandbox just has 128MB RAM so kmem was set to ~40M. > After raising kmem to 80M it survived copying the file, but paniced > again while tar -xvzf the file into the same pool. > vfs.zfs.vdev.cache.size is unchanged at 10M. 128MB RAM of suggested minimum in ZFS requirements, but it may be not enough... Minimum of ARC is set to 1/8 of all memory or 64MB (whichever is more). Could you locate these lines in sys/contrib/opensolaris/uts/common/fs/zfs/arc.c file: /* set min cache to 1/32 of all memory, or 64MB, whichever is more */ arc_c_min =3D MAX(arc_c / 4, 64<<20); Change 64 to eg. 32, recompile and retest? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --wTWi5aaYRw9ix9vO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGF5kRForvXbEpPzQRApydAKDjoHlw/Of6g2l+Gk3ZW20E2kZ/8QCfWLTY +RnkqsCj8HSqGt356JEAHxA= =7zTq -----END PGP SIGNATURE----- --wTWi5aaYRw9ix9vO--