From owner-freebsd-fs@FreeBSD.ORG Sat Apr 7 14:39:37 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6560616A400 for ; Sat, 7 Apr 2007 14:39:37 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from smtp-gw1.starman.ee (smtp-out5.starman.ee [85.253.0.7]) by mx1.freebsd.org (Postfix) with ESMTP id 25B7E13C487 for ; Sat, 7 Apr 2007 14:39:36 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from mx2.starman.ee (mx2.starman.ee [62.65.192.9]) by smtp-gw1.starman.ee (Postfix) with ESMTP id 7EA25A216FB for ; Sat, 7 Apr 2007 17:39:34 +0300 (EEST) Received: from [192.168.2.100] (pc212.host2.ida.starman.ee [62.65.241.212]) by mx2.starman.ee (Postfix) with ESMTP id 99A8132C419 for ; Sat, 7 Apr 2007 17:39:34 +0300 (EEST) From: Andrei Kolu To: freebsd-fs@freebsd.org Date: Sat, 7 Apr 2007 17:39:34 +0300 User-Agent: KMail/1.9.5 References: <20070406025700.GB98545@garage.freebsd.pl> <20070407131353.GE63916@garage.freebsd.pl> <4617A3A6.60804@kasimir.com> In-Reply-To: <4617A3A6.60804@kasimir.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704071739.34275.antik@bsd.ee> X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Subject: Re: ZFS committed to the FreeBSD base. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 14:39:37 -0000 On Saturday 07 April 2007 16:59, Florian C. Smeets wrote: > 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 :-) > Why we can't use virtual memory?