From owner-freebsd-stable@FreeBSD.ORG Mon Apr 21 20:19:53 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CE1A106564A for ; Mon, 21 Apr 2008 20:19:53 +0000 (UTC) (envelope-from stevenschlansker@berkeley.edu) Received: from smtp-out1.berkeley.edu (smtp-out1.Berkeley.EDU [128.32.61.106]) by mx1.freebsd.org (Postfix) with ESMTP id F28FE8FC17 for ; Mon, 21 Apr 2008 20:19:52 +0000 (UTC) (envelope-from stevenschlansker@berkeley.edu) Received: from asuc-wlan-net-12.airbears.berkeley.edu ([136.152.138.151]) by fe1.calmail with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (auth plain:stevenschlansker@berkeley.edu) (envelope-from ) id 1Jo2FR-000286-4I for freebsd-stable@freebsd.org; Mon, 21 Apr 2008 13:04:25 -0700 Message-ID: <480CF344.8020906@berkeley.edu> Date: Mon, 21 Apr 2008 13:04:20 -0700 From: Steven Schlansker User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <396418019.20080409104542@serebryakov.spb.ru> <47FCBAFB.9060508@tzim.net> <4956a5e50804191912g52833c35q868827dc2b54e5ae@mail.gmail.com> <480AE7AA.5090204@tzim.net> <480B9373.50603@quip.cz> In-Reply-To: <480B9373.50603@quip.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [SO]HO Software RAID5 server: which implementation should I choice? 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: Mon, 21 Apr 2008 20:19:53 -0000 Miroslav Lachman wrote: > > Do you have any stability issues after tuning? What settings you are > using? > I am testing ZFS for a short time with these values: > vm.kmem_size="1024M" > vm.kmem_size_max="1024M" > vfs.zfs.prefetch_disable="1" > kern.maxvnodes="400000" > vfs.zfs.zil_disable="1" > > (on Sun Fire X2100 with 4GB of RAM and FreeBSD 7.0-RELEASE amd64) > > It seems to be stable. > > Miroslav Lachman > _________________________ I'm also running ZFS and wanted to share my experiences. It doesn't cope well with low-memory environments, but I've successfully run with 2GB ram and 3TB disk with no problems on both i386 and amd64. amd64 needs a little bit of tuning - increasing kmem and whatnot (well documented, not very difficult/stressful) i386 needs a bit more tuning and a kernel recompile (increase KVA_PAGES) but once you get it working it runs fine. I've heard dire warnings that disabling the zil is a terribly bad idea if you're running anything that tries to ensure data file consistency (like a database and nfs or something) To sum up - tune it and it will work wonders for you. Don't try to run it with minimal RAM though - I've had good luck with 2GB+ (and half or more of that allocated to kernel memory)