From owner-freebsd-fs@FreeBSD.ORG Tue Oct 4 04:22:01 2011 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 ADF261065672 for ; Tue, 4 Oct 2011 04:22:01 +0000 (UTC) (envelope-from ari@ish.com.au) Received: from fish.ish.com.au (eth5921.nsw.adsl.internode.on.net [59.167.240.32]) by mx1.freebsd.org (Postfix) with ESMTP id 6FE8B8FC13 for ; Tue, 4 Oct 2011 04:22:01 +0000 (UTC) Received: from ip-136.ish.com.au ([203.29.62.136]:62217) by fish.ish.com.au with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1RAwL5-0000tW-12; Tue, 04 Oct 2011 15:10:44 +1100 X-CTCH-RefID: str=0001.0A150203.4E8A8744.000A:SCFSTAT15613948, ss=1, re=-4.000, fgs=0 Message-ID: <4E8A8740.100@ish.com.au> Date: Tue, 04 Oct 2011 15:10:40 +1100 From: Aristedes Maniatis User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:7.0) Gecko/20110916 Thunderbird/7.0 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: vm.kmem_size_scale recommendation for ZFS 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: Tue, 04 Oct 2011 04:22:01 -0000 Having just suffered from a FreeBSD 8.2 machine hit with the "kmem_map too small" error [1], what is the current recommendation for a machine running RELEASE-8.2? A. vm.kmem_size_scale=1 (this is the new default in 8-STABLE but 8.2-RELEASE had it set to 3) B. vm.kmem_size_scale=0.66 (this is aligned with Pawel's recommendation of setting vm.kmem_size to 150% of your RAM. [2] C. Leaving vm.kmem_size_scale alone and manually setting vm.kmem_size directly as Pawel is doing Thanks Ari Maniatis [1] http://freebsd.1045724.n5.nabble.com/kmem-map-too-small-with-ZFS-and-8-2-RELEASE-td4029979.html [2] http://blogs.freebsdish.org/pjd/2010/08/06/from-sysinstall-to-zfs-only-configuration -- --------------------------> Aristedes Maniatis ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001 fax +61 2 9550 4001 GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A