Balooning Setup Questions

infinityM

Well-Known Member
Dec 7, 2019
179
1
58
31
Hey Guys,

So i've been reading up on balooning a bit, and I'm a bit confused though.
We have Windows servers setup which need to have 120GB RAM but they only use about 40GB currently.
So I'd like to clear up this RAM. But I can only find guides for setting up the balooning during install. How can one set it up after the fact?

Then also, Is there a down side to balooning?
Does it slow down servers or something of the like?

Thanks in advance :)
 
Take a look at the following Wiki entry, it explains how to install VirtIO drivers in Windows: https://pve.proxmox.com/wiki/Windows_VirtIO_Drivers

The downside to Ballooning is, you can easily overcommit RAM which can result in VM crashes and more if the VMs decide to use more RAM than you physically have. Ballooning only starts once your host reaches ~80% memory usage.
 
Hey bud,

So first of all thank you, That guide was better than the ones I found since the ISO actually was there :).
The only problem I have though, I setup the guest agent and the virtio balooning drivers etc. I can ping the agent too so it looks like it's working, but if I check the parent server resources being used, I can see the server still uses 130GB ram where on the VM itself it only uses 8GB and the balooning is set to 16GB min.

So it's still just using the max. Any idea why it would happen?
 
Hey bud,

So first of all thank you, That guide was better than the ones I found since the ISO actually was there :).
The only problem I have though, I setup the guest agent and the virtio balooning drivers etc. I can ping the agent too so it looks like it's working, but if I check the parent server resources being used, I can see the server still uses 130GB ram where on the VM itself it only uses 8GB and the balooning is set to 16GB min.

So it's still just using the max. Any idea why it would happen?
Are you using passthrough?

https://forum.proxmox.com/threads/windows-10-vm-ballooning-almost-100-ram-usage.55928/page-2
 
It will only start ballooning when there is a memory usage of 80% or above on the host.
 
It will only start ballooning when there is a memory usage of 80% or above on the host.
Do you mean it will only decrease the memory on the VM if the parent NODE's memory usage is 80%?
Or do you mean if the VM reaches 80% it will increase the memory allocated?
 
Once the PVE host reaches 80% memory usage, it will start reducing the actual memory used in the VMs that have ballooning enabled.
 
I thought it starts at the minimum and scales up... That makes more sense thank you :). Anyway to test it without having the memory maxed out?
 

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!