From owner-freebsd-fs@FreeBSD.ORG Mon Oct 8 15:29:02 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 6CEFF16A41A; Mon, 8 Oct 2007 15:29:02 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 22C0713C448; Mon, 8 Oct 2007 15:29:02 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 857F820BF; Mon, 8 Oct 2007 17:28:52 +0200 (CEST) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.0/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 0182420BA; Mon, 8 Oct 2007 17:28:51 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id C181F8442C; Mon, 8 Oct 2007 17:28:51 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: ticso@cicely.de References: <20071005000046.GC92272@garage.freebsd.pl> <20071008121523.GM2327@garage.freebsd.pl> <86bqb97mym.fsf@ds4.des.no> <20071008134407.GB67153@cicely12.cicely.de> <864ph17jmx.fsf@ds4.des.no> Date: Mon, 08 Oct 2007 17:28:51 +0200 In-Reply-To: <864ph17jmx.fsf@ds4.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8rg?= =?utf-8?Q?rav=22's?= message of "Mon\, 08 Oct 2007 16\:42\:30 +0200") Message-ID: <86ve9hr5fw.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2007 15:29:02 -0000 Dag-Erling Sm=C3=B8rgrav writes: > Bernd Walter writes: > > On Mon, Oct 08, 2007 at 03:30:41PM +0200, Dag-Erling Sm=C3=B8rgrav wrot= e: > > > Speaking of which, I tried setting vm.kmem_size to 2G on a C2D system > > > with 4 GB RAM, but it simply panics: > > >=20 > > > OK set vm.kmem_size=3D2G > > This sounds like there's a signed 32 bit limit somewhere. > Yes, this is really stupid - vm.kmem_size is an int. Thanks for setting > me on the right track. Actually, somebody pointed out to me that due to the memory model used, amd64 can only have 2 GB KVA, and that includes other things besides kmem, so even with the tunable bug fixed, the best I can hope for is probably 1.5 GB. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no