Best virtualization software for overselling RAM (KVM)?
Right now I have been using Proxmox and have come across an issue I have with overprovisioning RAM. If I create a virtual machine allocate it 40GB of RAM as long as it never peaks at 40GB of RAM it will not reserve that RAM on the node.
If I use the whole 40GB RAM and then stop the process and run
sync; echo 3 > /proc/sys/vm/drop_caches the virtual machines after shows
total used free shared buff/cache available
Mem: 40074 1200 38842 4 31 38596
Swap: 4095 44 4051
However the Proxmox node still reserves 40GB of RAM and stays that way until I completely power off/on that VM.
KSM + Ballooning is enabled and I have tried setting lower minimal RAM in ballooning which just ends up making the virtual machine show less RAM than it should (shows the min value in free -m)
Are there any hypervisors that work differently than this for KVM machines?