Page 1 of 1
vfs.zfs.arc_max/min
Posted: 30 Dec 2015 20:01
by trendco
I use a HP-GEN8 with 4GB RAM.
What are the best Settings for:
vfs.zfs.arc_max
vfs.zfs.arc_min
vfs.zfs.prefetch_disable
Thanks.
Re: vfs.zfs.arc_max/min
Posted: 31 Dec 2015 05:26
by sea1150
trendco wrote:I use a HP-GEN8 with 4GB RAM.
What are the best Settings for:
vfs.zfs.arc_max
vfs.zfs.arc_min
vfs.zfs.prefetch_disable
Thanks.
Code: Select all
vm.kmem_size = 2857369600
vfs.zfs.arc_min = 1073741824
vfs.zfs.arc_max = 2147483648
vfs.zfs.prefetch_disable = 1
vfs.zfs.txg.timeout = 5
vfs.zfs.vdev.max_pending = 6
vfs.zfs.vdev.min_pending = 2
If you are not using the VBox - not necessary vm.kmem_size.
Re: vfs.zfs.arc_max/min
Posted: 23 Feb 2016 13:29
by KimmoJ
Being new to FreeBSD style ZFS, how would one calculate these numbers?
My install comes with vfs.zfs.arc_max at 2GB, but it has 12GB of memory. Can this be raised arbitrarily or does raising it too much potentially cause issues?
Should you also add entries to add customized vm.kmem_size and vm.kmem_size_max settings to match this in Nas4Free?