KVM fixed memory - ballooning?

hansm

Well-Known Member
Feb 27, 2015
62
3
48
In PVE 4.4 when creating a new VM, at the tab Memory there's a new checkbox "Ballooning" when "Use fixed size memory" is selected. I thought ballooning is only used with dynamic memory assignment (https://pve.proxmox.com/wiki/Dynamic_Memory_Management#Ballooning). Also the "Help" button doesn't explain the option for fixed memory.

Why do we have this new checkbox? Maybe an update of help and wiki pages is needed?
 
the ballooning checkbox indicates if the vm gets the virtual balloon device.
in fixed memory mode, qemu sets no target size of the memory, so it handles it automatically.

if you choose automatically allocate memory in range
we set the target memory value and qemu behaves like the description in the documentation

but yes, thanks this is missing in the docs
 
in fixed memory mode, qemu sets no target size of the memory, so it handles it automatically.

Can you elaborate that ? Because it really doesn't make any sense, "fixed mode" but it's still dynamic...
 
So fixed memory size means the memory is never available for the host or other VMs, even if ballooning is on and the VM doesn't use the memory itself? What are the reasons for using fixed size memory (as the default)?
 

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!