On Jul 30, 2014, at 5:37 AM, Stefan Baur <newsgroups.ma...@stefanbaur.de> wrote:
> Hi list, > > I'm seeing the following warning on my pfsense 2.1.4-RELEASE (i386): > > ZFS WARNING: Recommended minimim kmem_size is 512MB; expect unstable > behavior. > Consider tuning vm.kmem_size and vm.kmem_size_max in /boot/loader.conf > > Currently, the values are: > vm.kmem_size="525544320" > vm.kmem_size_max="535544320" > > Given this machine has 1 Gigabyte of RAM, which values should I enter? Personally, I think ZFS on i386 has become a losing proposition as of late. I ran a ZFS-on-root FreeBSD/i386 10-STABLE system with 2 GB of RAM and it appeared to become very flaky with ZFS in its latter months (I eventually switched it out for a FreeBSD/amd64 system). I had to be careful with what values for vm.kmem_size, vm.kmem_size_max, and vfs.zfs.arc_max I put in /boot/loader.conf because often certain combinations would panic the system on boot. Also, to use quite a bit of the available RAM for ARC required me to build a custom kernel with KVA_PAGES=512 set in the kernel config file. I believe the days when FreeBSD/i386 was considered the primary, tried-and-tested distribution and FreeBSD/amd64 the less-tested version are long behind us. If you can run FreeBSD/amd64 then you should. If you can only run FreeBSD/i386 then I wouldn't recommend using ZFS with it. I just don't think it gets adequate testing any more. (YMMV.) Cheers, Paul. _______________________________________________ List mailing list List@lists.pfsense.org https://lists.pfsense.org/mailman/listinfo/list