Windows VM memory

chudak

Well-Known Member
May 11, 2019
317
16
58
Hello

I have a windows 10 vm, memory set as 2/30 GB ballooning device

In the VM I see that only ~3 GB of RAM allocated, however proxmox shows always ~25 GB used.

Is it expected?

PS: Ubuntu vm behaves differently and does not show such a high amount of memory allocated
Thx
 

Attachments

  • E6E6A61C-83EA-4A95-AFEB-D8A40F2D22FD.jpeg
    E6E6A61C-83EA-4A95-AFEB-D8A40F2D22FD.jpeg
    143.3 KB · Views: 8
  • 33C9AA18-7D8C-41BE-B660-C113A519F984.jpeg
    33C9AA18-7D8C-41BE-B660-C113A519F984.jpeg
    233.4 KB · Views: 8
Last edited:
Hi,

have you installed the VirtIO Balloon Driver as outlined in the best practices? If so, which version are you using exactly?
 
from the host perspective, windows reserve all memory at boot (filling memory by zeroes).

without the balloon driver (+ ballon service), you see the memory allocated on host
when ballon driver is installed, you see the memory from inside windows. (but the full memory is still allocated on host).

Hopefully, we have the ksm feature on the host (triggered at 80% memory host usage), which deduplicate zeroes pages, so memory is recovered.
(Another way to free host memory, is to live migrate the vm, the memory will not be reserved on target host)


Linux vms don't reserve memory at boot. (yes, windows sucks)
 
from the host perspective, windows reserve all memory at boot (filling memory by zeroes).

without the balloon driver (+ ballon service), you see the memory allocated on host
when ballon driver is installed, you see the memory from inside windows. (but the full memory is still allocated on host).

Hopefully, we have the ksm feature on the host (triggered at 80% memory host usage), which deduplicate zeroes pages, so memory is recovered.
(Another way to free host memory, is to live migrate the vm, the memory will not be reserved on target host)


Linux vms don't reserve memory at boot. (yes, windows sucks)
In other words what I see is as it works, Yes?

Thx
 

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!