Memory Usage stats different from Guest OS stats

Hi,
I have some Ubuntu 22.04 VMs with qemu-guest agent installed and I've notice that the memory usage shown in the GUI is completely different from memory stats within the Ubuntu guest OS. Is it a problem of the guest agent? Does it computes memory usage as (used+buff/cache)/total instead of used/total?

Code:
# pveversion
pve-manager/7.3-3/c3928077 (running kernel: 5.15.74-1-pve)

1671731623143.png1671731642792.png
 
From the hypervisor's point of view everything that isn't "free" is "used". So buff+cache counts as "used" as it indeed uses up the physical memory (at least for Linux). For Win VMs with guest agent it shows "cache" as "free". For FreeBSD it will just show the memory footprint of the KVM process.
 
Last edited:

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!