From owner-freebsd-fs@FreeBSD.ORG Wed Apr 22 12:16:21 2009 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 5D0EF106567D for ; Wed, 22 Apr 2009 12:16:21 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id DE33A8FC2F for ; Wed, 22 Apr 2009 12:16:20 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LwbN8-0003aa-7p for freebsd-fs@freebsd.org; Wed, 22 Apr 2009 12:16:14 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Apr 2009 12:16:14 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Apr 2009 12:16:14 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Wed, 22 Apr 2009 14:16:06 +0200 Lines: 72 Message-ID: References: <49EE49D8.7000902@free.de> <20090422123020.42b756c1@ernst.jennejohn.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig07E2043828666B905F83E9AB" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090318) In-Reply-To: <20090422123020.42b756c1@ernst.jennejohn.org> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: FreeBSD 7.2-RC1 - ZFS related kernel panic "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: Wed, 22 Apr 2009 12:16:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig07E2043828666B905F83E9AB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Gary Jennejohn wrote: > On Wed, 22 Apr 2009 00:34:00 +0200 > Kai Gallasch wrote: >=20 > [snip a lot of stuff] >> In /usr/src/UPDATING I read: >> >> [..] >> >> 20090207: >> ZFS users on amd64 machines with 4GB or more of RAM should >> reevaluate their need for setting vm.kmem_size_max and >> vm.kmem_size manually. In fact, after recent changes to the >> kernel, the default value of vm.kmem_size is larger than the >> suggested manual setting in most ZFS/FreeBSD tuning guides. >> >> So I understood this as "vm.kmem_size is set unnecessary large by >> default. You should think about decreasing it to save some RAM" >> >> On my amd64 server the default values of kmem_size are >> >> vm.kmem_size_scale: 3 >> vm.kmem_size_max: 3865468109 >> vm.kmem_size_min: 0 >> vm.kmem_size: 1201446912 >> >> Can someone give me a hint how to debug this problem further, or how t= o >> find some reasonable values for setting vm.kmem_size_max and >> vm.kmem_size with 16G of RAM? >> >=20 > Hmm, I wonder whether this applies to 7.2-RC1. I don't know whether > the kernel changes have been committed to 7.2 or whether they were > already present when we started work on 7.2 because I haven't been > paying much attention. 7.2 was branched last Friday - quick browsing of commit messages doesn't find any relevant new development between Friday and now. > On my 8-current amd64 machine with only 4GB of RAM I see larger values > than you see with 16GB: >=20 > sysctl vm.kmem_size_max > vm.kmem_size_max: 4509713203 > sysctl vm.kmem_size > vm.kmem_size: 1335824384 Ok, but remember that ZFS in -CURRENT is very different from ZFS in -STAB= LE. --------------enig07E2043828666B905F83E9AB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJ7wqGldnAQVacBcgRAijhAKD3ET5uLbJ1UXaWHeohoWYa6V4WOgCgu2pS ecpjDMvuSi5Z47w2v15d34o= =2XQI -----END PGP SIGNATURE----- --------------enig07E2043828666B905F83E9AB--