VMware Cloud Community
DITGUY2012
Enthusiast
Enthusiast

Further clarification on memory usage reporting

Despite the plethora of discussion threads and documents I'm still trying to figure out something about memory usage reporting.

Forgive the bullets. It's how I organize my thoughts:

  1. If you click on a host in the cluster you see "Memory Usage" and "Capacity". Capacity is clearly the total amount of memory installed on the system. Is "usage" the total of all committed across all VMs or the total of all active memory on all VMs?
  2. If you go to a VM's summary tab you see Consumed Host Memory and Active Guest Memory. See picture below. Consumed Host Memory appears to be the amount allocated plus a little overhead. The Active Guest Memory doesn't match the amount cached (in use). In a simple way, why is this? Is it always less due to deduplication across VMs?
  3. We bought a certain amount of memory based on the expected needs of the total number of VMs we planned on deploying. Not it appears that due to some efficiency of VMware we bought WAY more than we needed since the total actively being used by each VM is far less than the committed amount almost always. It seems as if we can build and deploy far more VMs than our memory committment adds up to because of this. Am I wrong in this conclusion?

vmware memory.png

0 Kudos
1 Reply
weinstein5
Immortal
Immortal

Welcome to the Community - It sounds like you did not take into consideration the VMware feature called Transparent Page Sharing - the ability of the ESXi host to recognize that VMs are trying to share the same page of memory and rather than store multiple copies of the same page it will store it only once in Read Only Memory and if the goes to write to that page it will move it to its own space - so if you are running the same family of OS you can see how memory will be freed up - 

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos