[Bug 197789] (zfs+i386 No PAE) panic: kmem_malloc(36864): kmem_map too small: 431976448 total allocated

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 17 20:05:46 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197789

--- Comment #7 from Michael Moll <mmoll at freebsd.org> ---
It has been quite a while I used ZFS on i386, but from what I remember:
- Default kernels can allocate 512MB max. as kmem (ALL kmem, not only ARC!)
  o That means ARC should be limited to 256MB or so, to still have room
    for other kernel tasks and some safety buffer.
- Limiting the memory down to such values will make ZFS _very_ slow.
- In general ZFS was not really designed for 32 bit systems anyway.
- I used ZFS on i386 successfully with 4GB of RAM by setting:
  o options KVA_PAGES=512 in the custom kernel
  o vm.kmem_size and vm.kmem_size_max to 1536MB in loader.conf

IMHO, at the end of the day the only advise here can be to move on to amd64
or if that's not possible to use a custom kernel with increased KVA_PAGES.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list