Ballooning seems not working properly

banana_mcn

Member
Oct 10, 2020
2
0
21
23
Before starting the VM.
1655276166066.png

After starting the VM:
VM OS: Windows 10 (installed balloon driver and service)
1655276430078.png
The host still allocating all memory (used+unused) to it, the ballooning seems not working.
1655276444683.png

1655276520327.png
vm config
Code:
agent: 1,fstrim_cloned_disks=1
balloon: 4096
boot: order=ide0;virtio0
bootdisk: ide0
cores: 16
cpu: kvm64
cpuunits: 2
ide0: none,media=cdrom
ide1: local:iso/virtio-win.iso,media=cdrom,size=519096K
memory: 65536
meta: creation-qemu=6.2.0,ctime=1655217802
name: winh03
net0: virtio=3E:C6:2D:63:DF:FF,bridge=vmbr99
numa: 0
onboot: 1
scsihw: virtio-scsi-pci
smbios1: uuid=a457e84d-50af-44d6-b40d-7699ae68f818
sockets: 1
virtio0: P04:vm-1011-disk-0,cache=none,iops=0,mbps_rd=0,mbps_wr=0,size=500G
vmgenid: 4a60eb2c-75e8-4190-93c0-de19d3439f27


It seems the same situation with this posts but I didn't enable any PCIe passthrough.
https://forum.proxmox.com/threads/ballooning-not-working-properly.93140/
 
Last edited:
I couldn't find the source post for this after a quick look anymore, but if I remember correctly, this is due to Windows mapping all the contents of its RAM at system start. The ballooning driver will only start releasing provisioned RAM when the host reaches about 80% memory usage, for your host system that should be around 100GiB.
 
  • Like
Reactions: leesteken

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!