Quick question about RAM on VM vs on the host

killmasta93

Renowned Member
Aug 13, 2017
983
60
93
31
Hi
I was wondering if someone could shed some light, Currently i have a ubuntu 22.04 which i installed the drivers but for some reason does not show the correct ram on proxmox vs on the vm itself? not sure if i missed something? on Windows works perfectly
 
Note: "used" + "buff/cache" is more or less "Memory usage".

You can try the following experiment.

In the VM:
1) Execute free -h and note "Memory usage" from the GUI.
2) Empty pagecache, dentries and inodes: echo 3 > /proc/sys/vm/drop_caches
3) Repeat point 1)

"buff/cache" in 3) is probably much less than in 1).
And "Memory usage" in 3) is probably much less than in 1).
Or no? :)