memory ballooning just like in virsh

lklm

New Member
Nov 7, 2014
5
0
1
I would like to use memory ballooning in Proxmox VE with kvm just like virsh does it.

I want to have fixed amount of memory in a VM (so no dynamic changing, only human changes accepted). When time comes I want to change current allocation to something else. When the VM is restarted it should stay at the last used value. It should be done on the fly without guest restart.

In Proxmox VE, the amount of current memory can be changed via ballooning like I want, when going into VM settings, "Monitor" tab and using "balloon" command. It changes the memory on the fly (both increase and decrease work like expected) but this change is not persistent and not visible in GUI. After the VM is restarted it goes back to the amount specified on Hardware tab in Memory row.

The memory hotplug feature is no good for me because it requires numa enablement and it fails in older (RHEL) kernels when decreasing memory. The ballooning method described above always works for me.

Is this feature available in Proxmox ?
 
You can simply change the "Minimum Memory" setting using the GUI. There is no need to use the monitor.

Note: You need to check the "Advanced" checkbox to see that option.
 

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!