Performance counters are modeled using the PerfCounterInfo data object type. Each instance of a PerfCounterInfo data object contains metadata about a specific metric available from the system. The memory group (mem) of performance counters documented on this page are available from the PerformanceManager service interface. Memory Management and the VMkernelThe VMkernel maps guest physical memory to machine memory. However, because of the VMkernels unique memory-management techniques, such as ballooning, memory-sharing, swapping, and other techniques, guest physical memory-to-machine memory mapping does not have a 1:1 correspondence. Specifically, the VMkernel can:
Many of the VMkernels memory-management techniques require that VMware Tools be installed on the virtual machine. Be sure that the appropriate guest-OS-specific version of VMware Tools is installed on each virtual machine. Guest Physical Memory Compared to Machine MemoryEach counter definition in this table should be interpreted in the context of the entity to which it applies:
Memory SwappingThe VMkernel uses a "share before swap" optimization to reduce memory paging. Regardless of the page size in memory, the kernel uses a 4KB swap page size. The kernel will attempt to share 4KB pages; those pages that cannot be shared are swapped. For More InformationFor in-depth technical background about VMware memory management architecture, including information about ballooning, swapping, page sharing, idle memory tax, memory reclamation, touched pages, and so on, see the USENIX Association publication, Memory Resource Management in VMware ESX Server. See the Resource Management Guide for more information about configuring and managing resources, including memory. |
Counter | StatsType | Unit | Levels | Per Device Level |
RollupTypes | Labels | Entity | Instance/ Aggregate |
ESX Versions |
---|---|---|---|---|---|---|---|---|---|
active | absolute | kiloBytes | 2 (4) | 4 | average (minimum) (maximum) (none) | Active | VirtualMachine HostSystem ResourcePool | aggregate | |
Amount of memory that is actively used, as estimated by VMkernel based on recently touched memory pages.
| |||||||||
activewrite | absolute | kiloBytes | 2 | 3 | average | Active write | VirtualMachine HostSystem | aggregate | 4.1.0 5.0.0 |
Amount of memory actively being written to by the virtual machine. | |||||||||
capacity.contention | rate | percent | 2 | 4 | average | Memory Capacity Contention | ResourcePool | aggregate | 3.5.0 4.0.0 4.1.0 5.0.0 |
Percentage of time the VM is waiting to access swapped or compressed memory. | |||||||||
capacity.entitlement | absolute | kiloBytes | 1 | 4 | average | Memory Capacity Entitlement | ResourcePool | aggregate | 3.5.0 4.0.0 4.1.0 5.0.0 |
Amount of host physical memory VM is entitled to, as determined by the ESX scheduler. | |||||||||
capacity.provisioned | absolute | kiloBytes | 3 | 4 | average | Memory Capacity Provisioned | ResourcePool | aggregate | 3.5.0 4.0.0 4.1.0 5.0.0 |
Total amount of memory available to the entity. | |||||||||
capacity.usable | absolute | kiloBytes | 2 | 4 | average | Memory Capacity Usable | |||
Amount of physical memory available for use by virtual machines. | |||||||||
capacity.usage | absolute | kiloBytes | 1 | 4 | average | Memory Capacity Usage | ResourcePool | aggregate | 3.5.0 4.0.0 4.1.0 5.0.0 |
Amount of physical memory actively used. | |||||||||
capacity.usage.userworld | absolute | kiloBytes | 2 | 4 | average | ||||
capacity.usage.vm | absolute | kiloBytes | 2 | 4 | average | ||||
capacity.usage.vmOvrhd | absolute | kiloBytes | 2 | 4 | average | Memory Capacity Usage by VM overhead | |||
Amount of memory used by virtual machine overhead. | |||||||||
capacity.usage.vmkOvrhd | absolute | kiloBytes | 2 | 4 | average | Memory Capacity Usage by VMkernel Overhead | |||
Amount of memory used by VMKernel overhead. | |||||||||
compressed | absolute | kiloBytes | 2 | 3 | average | Compressed | VirtualMachine HostSystem ResourcePool | aggregate | 3.5.0 4.0.0 4.1.0 5.0.0 |
Amount of memory compressed by ESX. | |||||||||
compressionRate | rate | kiloBytesPerSecond | 2 | 3 | average | Compression rate | VirtualMachine HostSystem ResourcePool | aggregate | 3.5.0 4.0.0 4.1.0 5.0.0 |
Rate of memory compression for the VM. | |||||||||
consumed | absolute | kiloBytes | 1 (4) | 4 | average (minimum) (maximum) (none) | Consumed | VirtualMachine HostSystem ResourcePool | aggregate | |
Amount of memory consumed by a virtual machine, host, or cluster.
| |||||||||
consumed.userworlds | absolute | kiloBytes | 2 | 4 | average | Memory Consumed by userworlds | |||
Amount of physical memory consumed by userworlds on this host. | |||||||||
consumed.vms | absolute | kiloBytes | 2 | 4 | average | Memory Consumed by VMs | |||
Amount of physical memory consumed by virtual machines on this host. | |||||||||
decompressionRate | rate | kiloBytesPerSecond | 2 | 3 | average | Decompression rate | VirtualMachine HostSystem ResourcePool | aggregate | 3.5.0 4.0.0 4.1.0 5.0.0 |
Rate of memory decompression for the virtual machine. | |||||||||
entitlement | absolute | kiloBytes | 2 | 3 | average | Entitlement | VirtualMachine | aggregate | 5.0.0 |
granted | absolute | kiloBytes | 2 (4) | 4 | average (minimum) (maximum) (none) | Granted | VirtualMachine HostSystem ResourcePool | aggregate | |
Amount of machine memory or physical memory that is mapped for a virtual machine or a host. | |||||||||
heap | absolute | kiloBytes | 4 | 4 | average (minimum) (maximum) (none) | Heap | HostSystem | aggregate | |
VMkernel virtual address space dedicated to VMkernel main heap and related data. For informational purposes only: not useful for performance monitoring. | |||||||||
heapfree | absolute | kiloBytes | 4 | 4 | average (minimum) (maximum) (none) | Heap free | HostSystem | aggregate | |
Free address space in the VMkernels main heap. Varies based on number of physical devices and configuration options. There is no direct way for the user to increase or decrease this statistic. For informational purposes only: not useful for performance monitoring. | |||||||||
latency | absolute | percent | 2 | 3 | average | Latency | VirtualMachine HostSystem | aggregate | 5.0.0 |
llSwapIn | absolute | kiloBytes | 4 | 4 | average (minimum) (maximum) (none) | Swap in from host cache | HostSystem | aggregate | |
Amount of memory swapped in from host cache. | |||||||||
llSwapInRate | rate | kiloBytesPerSecond | 2 | 3 | average | Swap in rate from host cache | VirtualMachine HostSystem | aggregate | 5.0.0 |
Rate at which memory is being swapped from host cache into active memory. | |||||||||
llSwapOut | absolute | kiloBytes | 4 | 4 | average (minimum) (maximum) (none) | Swap out to host cache | HostSystem | aggregate | |
Amount of memory swapped out to host cache. | |||||||||
llSwapOutRate | rate | kiloBytesPerSecond | 2 | 3 | average | Swap out rate to host cache | VirtualMachine HostSystem | aggregate | 5.0.0 |
Rate at which memory is being swapped from active memory to host cache. | |||||||||
llSwapUsed | absolute | kiloBytes | 4 | 4 | average (minimum) (maximum) (none) | Host cache used for swapping | VirtualMachine HostSystem | aggregate | |
Space used for caching swapped pages in the host cache. | |||||||||
lowfreethreshold | absolute | kiloBytes | 2 | 3 | average | Low free threshold | HostSystem | aggregate | 5.0.0 |
Threshold of free host physical memory below which ESX will begin reclaiming memory from VMs through ballooning and swapping. | |||||||||
mementitlement | absolute | megaBytes | 1 | 3 | latest | Worst case allocation | ResourcePool | aggregate | 3.5.0 4.0.0 4.1.0 5.0.0 |
Memory allocation as calculated by the VMkernel scheduler based on current estimated demand and reservation, limit, and shares policies set for all virtual machines and resource pools in the host or cluster. This counter is for internal use only and is not useful for performance monitoring. | |||||||||
overhead | absolute | kiloBytes | 1 (4) | 4 | average (minimum) (maximum) (none) | Overhead | VirtualMachine HostSystem ResourcePool | aggregate | |
Amount of machine memory allocated to a virtual machine beyond its reserved amount.
| |||||||||
overheadMax | absolute | kiloBytes | 2 | 3 | average | Reserved overhead | VirtualMachine | aggregate | 4.1.0 5.0.0 |
Memory (in kilobytes) reserved for use as the virtualization overhead for the virtual machine. | |||||||||
overheadTouched | absolute | kiloBytes | 4 | 4 | average | Overhead touched | VirtualMachine | aggregate | 5.0.0 |
Actively touched overhead memory (KB) reserved for use as the virtualization overhead for the virtual machine. | |||||||||
reservedCapacity | absolute | megaBytes | 2 | 3 | average | Reserved capacity | HostSystem | aggregate | 3.5.0 4.0.0 4.1.0 5.0.0 |
Total amount of memory reservation used by powered-on virtual machines and vSphere services on the host. Includes overhead amount. | |||||||||
reservedCapacity.userworld | absolute | kiloBytes | 2 | 4 | average | Memory Reserved capacity by userworlds | |||
Amount of memory reserved by userworlds. | |||||||||
reservedCapacity.vm | absolute | kiloBytes | 2 | 4 | average | Memory Reserved capacity by VMs | |||
Amount of memory reserved by virtual machines. | |||||||||
reservedCapacity.vmOvhd | absolute | kiloBytes | 2 | 4 | average | Memory Reserved capacity by VM overhead | |||
Amount of memory reserved by virtual machine overhead. | |||||||||
reservedCapacity.vmkOvrhd | absolute | kiloBytes | 2 | 4 | average | Memory Reserved capacity by VMkernel Overhead | |||
Amount of memory reserved by VMkernel overhead. | |||||||||
reservedCapacityPct | absolute | percent | 3 | 4 | average | Memory Reserved Capacity % | |||
Percent of memory that has been reserved either through VMkernel use, by userworlds or due to virtual machine memory reservations. | |||||||||
shared | absolute | kiloBytes | 2 (4) | 4 | average (minimum) (maximum) (none) | Shared | VirtualMachine HostSystem ResourcePool | aggregate | |
Amount of guest memory that is shared with other virtual machines,
relative to a single virtual machine or to all powered-on virtual machines on a host.
| |||||||||
sharedcommon | absolute | kiloBytes | 2 (4) | 4 | average (minimum) (maximum) (none) | Shared common | HostSystem | aggregate | |
Amount of machine memory that is shared by all powered-on virtual machines and vSphere services on the host. Subtract this metric from the shared metric to gauge how much machine memory is saved due to sharing:
shared - sharedcommon = machine memory (host memory) savings (KB) | |||||||||
state | absolute | number | 2 | 3 | latest | State | HostSystem | aggregate | 3.5.0 4.0.0 4.1.0 5.0.0 |
One of four threshold levels representing the percentage of free memory on the host.
The counter value determines swapping and ballooning behavior for memory reclamation.
2 (hard) and 3 (low): Ballooning is favored over swapping. |
|||||||||
swapin | absolute | kiloBytes | 2 (4) | 4 | average (minimum) (maximum) (none) | Swap in | VirtualMachine HostSystem | aggregate | |
Refers to VMkernel swapping. Amount swapped-in to memory from disk.
|
|||||||||
swapinRate | rate | kiloBytesPerSecond | 1 | 3 | average | Swap in rate | VirtualMachine HostSystem | aggregate | 4.0.0 4.1.0 5.0.0 |
Rate at which memory is swapped from disk into active memory during the interval. This counter applies to virtual machines and is generally more useful than the swapin counter to determine if the virtual machine is running slow due to swapping, especially when looking at real-time statistics. | |||||||||
swapout | absolute | kiloBytes | 2 (4) | 4 | average (minimum) (maximum) (none) | Swap out | VirtualMachine HostSystem | aggregate | |
Amount of memory swapped-out to disk.
|
|||||||||
swapoutRate | rate | kiloBytesPerSecond | 1 | 3 | average | Swap out rate | VirtualMachine HostSystem | aggregate | 4.0.0 4.1.0 5.0.0 |
Rate at which memory is being swapped from active memory to disk during the current interval. This counter applies to virtual machines and is generally more useful than the swapout counter to determine if the virtual machine is running slow due to swapping, especially when looking at real-time statistics. | |||||||||
swapped | absolute | kiloBytes | 2 (4) | 4 | average (minimum) (maximum) (none) | Swapped | VirtualMachine ResourcePool | aggregate | |
Current amount of guest physical memory swapped out to the virtual machine's swap file by the VMkernel.
Swapped memory stays on disk until the virtual machine needs it. This statistic refers to VMkernel
swapping and not to guest OS swapping.
swapped = swapin + swapout |
|||||||||
swaptarget | absolute | kiloBytes | 2 (4) | 4 | average (minimum) (maximum) (none) | Swap target | VirtualMachine | aggregate | |
Target size for the virtual machine swap file. The VMkernel manages swapping by comparing swaptarget against swapped. Since swapped memory stays swapped until the virtual machine accesses it, swapped memory can be greater than the memory swap target, possibly for a prolonged period of time. This simply means that the swapped memory is not currently needed by the virtual machine and is not a cause for concern. | |||||||||
swapunreserved | absolute | kiloBytes | 4 | 4 | average (minimum) (maximum) (none) | Swap unreserved | |||
Amount of memory that is unreserved by swap | |||||||||
swapused | absolute | kiloBytes | 2 (4) | 4 | average (minimum) (maximum) (none) | Swap used | HostSystem | aggregate | |
Amount of memory that is used by swap. Sum of memory swapped of all powered on VMs and vSphere services on the host. | |||||||||
sysUsage | absolute | kiloBytes | 2 (4) | 4 | average (minimum) (maximum) (none) | Used by VMkernel | HostSystem | aggregate | |
Amount of machine memory used by VMkernel for core functionality, such as device drivers and other internal uses. Does not include memory used by virtual machines or vSphere services. | |||||||||
totalCapacity | absolute | megaBytes | 2 | 3 | average | Total capacity | HostSystem | aggregate | 4.1.0 5.0.0 |
Total amount of memory reservation used by and available for powered-on virtual machines and vSphere services on the host. | |||||||||
totalmb | absolute | megaBytes | 1 | 3 | average | Total | |||
Total amount of machine memory of all hosts in the cluster that is
available for virtual machine memory (physical memory for use by the
Guest OS) and virtual machine overhead memory.
Memory Total = Aggregate host machine memory - (VMkernel memory + Service Console memory + other service memory) | |||||||||
unreserved | absolute | kiloBytes | 2 (4) | 4 | average (minimum) (maximum) (none) | Unreserved | HostSystem | aggregate | |
Amount of memory that is unreserved. Memory reservation not used by the Service Console, VMkernel, vSphere services and other powered on VMs user-specified memory reservations and overhead memory. This statistic is no longer relevant to virtual machine admission control, as reservations are now handled through resource pools. | |||||||||
usage | absolute | percent | 1 (4) | 4 | average (minimum) (maximum) (none) | Usage | VirtualMachine HostSystem | aggregate | |
Memory usage as percentage of total configured or available memory, expressed as a hundredth of a percent (1 = 0.01%). A value between 0 and 10,000. | |||||||||
vmmemctl | absolute | kiloBytes | 1 (4) | 4 | average (minimum) (maximum) (none) | Balloon | VirtualMachine HostSystem ResourcePool | aggregate | |
Amount of memory allocated by the virtual machine memory control driver (vmmemctl), which is installed with VMware Tools. It is a VMware exclusive memory-management driver that controls ballooning.
|
|||||||||
vmmemctltarget | absolute | kiloBytes | 2 (4) | 4 | average (minimum) (maximum) (none) | Balloon target | VirtualMachine | aggregate | |
Target value set by VMkernal for the virtual machines memory balloon size.
In conjunction with vmmemctl metric, this metric is used by VMkernel to inflate
and deflate the balloon for a virtual machine, as follows:
| |||||||||
zero | absolute | kiloBytes | 2 (4) | 4 | average (minimum) (maximum) (none) | Zero | VirtualMachine HostSystem ResourcePool | aggregate | |
Memory that is contains 0s only. Included in shared
amount. Through transparent page sharing, zero memory pages can be shared among virtual machines that run the same
operating system.
|
|||||||||
zipSaved | absolute | kiloBytes | 2 | 3 | latest | Memory saved by zipping | VirtualMachine | aggregate | 4.1.0 5.0.0 |
Memory (in kilobytes) saved due to memory zipping. | |||||||||
zipped | absolute | kiloBytes | 2 | 3 | latest | Zipped memory | VirtualMachine | aggregate | 4.1.0 5.0.0 |
Memory zipped (in kilobytes). |
Back to Top of page