Should we simply disallow ZFS on FreeBSD/i386?

David Taylor davidt at
Mon Jan 7 23:56:21 PST 2008

On Sun, 06 Jan 2008, Adam McDougall wrote:
> The amount of kmem required for a particular workload on any one machine can vary 
> alot.  Believe it or not, it is one of my AMD64 systems that I had to increase kmem 
> to 1.6G to prevent kmem panics (it does some heavy nightly rsyncs); versus just 
> having kmem set to 1G on a i386 system that constantly serves out files to the 
> internet with various rsyncs running through the day. 

Note that you're probably running into an integer overflow in arc.c
if vm.kmem_size is set to 1GB or higher on i386.  As a result 
kstat.zfs.misc.arcstats.size won't grow above

I posted to freebsd-fs about it, but haven't heard anything from pjd, yet. 

Sadly, after fixing that problem I started encountering the kmem_map
too small panics.

David Taylor

More information about the freebsd-current mailing list