From owner-freebsd-current@FreeBSD.ORG Sat Apr 7 14:26:16 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 C635516A408 for ; Sat, 7 Apr 2007 14:26:16 +0000 (UTC) (envelope-from flo@kasimir.com) Received: from config.solomo.org (kasimir.com [85.214.51.166]) by mx1.freebsd.org (Postfix) with ESMTP id 1A97813C468 for ; Sat, 7 Apr 2007 14:26:15 +0000 (UTC) (envelope-from flo@kasimir.com) Received: (qmail 14308 invoked from network); 7 Apr 2007 15:59:35 +0200 Received: from i53879c69.versanet.de (HELO nibbler-osx.local) (83.135.156.105) by pflegeteam-froendenberg.de with SMTP; 7 Apr 2007 15:59:34 +0200 Message-ID: <4617A3A6.60804@kasimir.com> Date: Sat, 07 Apr 2007 15:59:02 +0200 From: "Florian C. Smeets" User-Agent: Thunderbird 2.0.0.0pre (Macintosh/20070407) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20070406025700.GB98545@garage.freebsd.pl> <20070407025644.GC8831@cicely12.cicely.de> <20070407131353.GE63916@garage.freebsd.pl> In-Reply-To: <20070407131353.GE63916@garage.freebsd.pl> X-Enigmail-Version: 0.94.2.0 X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org, ticso@cicely.de 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 14:26:16 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Pawel Jakub Dawidek wrote: > On Sat, Apr 07, 2007 at 04:56:45AM +0200, Bernd Walter wrote: >> 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 = MAX(arc_c / 4, 64<<20); > > Change 64 to eg. 32, recompile and retest? > Hi Pawel, i had the same problems like Bernd while trying to copy the src tree to a ZFS volume. I have 384MB RAM but i got the same "kmem_map: too small" panic. I compiled my kernel like you proposed and now i am able to copy anything to the volume without panic :-) Regards, Florian P.S. Thanks for all the work on ZFS! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin) iD8DBQFGF6OmA+1tjUZ1YScRAnSMAJ4y27u0nGu9L4RgDBclxKh5q6Z/RgCgjbi7 1Ri2CZfH8YKqj8Bdmx7bedM= =PUsh -----END PGP SIGNATURE-----