Recommended hardware requirements - RAM?

andreisrr

Member
Feb 2, 2024
72
8
13
According to https://pbs.proxmox.com/docs/installation.html#recommended-server-system-requirements recommends:
  • Memory: minimum 4 GiB for the OS, filesystem cache and Proxmox Backup Serverdaemons. Add at least another GiB per TiB storage space.
Then goes on about storage, with multiple references about ZFS.

How much is "Add at least another GiB per TiB storage space" is related to ZFS (which is well known to require RAM per TiB of backend storage) or is generally valid for any type of storage used to store the backups, including those not using ZFS?

For example:
  1. PBS with 4G RAM for OS, 10TB ZFS disk based storage = +10G RAM
  2. PBS with 4G RAM for OS, 10TB NFS NAS storage = ?
 
On a secondary PBS without ZFS I just lowered from 8 GB to 6 GB. GUI showed much lower than that over time. Not sure it ever got over 2 without checking again. It was consistently low.
 
It all depends on your "surroundings". If you only look at the PBS binary (like in a LX(C) or docker container), it only needs a few hundreds MB of RAM for a couple VMs. So in your 2) 4GB would be sufficient, if you don't install PBS itself on ZFS and store everything elsewhere.

It's not that it will not work with less, it will not be performant and the requirement of 4 GB should take care of most facts for slowliness. If you would have fast RTO times, you would want to go with Full-SSD and a lot or RAM.
 
Can confirm 4 GB is plenty if you avoid ZFS. I run a secondary PBS off an ext4 volume for three hosts and idle memory rarely crawls past 1.5 GB.
 
From what I've seen you can definitely get away with less memory than the recommendation. But you'll want a decent amount of swap available to avoid the OOM killer. Also, with hard drives as your datastore, less memory means less disk caching, which will impact performance, especially without a special device.