Glen Barber wrote:> > ZFS on i386 requires KSTACK_PAGES=4 in the kernel configuration to work > properly, as noted in the 10.1-RELEASE errata (and release notes, if > I remember correctly). > > We cannot set KSTACK_PAGES=4 in GENERIC by default, as it is too > disruptive.Why?> If you are using ZFS on i386, you *must* build your own > kernel for this. It is otherwise unsupported by default. >Why is zfs on i386 so hard? Why is it even in the GENERIC kernel if it's unsupported? -- Michelle Sullivan http://www.mhix.org/
On Fri, Jul 24, 2015 at 02:19:20AM +0200, Michelle Sullivan wrote:> Glen Barber wrote: > > > > ZFS on i386 requires KSTACK_PAGES=4 in the kernel configuration to work > > properly, as noted in the 10.1-RELEASE errata (and release notes, if > > I remember correctly). > > > > We cannot set KSTACK_PAGES=4 in GENERIC by default, as it is too > > disruptive. > > Why? >Because it takes resources away from userland threads.> > If you are using ZFS on i386, you *must* build your own > > kernel for this. It is otherwise unsupported by default. > > > Why is zfs on i386 so hard? Why is it even in the GENERIC kernel if > it's unsupported? >It is not in GENERIC by default. You have to specifically kldload(8) zfs.ko. Glen -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20150724/2064f0b8/attachment.bin>
On Fri, Jul 24, 2015 at 02:19:20AM +0200, Michelle Sullivan wrote:> Why is zfs on i386 so hard?zfs is a resource hog. i386 is not able to handle the demand as well as amd64. I have never, ever, heard of anyone who has a deep understanding of zfs on FreeBSD recommend anything other than amd64. (Note: I am not such a person, so I am simply reporting my understanding.) FWIW, I tried it once. Once. After spending a few days inspecting all the bullet holes in my feet, I moved it off that i386 machine and all the bullet holes healed up. tl;dr: zfs/i386 Not Recommended. But YMMV. mcl