Hello Everyone,
A few days ago I installed proxmox on an old Lenovo laptop (i5, 3rd gen, 8 GB ram, 240 GB SSD) and installed Openmediavault 6 as a guest VM, gave it 2 cores and 4 GBs of ram, and set up a simple SMB share with an external HDD passed through to the OMV VM.
Since I'm new to proxmox, I'm not entirely sure whether this is supposed to be normal behavior, but for me it just doesn't "feel right": when I start the OMV VM, memory usage shows the same amount, about 400 MBs, in both the OS's web UI and also in the proxmox web UI under the summary section. However, in the proxmox web UI the memory usage slowly starts to increase, actually, quite consistently so that in 3 days' time it hits 2 GBs (but in guest VM it stays 400 MBs). As soon as I restart the guest, the mem usage gets back to normal but starts to increase in the same way as before. Everything is up-to-date. I even set up a second OMV 6 VM and the same thing happens there as well.
I found threads about ballooning and KSM but I'm not really sure whether this strange behavior has anything to do with any of these two concepts. I also read in a reddit post that linux VMs tend to use up all the vMemory they are given, and that it is okay for the proxmox summary to show different memory usage as the guest OS itself because the proxmox host is doing some cashing as well. Can someone please clarify memory usage for me? Is this really normal behavior? And if yes, is there some built in number at which this increase stops? Like at 80% or something?
Thank you, in advance, for any clarification on this issue!
A few days ago I installed proxmox on an old Lenovo laptop (i5, 3rd gen, 8 GB ram, 240 GB SSD) and installed Openmediavault 6 as a guest VM, gave it 2 cores and 4 GBs of ram, and set up a simple SMB share with an external HDD passed through to the OMV VM.
Since I'm new to proxmox, I'm not entirely sure whether this is supposed to be normal behavior, but for me it just doesn't "feel right": when I start the OMV VM, memory usage shows the same amount, about 400 MBs, in both the OS's web UI and also in the proxmox web UI under the summary section. However, in the proxmox web UI the memory usage slowly starts to increase, actually, quite consistently so that in 3 days' time it hits 2 GBs (but in guest VM it stays 400 MBs). As soon as I restart the guest, the mem usage gets back to normal but starts to increase in the same way as before. Everything is up-to-date. I even set up a second OMV 6 VM and the same thing happens there as well.
I found threads about ballooning and KSM but I'm not really sure whether this strange behavior has anything to do with any of these two concepts. I also read in a reddit post that linux VMs tend to use up all the vMemory they are given, and that it is okay for the proxmox summary to show different memory usage as the guest OS itself because the proxmox host is doing some cashing as well. Can someone please clarify memory usage for me? Is this really normal behavior? And if yes, is there some built in number at which this increase stops? Like at 80% or something?
Thank you, in advance, for any clarification on this issue!