From owner-freebsd-current@FreeBSD.ORG Tue Apr 10 04:36:12 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 8462216A402; Tue, 10 Apr 2007 04:36:12 +0000 (UTC) (envelope-from craig@xfoil.gank.org) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.freebsd.org (Postfix) with ESMTP id 6A68313C45B; Tue, 10 Apr 2007 04:36:12 +0000 (UTC) (envelope-from craig@xfoil.gank.org) Received: by ion.gank.org (Postfix, from userid 1001) id 36DAD11555; Mon, 9 Apr 2007 23:36:12 -0500 (CDT) Date: Mon, 9 Apr 2007 23:36:10 -0500 From: Craig Boston To: Pawel Jakub Dawidek Message-ID: <20070410043610.GF8189@nowhere> Mail-Followup-To: Craig Boston , Pawel Jakub Dawidek , Kris Kennaway , freebsd-current@FreeBSD.org, freebsd-fs@FreeBSD.org 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> <20070410023857.GZ76673@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070410023857.GZ76673@garage.freebsd.pl> User-Agent: Mutt/1.4.2.2i Cc: freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, 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, 10 Apr 2007 04:36:12 -0000 On Tue, Apr 10, 2007 at 04:38:57AM +0200, Pawel Jakub Dawidek wrote: > ARC and ZIO are the biggest memory consumers and they are somehow > connected. I just committed changes that should stabilize ZFS in this > regard. Could you try them? Preliminary results with the latest -current kernel and vm.kmem_size=268435456, disabling all my other loader.conf entries and letting it autosize: kstat.zfs.misc.arcstats.p: 15800320 kstat.zfs.misc.arcstats.c: 16777216 kstat.zfs.misc.arcstats.c_min: 16777216 kstat.zfs.misc.arcstats.c_max: 134217728 kstat.zfs.misc.arcstats.size: 18003456 solaris 43705 91788K - 4522887 16,32,64,128,256,512,1024,2048,4096 So it looks like it autosized the ARC to a 16M-128M range. I'm currently doing a buildworld and am going to try untarring the ports tree. The ARC size is tending to hover around 16-20M, probably due to memory pressure. The "solaris" group appears to be taking up about 16M less memory than it did before, which is consistent with the ARC being 16M smaller (I had changed the minimum to 32M before reverting to HEAD). I may poke around in ZIO but judging from the complexity of the code I don't have much of a chance of really understanding it anytime soon. In my defense, the machine I was planning to use this on isn't _that_ old. It's a 2Ghz P4, which should be "okay" as far as checksum calculations go. It just has a braindead motherboard that refuses to accept more than 512MB of RAM. Craig