How much RAM for ZFS? (different Recommended System Requirements)

VGBH

New Member
Jan 25, 2024
7
0
1
The Recommended System Requirements are confusing because they are different.
For context, I will use 6 x 3840GB SSD´s.
RAIDZ type: RAIDz2
After calculating with RAIDZ Calculator I can use 15360 GB.
At the moment, I will use ~10 TB used storage.
The New System will have 512 GB RAM in each Node and 64 GB RAM in Backup Server.

PVE Recommended System Requirements
For Ceph and ZFS, additional memory is required; approximately 1GB of memory for every TB of used storage.
I need + 10 GB more RAM.


PVE ZFS Performance Tips
ZFS works best with a lot of memory. If you intend to use ZFS make sure to have enough RAM available for it. A good calculation is 4GB plus 1GB RAM for each TBRAW disk space.
I need +75 GB more RAM.


Which calculation is right?
 
With the second calculation I'd get ~20 GB, not 75, since 4 + (1 * 15) = 19.

In newer installations we limit the maximum amount of ARC to 16 GiB, so I'd recommend sticking with that and see how your system performs. Generally ZFS performs better the more memory you give to it, but of course there are diminishing returns with increasing storage size.

I'll look into improving the documentation to be more consistent with regards to the recommended storage.
 

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!