This topic is just for me to get a little smarter on what would be considered “safe” overselling/overcommitting of resources on a Proxmox host. Not asking for you guys to divulge your industry secrets or anything like that – just trying to get a general idea.
Some context - I currently run a small free VPS host (FreeMach). With my first box, I commit memory ~1:1, meaning each guest’s allocation is dedicated (or near-dedicated). But after running this node for over a year, I’ve noticed that RAM usage really hasn’t ever exceeded ~60%, so I’m thinking perhaps there is room to overcommit.
The second node for this service is going live shortly and I wanted to get some opinions on whether overcommit memory would be safe. The host has 24GB of RAM and I’m intending to allocate 16 2GB KVM guests on the box. So this would result in 1.33:1 of allocated memory to physical memory. Ignoring other factors, such as network and cpu (which I think will be fine under my proposed config), would I be safe in doing this?
I know it’s easier to oversell with containers, but am unfamiliar with KVM guest’s resource usage. Any insight provided would be helpful! I use ZFS on my Proxmox hosts, if that changes the equation at all.