zfs_arc_max default value

ieronymous

Well-Known Member
Apr 1, 2019
285
21
58
45
I was searching a completely different issue while I edited the /etc/modprobe.d/zfs.conf file where I noticed that
options zfs zfs_arc_max=13476298752

My system has 128Gb or ram and though that by default zfs_arc_max tries to almost limit that ram amount (at least in older PVe versions).
Instead here it is set by default to use 13476298752 which in case that this number is in bytes, equals to only 12.55 Gigabytes.
 
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
Looks correct to me.
 
yes, I know how and the recommendations were (at time of reading) no below 4Gbs no more than 64Gbs.
Upon that recommendation, 13Gb seemed a bit on the low side.
Defaults arent recommendations. The recommended max value is as much as possible without OOMing, which depends on your setup. The recommended min value is 2 GiB Base + 1 GiB for each TiB-Storage
 
  • Like
Reactions: ieronymous

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!