VCAP5-DCA Objective 6.2 – Troubleshoot CPU and Memory Performance
Identify resxtop/esxtop metrics related to memory and CPU
From “vSphere Monitoring and Performance”, here are the CPU counters:
Here are more of CPU counters:
From the same pdf, here are the memory counters:
Here are more counters from the same page:
And here is the last page for the memory counters:
Identify vCenter Server Performance Chart metrics related to memory and CPU
From this Communities page:
and here are the memory counters:
Troubleshoot ESXi host and Virtual Machine CPU performance issues using appropriate metrics
From this pdf:
Here is a good summary:
%RDY: Percentage of time a VM was waiting to be scheduled. Possible reasons: too many vCPUs, too many vSMP VMs or a CPU limit setting (Trouble when >10) %CSTP: Percentage of time a ready to run VM has spent in co-descheduling state (Trouble when > 3 to resolve, decrease number of vCPUs on the VM) $MLMTD: Percentage of time a ready to vCPU was no schedules because of a CPU limit setting (Trouble when > 1, to resolve; remove the CPU limit) $SWPWT: How Long a VM has to wait for swapped pages read from disk. (Trouble when > 5, possible reason; memory overcommitment
Also this is from a 4.x document but it applies to 5.0 as well. Here is the document: “Performance Troubleshooting for VMware vSphere 4.1”. From that document:
Here is a similar diagram for Guest CPU saturation:
Troubleshoot ESXi host and Virtual Machine memory performance issues using appropriate metrics
From this pdf:
Here is a good summary:
MCTLSZ: Amount of guest physical memory (MB) the ESXi Host is reclaiming by balloon driver. (Trouble when > 1) ZIP/s: Values larger than 0 indicates that the host is actively compressing memory (Trouble when > 1) UNZIP/s: Values larger than 0 indicate that the host is accessing compressed memory (Reason for this behavior is memory overcommitment) SWCUR: Memory (in MB) that has been swapped by VMkernel (Possible cause is memory overcommitment, Trouble when > 1) CACHEUSD: Memory (in MB) compressed by ESXi Host (Trouble when > 1) SWR/s SWW/s: Rate at which the ESXi host is writing to or reading from swapped memory (Trouble when > 1)
And from “Performance Troubleshooting for VMware vSphere 4.1”:
and here is another flow chart for VM memory issues:
Use Hot-Add functionality to resolve identified Virtual Machine CPU and memory performance issues
If you discover then the VM needs more resources, then follow the instruction laid out in VCAP5-DCA Objective 3.2 to hot add memory or CPU