Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Apr 2007 23:36:10 -0500
From:      Craig Boston <craig@xfoil.gank.org>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: ZFS committed to the FreeBSD base.
Message-ID:  <20070410043610.GF8189@nowhere>
In-Reply-To: <20070410023857.GZ76673@garage.freebsd.pl>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070410043610.GF8189>