Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 May 2015 20:05:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-fs@FreeBSD.org
Subject:   [Bug 197789] (zfs+i386 No PAE) panic: kmem_malloc(36864): kmem_map too small: 431976448 total allocated
Message-ID:  <bug-197789-3630-2TvzTUAP68@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197789-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197789-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197789

--- Comment #7 from Michael Moll <mmoll@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197789-3630-2TvzTUAP68>