From owner-freebsd-fs@FreeBSD.ORG Mon Oct 8 13:44:18 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83D0516A418; Mon, 8 Oct 2007 13:44:18 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id E7DE213C467; Mon, 8 Oct 2007 13:44:17 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id l98DiEUh016370; Mon, 8 Oct 2007 15:44:15 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id l98Di8fZ077782 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Oct 2007 15:44:08 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id l98Di882006881; Mon, 8 Oct 2007 15:44:08 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id l98Di8rY006880; Mon, 8 Oct 2007 15:44:08 +0200 (CEST) (envelope-from ticso) Date: Mon, 8 Oct 2007 15:44:07 +0200 From: Bernd Walter To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= Message-ID: <20071008134407.GB67153@cicely12.cicely.de> References: <20071005000046.GC92272@garage.freebsd.pl> <20071008121523.GM2327@garage.freebsd.pl> <86bqb97mym.fsf@ds4.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <86bqb97mym.fsf@ds4.des.no> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on cicely12.cicely.de Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Pawel Jakub Dawidek Subject: Re: ZFS kmem_map too small. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2007 13:44:18 -0000 On Mon, Oct 08, 2007 at 03:30:41PM +0200, Dag-Erling Smørgrav wrote: > Pawel Jakub Dawidek writes: > > I'm not sure if it's not too late to ask re@ about increasing the > > default kmem size at least on amd64. ~300MB we have there is silly > > small. > > Speaking of which, I tried setting vm.kmem_size to 2G on a C2D system > with 4 GB RAM, but it simply panics: > > OK set vm.kmem_size=2G This sounds like there's a signed 32 bit limit somewhere. Wild guess: Maybe it is a loader parsing limitation and not one of the kernel. > OK boot -s > GDB: no debug ports present > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2007 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 7.0-CURRENT #8: Tue Sep 25 13:31:41 CEST 2007 > des@ds4.des.no:/usr/obj/usr/src/sys/ds4 > kmem_suballoc: bad status return of 3. > panic: kmem_suballoc > cpuid = 0 > KDB: enter: panic > [thread pid 0 tid 0 ] > Stopped at kdb_enter+0x31: popq %rbp > db> where > Tracing pid 0 tid 0 td 0xffffffff805af4a0 > kdb_enter() at kdb_enter+0x31 > panic() at panic+0x166 > kmem_suballoc() at kmem_suballoc+0xc3 > kmeminit() at kmeminit+0x16e > mi_startup() at mi_startup+0x59 > btext() at btext+0x2c > db> reset > > with vm.kmem_size unset and vm.kmem_size_max=2G, it boots fine: What is the vakue for vm.kmem_size_max after booting? Maybe a errously parsed value on max isn't that critical. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de