From owner-freebsd-current@FreeBSD.ORG Tue May 22 09:01:24 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 67C3716A41F; Tue, 22 May 2007 09:01:24 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (www.unsane.co.uk [85.233.185.162]) by mx1.freebsd.org (Postfix) with ESMTP id BF6CE13C480; Tue, 22 May 2007 09:01:23 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id l4M916U7039252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 May 2007 10:01:08 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <4652B15D.5060505@unsane.co.uk> Date: Tue, 22 May 2007 10:01:17 +0100 From: Vince User-Agent: Thunderbird 2.0.0.0 (X11/20070516) MIME-Version: 1.0 To: Darren Reed References: <20070407165759.GG8831@cicely12.cicely.de> <20070407180319.GH8831@cicely12.cicely.de> <20070407191517.GN63916@garage.freebsd.pl> <20070407212413.GK8831@cicely12.cicely.de> <20070410003505.GA8189@nowhere> <20070410003837.GB8189@nowhere> <20070410011125.GB38535@xor.obsecurity.org> <20070410013034.GC8189@nowhere> <20070410014233.GD8189@nowhere> <4651BD6F.5050301@unsane.co.uk> <20070522083112.GA5136@hub.freebsd.org> In-Reply-To: <20070522083112.GA5136@hub.freebsd.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, Craig Boston , freebsd-current@freebsd.org, Pawel Jakub Dawidek , Kris Kennaway Subject: Re: ZFS committed to the FreeBSD base. 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: Tue, 22 May 2007 09:01:24 -0000 Darren Reed wrote: > On Mon, May 21, 2007 at 04:40:31PM +0100, Vince wrote: > ... >> I dont suppose that there are any other tunables people could suggest? I >> got a shiny new(well old but new to me) dual opteron board and dual 250 >> sata drives and though i'd try putting it in as my home server with >> everything but / on zfs since i've had my /usr/ports on my laptop as >> compressed zfs since very shortly after it was commited. >> After a few kmem_map: too small" panics I re-read this thread and put >> vm.kmem_size_max and vm.kmem_size up to 512M and vfs.zfs.arc_min >> vfs.zfs.arc_max down to 65 megs. This did get me past "portsnap extract" >> but a make buildworld still got me the same panic. vmstat -z showed a >> steady growth. This is with a generic -CURRENT from friday. I'm happy to >> provide any useful information once I get home and reboot it. > > Are you running the opterons with a 32 or 64 bit kernel? > > I set vfs.zfs.arc_max to somewhere between 75% and 80% of vm.kmem_size_max. > I'm running i386 more because I had a i386 CD lying around to install from and wont be using more than 3Gigs of RAM, than through informed choice. It looks like setting kern.maxvnodes=50000 has solved it for now. (after almost a day of uptime including building world and adding the 2nd disk to the zfs mirror) [root@crab ~]# vmstat -m | grep sol solaris 188066 139903K - 164899933 16,32,64,128,256,512,1024,2048,4096 I may reinstall at a later date as this is still very much a box to play with, but I gather there is no great gain from going 64 bit other than not having to play with PAE if you've got lots or RAM. Thanks to everyone who made suggestions, Vince > Darren > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"