From owner-freebsd-fs@FreeBSD.ORG Sat Sep 4 00:25:47 2010 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 22CBF1065694 for ; Sat, 4 Sep 2010 00:25:47 +0000 (UTC) (envelope-from randy@psg.com) Received: from ran.psg.com (ran.psg.com [IPv6:2001:418:1::36]) by mx1.freebsd.org (Postfix) with ESMTP id 07ACD8FC08 for ; Sat, 4 Sep 2010 00:25:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=rmac.psg.com.psg.com) by ran.psg.com with esmtp (Exim 4.72 (FreeBSD)) (envelope-from ) id 1OrgZl-000LvM-PK; Sat, 04 Sep 2010 00:25:45 +0000 Date: Sat, 04 Sep 2010 09:25:44 +0900 Message-ID: From: Randy Bush To: Marco van Tol In-Reply-To: <20100903130646.GD19666@tolstoy.tols.org> References: <20100903130646.GD19666@tolstoy.tols.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/22.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-fs Subject: Re: just another sad story in zfs tuning city 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, 04 Sep 2010 00:25:47 -0000 >> i am tempted to just boot without the zfs memory hacks in loader >> conf. any warnings on doing so? any other clues also gladly >> accepted. > > Sticking a wet finger in the air, and assuming /dev/mirror/boota holds a > UFS filesystem that's just used to boot from I'd say give kmem_size 1.5x > physical, arc_max 1.0x physical, and arc_min 0.5x physical memory to > have it compete with the UFS page cache. After that applications that > run can't use more then (0.5x physical memory plus swap space). thanks. it ain't crashed yet. running some large builds to see how it performs. but what about just taking the defaults, no parms? one would hope that this would be successful, as that is the simple path. randy