From owner-freebsd-current@FreeBSD.ORG Wed Nov 19 09:03:08 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5349A1065677 for ; Wed, 19 Nov 2008 09:03:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id 35F378FC08 for ; Wed, 19 Nov 2008 09:03:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id gx1Y1a0090lTkoCA6x38Ut; Wed, 19 Nov 2008 09:03:08 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA04.emeryville.ca.mail.comcast.net with comcast id gx371a0032P6wsM8Qx37fg; Wed, 19 Nov 2008 09:03:07 +0000 X-Authority-Analysis: v=1.0 c=1 a=UoFpbzuMWasA:10 a=6I5d2MoRAAAA:8 a=VCWGMLH5AAAA:8 a=QycZ5dHgAAAA:8 a=qh7XOIbw7Ni0UhPFmAkA:9 a=0Mxh1sGAf6u8Xbe0_bAA:7 a=h07Q2xGec6516Wll__uKOyAoEYsA:4 a=EoioJ0NPDVgA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 44F5533C36; Wed, 19 Nov 2008 01:03:07 -0800 (PST) Date: Wed, 19 Nov 2008 01:03:07 -0800 From: Jeremy Chadwick To: Nikolay Denev Message-ID: <20081119090307.GA81236@icarus.home.lan> References: <20081117205526.GC1733@garage.freebsd.pl> <8ECD400F-BFE3-4E31-94F0-39AF5F44FDAC@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8ECD400F-BFE3-4E31-94F0-39AF5F44FDAC@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-current@freebsd.org Subject: Re: HEADS UP: New ZFS in the tree. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2008 09:03:08 -0000 On Wed, Nov 19, 2008 at 10:37:32AM +0200, Nikolay Denev wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 17 Nov, 2008, at 22:55 , Pawel Jakub Dawidek wrote: > >> Hi. >> >> So ZFS was updated from version 6 to 13. Be very careful when updating >> your system if you use ZFS. The number of changes is huge and my >> regression tests and manual tests I did only cover part of the entire >> functionality. >> >> More info here: >> >> http://svn.freebsd.org/viewvc/base?view=revision&revision=185029 >> >> Enjoy. >> >> -- Pawel Jakub Dawidek http://www.wheel.pl >> pjd@FreeBSD.org http://www.FreeBSD.org >> FreeBSD committer Am I Evil? Yes, I Am! > > Hi Pawel, > > Thanks for you excellent work on ZFS! > > I want to report that I got again a kmem_map_too_small panic on recent - > - -current with the new ZFS version. > I left the machine overnight with an endless loop running bonnie++ on a > raidz2 zfs pool with five disks, > and I found it dead this morning. > Is this still supposed to happen? > > I had only these two lines in my loader.conf : > > vm.kmem_size="1536M" > vm.kmem_size_max="1536M" > > and i have just added vfs.zfs.arc_max="768M" and will > run the torture test again. (the default value for arc_max was > 1006632960) The ARC was set to allocate up to 1006M of the 1536M, which probably caused kmem exhaustion. The ARC value you picked may still be too large, but it will require continual testing on your part. But see below first. > Btw, the machine is amd64 with four gigabytes of RAM, and I have > upgraded the pool to version 13. Since this is CURRENT, you should be able to increase the kmem_size and kmem_size_max entries to something larger than 1536M, especially since the box has 4GB of RAM. (You shouldn't do this on RELENG_7). You might also consider disabling prefetch; there are reports of peoples' boxes locking up hard (requiring a hard reset) when prefetch is enabled. Others (like myself) just see "better overall system responsiveness" when prefetch is disabled. -- | 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 |