after update to openzfs2.0 custom arc size is ignored

Dunuin

Distinguished Member
Jun 30, 2020
14,796
4,739
258
Germany
Hi,

I was wondering why my RAM is full because most VMs are shutdown right now. I ran arc_summery and ZFS is using 32 GB RAM for ARC. I know that 50% of my 64GB RAM is the default for the ARC size but I have this in my "/etc/modprobe.d/zfs.conf":
options zfs zfs_arc_max=8589934592 options zfs zfs_arc_min=8589934592 options zfs zfs_arc_dnode_limit_percent=15
That worked well so far and limited my ARC to 8GB but it looks like these settings are now ignored after the latest Proxmox update (the one with openzfs 2.0).

How to do the same with OpenZFS 2.0?
 
Last edited:
If someone encountes the same problem:
Your "zfs_arc_min" must be lower than your "zfs_arc_max" or both will be ignored.
1 Byte less will be enough.