Memory high consumption in running VMs

fasi74

Member
Jun 24, 2021
27
2
8
49
I have just started using PVE in my organization and running number of VMs on my host, everything is fine however what i am observing is all my guests no matter Linux or Windows have a very high memory utilization graph, even when these guests are in idle state and users are not using. the memory is more then 80% always rest of all is fine.

any ideas ? i am running 6.4-4 version.

thanks in advance.
 
Last edited:
It looks like this, right?
1637909852018.png

Linux basically goes with a "unused RAM is wasted RAM" policy, it fills the RAM with cache so the system runs smooth as seen here (yellow):
1637910017358.png

Windows on the other hand is more conservative with RAM compared to linux, but its RAM-usage via proxmox is still seen as "full" if you do not have the virtio-drivers + qemu guest agent installed: https://pve.proxmox.com/wiki/Windows_2019_guest_best_practices
 
Last edited:
  • Like
Reactions: fasi74
windows reserve hypervisor the memory at boot, filling memory with zeroes.
if you don't have the qemu-agent, proxmox only display the hypervisor memory side.
if you have the agent, proxmox display the guest inside memory side. (but memory is still reserved on hypervisro).

linux don't reserve memory at boot. but when you read files, it keeping file in his buffer cache. (and can release it if a running application need it)
 
Thank you for your answers, i understand now, however how are we to moniter in proxmox if our guest requires more ram or not ??
 

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!