Hi,
I've seen that this question comes up in the forums once in a while, people wondering why menory usage in VMs is reported in the Proxmox VE view as over 90% when within the VM the memory usage is reported much lower.
Unused memory is waste so many VM operating systems and configurations will take as much memory as it is given. But looking at threads here in the forums and posts like [1] and [2], it would be much more useful to see how much memory is available (unused + "memory can be made available immediately" or "the amount of memory that is available for a new workload, without pushing the system into swap").
Both could be reported and visible in the UI.
I understand that this might very well also require upstream in the qemu guest agent.
[1] https://unix.stackexchange.com/ques...vailable-memory-portably-across-distributions
[2] https://unix.stackexchange.com/ques...e-buff-cache-and-avail-mem-fields-in-top-mean
I've seen that this question comes up in the forums once in a while, people wondering why menory usage in VMs is reported in the Proxmox VE view as over 90% when within the VM the memory usage is reported much lower.
Unused memory is waste so many VM operating systems and configurations will take as much memory as it is given. But looking at threads here in the forums and posts like [1] and [2], it would be much more useful to see how much memory is available (unused + "memory can be made available immediately" or "the amount of memory that is available for a new workload, without pushing the system into swap").
Both could be reported and visible in the UI.
I understand that this might very well also require upstream in the qemu guest agent.
[1] https://unix.stackexchange.com/ques...vailable-memory-portably-across-distributions
[2] https://unix.stackexchange.com/ques...e-buff-cache-and-avail-mem-fields-in-top-mean