after update to openzfs2.0 custom arc size is ignored

Dunuin

Distinguished Member
Jun 30, 2020
14,793
4,628
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!