When will ZFS become stable?

Dan Nelson dnelson at allantgroup.com
Tue Jan 8 21:46:00 PST 2008


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


More information about the freebsd-current mailing list