This thing has me going in circles so much that after reading for a while I'm as confused as a blonde looking for a corner in a round room.
I have this VM with configured memory of 256MB (with NO reservation), runs Windows Server 2003. Please take a look at this screenshot:
Things were cruising along till at 12.24pm I set a limit of 75MB memory on the VM. I simulated contention by doing something within the VM and bam the graph changes dramatically. Lemme analyse and explain the graph and you correct me where I'm wrong, right?
Granted: This is the memory that's configured on the VM, so 256MB and it's all good till 12.24pm. Why did this fall when contention occurred? I can also see that it fell by the same amount that the Ballooned memory went up by. I realize the VMkernel reclaims memory via ballooning when there's contention, but why did the Granted memory fall? Does it mean that the kernel ballooned to the memory that was configured for it?
Consumed: From what I've been reading in Duncan Epping's deepdive book, this is the maximum amount of memory that Windows used. Even after Windows doesnt need the memory anymore, the kernel doesnt know that the pages are obsolete and hence why I have had a constant graph till 12.24pm. Why was there a dip during the time contention occurred? I know that the guest OS has no knowledge of the limit, but then isnt this metric at the hypervisor level, not the VM level? If this is the case, why didnt it dip to 75MB right when contention occurred?
After contention ended and I removed the limit, it suddenly shot up to 225MB. I understand why it did but why didnt it stay at 225MB, I thought the hypervisor didnt know that pages were now obsolete?
Active: Why doesnt the difference between active and consumed remain the same at all times? I understand that active is what's currently in use by the guest, but how did the Active figure go beyond the 75MB that's the configured limit on the VM?
Thank you in advance for reading and responding. Some of these graphs and terms are just plain crazy. Put me out of my misery please!