VMware Cloud Community
goodface
Enthusiast
Enthusiast

real active memory

I checked the active memory of one VM on vcenter and windows task. but Both values are different. Which value is the actual value? There are lots of articles about it but which one is true so where should I look when someone is not enough

0 Kudos
2 Replies
kwhornlcs
Enthusiast
Enthusiast

It dates back a bit, but there's a good post here that seems to be what you are looking for:

Understanding vSphere Active Memory - VMware vSphere Blog

Summing it up - look to the guest OS counter for the memory in use.

0 Kudos
vasan22in
Enthusiast
Enthusiast

Hello,

Refer the below for vSphere  memory

Host memory: Consumed memory

This may be a bit confusing because we’re checking the memory allocation for a single virtual machine but this is the amount of host memory currently allocated to this virtual machine (1.53GB). So all of the provisioned memory (1536MB) is currently used by the virtual machine.

Host memory: Overhead consumption

Overhead consumption is the amount of memory used for virtualization overhead. This is the same value as mentioned with Memory overhead in the virtual machine general configuration screen.

Guest memory: Private memory

Private memory is the amount of memory that is actually stored in the physical memory of the ESXi host. In this case the physical memory holds 1.50GB for this virtual machine. The private memory plus the overhead consumption mentioned above should equal the amount of consumed host memory. In this case, 1.50GB + 30MB = 1,53GB.

Guest memory: Shared memory

Shared memory is the amount of memory shared by multiple virtual machines using Transparent Page Sharing (TPS).

Guest memory: Swapped memory

The amount of guest memory which is swapped out and reclaimed by the VMkernel caused by a lack of provisioned memory. This value should be zero because memory swapping has a huge performance impact.

Guest memory: Compressed memory

Compressed memory is the amount of virtual machine memory which is compressed by the VMkernel. This value should also be zero because memory compression has a performance impact. Memory compression is enabled by default. You can use the Advanced Settings dialog box in the vSphere Client to enable or disable memory compression for a host.

Guest memory: Ballooned memory

The amount of virtual machine memory that is reclaimed through the balloon driver.

Guest memory: Unaccessed memory

Unaccessed memory is the amount of memory that has never been accessed by the guest. This is essentially free memory for the virtual machine.

Guest memory: Active memory

Active memory is the amount of memory actively used by the virtual machine. This may differ from what the guest operating system reports because the guest operating system generally has a more accurate view of the memory actively used. VMware ESXi uses sampling which often takes time to converge, so the memory usage measured in the virtual machine operating system may be more accurate when the workload memory usage is changing frequently.

Resource settings: Reservation, Limit, Configured, Shares

These are pretty self-explanatory and should be known to every VMware administrator.

Resource settings: Worst Case Allocation

Worst Case Allocation is the amount of memory that the virtual machine can actually get when all virtual machines use all their allocated memory. This is  a very important metric when heavily overcommiting a VMware ESXi host.

Resource settings: Overhead Reservation

Overhead Reservation is the amount of reserved memory overhead.

Please consider marking this answer "correct" or "helpful" if you think your query have been answered correctly. Thanks, Srini
0 Kudos