Darren David
Explorer
- Joined
- Feb 27, 2014
- Messages
- 54
Hi there-
I've got a new setup with 128GB ram, and I'd like to cap out vfs.zfs.arc_max at around 32GB (I have an 8x10TB RAIDZ2 with ~50TB of usable space). It seems that vfs.zfs.arc_max is set to max RAM - 1GB, and with my rsyncing of data over to this new machine ARC is taking up all the available RAM and causing the entire machine to grind to a halt.
I've tried setting vfs.zfs.arc_max in tunables under both "loader" and "sysctl," and I've also added to /boot/loader.conf, but the setting doesn't persist across reboots in any of these scenarios. I can manually set it using sysctl from the command line and all is well, but none of the means I mentioned seem to persist the setting across reboots. I've got 'autotune" disabled, FWIW.
What am I missing here?
Thanks in advance for any and all help.
I've got a new setup with 128GB ram, and I'd like to cap out vfs.zfs.arc_max at around 32GB (I have an 8x10TB RAIDZ2 with ~50TB of usable space). It seems that vfs.zfs.arc_max is set to max RAM - 1GB, and with my rsyncing of data over to this new machine ARC is taking up all the available RAM and causing the entire machine to grind to a halt.
I've tried setting vfs.zfs.arc_max in tunables under both "loader" and "sysctl," and I've also added
Code:
vfs.zfs.arc_max="34359738368"
What am I missing here?
Thanks in advance for any and all help.