From owner-freebsd-stable@FreeBSD.ORG Tue Sep 30 10:46:06 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B890A1065688 for ; Tue, 30 Sep 2008 10:46:06 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA08.emeryville.ca.mail.comcast.net (qmta08.emeryville.ca.mail.comcast.net [76.96.30.80]) by mx1.freebsd.org (Postfix) with ESMTP id 9E7CB8FC0A for ; Tue, 30 Sep 2008 10:46:06 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by QMTA08.emeryville.ca.mail.comcast.net with comcast id Ly5Q1a00C17UAYkA8ym6XE; Tue, 30 Sep 2008 10:46:06 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA13.emeryville.ca.mail.comcast.net with comcast id Lym51a0064v8bD78Zym5Ut; Tue, 30 Sep 2008 10:46:06 +0000 X-Authority-Analysis: v=1.0 c=1 a=N8se_1cBi2wA:10 a=j3-Kh4PWcnIA:10 a=QycZ5dHgAAAA:8 a=Zj-cUZlRSTm4WY7tLLUA:9 a=vRaO9gA2lj36Lagy2GwA:7 a=zG9y2jBFfNYj2FggkgXM7Qbg6x8A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 20079C9419; Tue, 30 Sep 2008 03:46:05 -0700 (PDT) Date: Tue, 30 Sep 2008 03:46:05 -0700 From: Jeremy Chadwick To: Holger Kipp Message-ID: <20080930104605.GA44675@icarus.home.lan> References: <20080930100848.GA9193@intserv.int1.b.intern> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080930100848.GA9193@intserv.int1.b.intern> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: stable@freebsd.org Subject: Re: recommended setup for amd64 7-STABLE with ZFS, Samba 3.2 and possibly ACLs? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 10:46:06 -0000 On Tue, Sep 30, 2008 at 12:08:48PM +0200, Holger Kipp wrote: > could anyone give recommendations (or share experience) regarding > using ZFS: > > - FreeBSD 7-Stable (amd64 with 8GB RAM) > + special tuning necessary (apart from increasing kernel memory > to 1 or more GB for ZFS) Applicable loader.conf variables which should suffice: vm.kmem_size="1536M" vm.kmem_size_max="1536M" vfs.zfs.arc_min="16M" vfs.zfs.arc_max="64M" vfs.zfs.prefetch_disable="1" You can increase arc_max gradually, and performance should increase as you do so. Just be aware that too large of a value could result in kmem exhaustion on RELENG_7. There is a 2GB limit on kmem on RELENG_7 (yes, both i386 AND amd64), so do not try to increase vm.kmem_size or kmem_size_max above what I've shown there (others may have chosen something slightly higher, but picking 2048M will cause the system not to boot). If the limit is a problem, consider running CURRENT which increases this to 512GB. The prefetch setting should improve overall system performance during heavy ZFS load; many of us (including core members) have found this to be true. > - email (imap) I've had good experience with dovecot; I tend to stay away from Cyrus products (disgusting code with a history of security issues), and Courier (no interest). -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |