This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

vfs.zfs.arc_max/min

New installs of XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
trendco
Starter
Starter
Posts: 70
Joined: 20 Jan 2013 18:59
Status: Offline

vfs.zfs.arc_max/min

Post 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.

User avatar
sea1150
experienced User
experienced User
Posts: 105
Joined: 23 Jun 2012 07:01
Location: South Urals
Contact:
Status: Offline

Re: vfs.zfs.arc_max/min

Post 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.
XigmaNAS 11.4.0.4 x64-embedded on - ASUS P8H61-I LX R2.0-GLAN, i5-3570 CPU @ 3.40GHz, 16GB Memory Kit, PCIEx2 Marvell 88SE9230 AHCI 4xSATA controller, HDD: 2x2Tb-UFS, 4x1Tb-RaidZ & 1xSSD L2ARC.
XigmaNAS 11.4.0.4 x64-embedded in - VM on ESXi 6.7U3, 16GB ECC RAM, LSI SAS2008 IT passtrough mode on HP Proliant DL180G6 2xL5640, 112GB RAM, HDD: 12Bay
- and more... My work and all versions

KimmoJ
Starter
Starter
Posts: 42
Joined: 02 Feb 2016 15:02
Status: Offline

Re: vfs.zfs.arc_max/min

Post 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?

Post Reply

Return to “Install XigmaNAS”