Re: When will ZFS become stable?

From: Dan Nelson <dnelson_at_allantgroup.com>
Date: Tue, 8 Jan 2008 23:45:57 -0600
In the last episode (Jan 09), Ivan Voras said:
> On 08/01/2008, Dag-Erling Smorgrav <des_at_des.no> wrote:
> > Actually, it fails to mention the most important bit:
> > vfs.zfs.arc_max, which allows you to restrict the amount of memory
> > used by ZFS to something comfortably smaller than vm.kmem_size.
> 
> Pawel, is it recommended?
> 
> If it is, I'll add it to the page.

With the vm_kern.c.2.patch, it doesn't seem to be an issue, at least
for me.  "c" always stays far away from "c_max":

kstat.zfs.misc.arcstats.p: 218885440
kstat.zfs.misc.arcstats.c: 342346436
kstat.zfs.misc.arcstats.c_min: 20971520
kstat.zfs.misc.arcstats.c_max: 503316480
kstat.zfs.misc.arcstats.size: 342342144
vm.kmem_size: 671088640
hw.physmem: 1064771584
vm.kmem_map_panics_avoided: 171

The last sysctl was added by me to track how often the patch saved my
system from a panic :)  I suppose lowering arc_max would reduce the
number of times the routine was called, though.

-- 
	Dan Nelson
	dnelson_at_allantgroup.com
Received on Wed Jan 09 2008 - 04:46:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:25 UTC