Ballooning not working properly

aeminkocal

Member
Mar 26, 2020
16
0
6
24
No matter the OS, the ballooning seems like its working on the server's page but on the host's side it is not sharing the ram.
So what I mean by that is before I start a guest it looks like this; (there arealready working servers)
oDxuZ4z.png


After I start this server:
On0Vcvh.png


Even though it says it is using up this amount of ram:
LWInBl0.png


On the host it actually uses ram like there is no ballooning enabled.
JLMI90q.png


The ksmtuned service is working.
The guest's configuration:
bHIn898.png

Proxmox version is 7.0-10.
 
Last edited:
I cannot see your images, sorry.
Does the VM use PCI(e) passthrough? Then the balloon driver cannot really give back memory to the host or other VMs. This is because you are passing real devices that can initiate Direct Memory Access (DMA) to any part of the VM memory at any time. If the VM memory is not pinned into actual memory, such a DMA could overwrite host or other VM memory.
 
  • Like
Reactions: kaja and aeminkocal
I cannot see your images, sorry.
Does the VM use PCI(e) passthrough? Then the balloon driver cannot really give back memory to the host or other VMs. This is because you are passing real devices that can initiate Direct Memory Access (DMA) to any part of the VM memory at any time. If the VM memory is not pinned into actual memory, such a DMA could overwrite host or other VM memory.
Yes, there is PCI passthrough. So you are right with that.
 
I cannot see your images, sorry.
Does the VM use PCI(e) passthrough? Then the balloon driver cannot really give back memory to the host or other VMs. This is because you are passing real devices that can initiate Direct Memory Access (DMA) to any part of the VM memory at any time. If the VM memory is not pinned into actual memory, such a DMA could overwrite host or other VM memory.
Oh so that is the reason. Thanks for the info! I couldn't find such an information anywhere in the internet.
 

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!