ZFS ARC in memory usage graph.

sgp

New Member
Oct 9, 2024
4
0
1
Hi there.

Some time ago, I read that if someone wants better monitoring, then they need to set up specialized monitoring software and not rely on PVE graphs. Nevertheless, I do believe that ZFS users without monitoring software (like me) could benefit from showing ARC size in a memory usage graph (at node summary). I do think so, because without that, the graph is not very useful and does not show VMs' actual memory usage. By default, ARC can consume up to 50% of RAM. Thus, it's typical that ARC can eat more RAM than the VMs themselves (on my homelab 32GB-node ARC went to 15.9 GB, and VMs are only 7.2 GB).

So, my question is, is there any way to add the ARC size to the memory graph?
 
For reference:


By default, ARC can consume up to 50% of RAM.

ZFS uses 50 % of the host memory for the Adaptive Replacement Cache (ARC) by default. 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. This value is written to /etc/modprobe.d/zfs.conf.
https://pve.proxmox.com/wiki/ZFS_on_Linux#sysadmin_zfs_limit_memory_usage
 

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!