VirtIO Ballooning Memory Leak

Mehiller

New Member
Aug 14, 2013
2
0
1
Proxmox 2.3-13
Guest OS: MS Windows Server 2012 Standard x64
KVM64, 2 sockets, 4 cores (total 8 cores)

Ballooning driver and service was installed as said in Wiki. But right after start of guest system, process "System" begins to use about 14% of CPU time.
Sysinternals Process Explorer says that it is "Balloon.sys" thread uses so much CPU time.

While Balloon service is running and "VirtIO Ballooning device" is connected, memory is leaking (all 6 GB in about 20 minutes). It stop leaking only after shutting down service and disconnecting of "Device". After disconnecting, all leaked memory again becomes free.

Can anyone help me?
 
not sure if its related, but you run the outdated 2.3? upgrade to latest stable first (3.x).
 
Note that it's possible that balloon driver use cpu to shrink the memory.

Windows fill all the memory at boot with zero, so balloon need to shrink it.
(Linux don't have this problem)

(example : you boot with max 16GB, and balloon target 2GB, it will use a lot of cpu to shrink it to 2GB).
 

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!