ARC Max Size

Stereoscope

Member
Jan 27, 2024
38
1
8
How do I set the "ARC max size" parameter in the installation screen? The units are MiB, so my conversions suggest 8GB should be 7,629.39MiB. Is this value important? Does it need to be a strict multiple of something? Two things are throwing me off, the .39 and also the fact that the value 7,629 isn't very nice either.
 
use 8192 for 8GB. you dont have to set it at install, you can change it afterwards.

Code:
For new installations starting with Proxmox VE 8.1, the ARC usage limit will be set to 10 % of the installed physical memory, clamped to a maximum of 16 GiB

https://pve.proxmox.com/wiki/ZFS_on_Linux -> "Limit ZFS Memory Usage"
There in an exampe for limiting it to 8GB after installation
 
Is this value important? Does it need to be a strict multiple of something?
No, the exact value does not matter.
In fact, the actual value passed to ZFS is in bytes, see our admin guide on Limit ZFS Memory Usage and also the OpenZFS documentation on it: https://openzfs.github.io/openzfs-docs/Performance and Tuning/Module Parameters.html#zfs-arc-max
The installer just takes the configured value and multiples the value by 1024 * 1024, before writing it to /etc/modprobe.d/zfs.conf.
 
  • Like
Reactions: Stereoscope