Hi All,
I am planning setting up a HA Proxmox cluster and I am wondering what would be the best arc size setting for my setup.
Hardware I am using:
AMD EPYC 7702P 64-Core Processor
512GB DDR4 3200Mhz
2x Micron 7300 480GB (Raid1 zfs for boot)
6x Kioxia KCD6XLUL960G 960GB NVMe
Mellanox ConnectX 4 (25Gbps) NICs
The idea is to run 6x Ubuntu 22.04 LTS VMs per server (32vCore and 64GB RAM) with as much disk size as I can get.
I have already set up one server with proxmox and I configured a Raid10 zfs pool and all is great, but RAM usage is at 92% most of the time and I saw that zfs is taking half of system memory.
I have read that arc will free ram for VMs, but I have had VMs crash or just running very slow on this server and actually had to move VMs away from it to just get the others in a working state again. Since these setups are for production use, I cannot struggle with this.
So the question then is, would it be an issue if I set the zfs_arc_max to let say 64GB? That should leave enough room for the server as well. Also, is this value set in bits? If so, would that number then be 549755813888?
I am open to other suggestions as well.
I am planning setting up a HA Proxmox cluster and I am wondering what would be the best arc size setting for my setup.
Hardware I am using:
AMD EPYC 7702P 64-Core Processor
512GB DDR4 3200Mhz
2x Micron 7300 480GB (Raid1 zfs for boot)
6x Kioxia KCD6XLUL960G 960GB NVMe
Mellanox ConnectX 4 (25Gbps) NICs
The idea is to run 6x Ubuntu 22.04 LTS VMs per server (32vCore and 64GB RAM) with as much disk size as I can get.
I have already set up one server with proxmox and I configured a Raid10 zfs pool and all is great, but RAM usage is at 92% most of the time and I saw that zfs is taking half of system memory.
Code:
ARC size (current): 99.6 % 250.7 GiB
Target size (adaptive): 100.0 % 251.8 GiB
Min size (hard limit): 6.2 % 15.7 GiB
Max size (high water): 16:1 251.8 GiB
Most Frequently Used (MFU) cache size: 15.9 % 37.7 GiB
Most Recently Used (MRU) cache size: 84.1 % 199.0 GiB
Metadata cache size (hard limit): 75.0 % 188.8 GiB
Metadata cache size (current): 8.4 % 15.9 GiB
Dnode cache size (hard limit): 10.0 % 18.9 GiB
Dnode cache size (current): 0.1 % 27.7 MiB
I have read that arc will free ram for VMs, but I have had VMs crash or just running very slow on this server and actually had to move VMs away from it to just get the others in a working state again. Since these setups are for production use, I cannot struggle with this.
So the question then is, would it be an issue if I set the zfs_arc_max to let say 64GB? That should leave enough room for the server as well. Also, is this value set in bits? If so, would that number then be 549755813888?
I am open to other suggestions as well.