Use this when reading VM CPU metrics and deciding what they mean.
CPU Usage
Monitor VM CPU with both guest usage and host-side metrics: usage in MHz or percent, ready/steal time and co-stop. High usage needs more CPU; high ready means the host is contended.
1. CPU usage: host and VM.
2. Combine with ready/steal.
3. Guest CPU at 100 % may be steal.
4. Trend over time.
5. Alert on sustained saturation.
vCPU demand → host CPU
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
esxtopVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Averages hiding short CPU contention.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Usage % alone hides contention; read ready time alongside it.
- Ready time shows how long vCPUs waited for a physical core.
- Compare the guest's view with the host's view.
pvesh get /nodes/<node>/qemu/<vmid>/status/current— VM CPUGet-Counter '\Hyper-V Hypervisor Logical Processor(_Total)\% Total Run Time'— host CPUesxtop— CPU and %RDY
ReferenceWhy it matters1 section · depth on demand
Key metrics
| Metric | Meaning | Concern |
|---|---|---|
| Usage % / MHz | CPU consumed | Sustained > 80–90 % in the guest |
| Ready % / steal | Waiting for a physical core | > 5–10 % per vCPU |
Co-stop (%CSTP) | SMP VM waiting for siblings | > 3 % → too many vCPUs |
| Host CPU usage | Whole host | > 80 % leaves no failover headroom |
Alert on ready/steal and host saturation, not just guest usage.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
CPU usage must be read at the right layer:
| View | Meaning |
|---|---|
| Guest CPU % | Utilisation of vCPUs the guest got |
| Host CPU % | Physical utilisation (threads/cores) |
| VM CPU ready/steal | Wanted CPU but waited |
| Entitlement vs demand (vSphere) | What the VM wanted vs received |
A guest at 100 % with low ready time needs more vCPUs or optimisation; a guest at 60 % with high ready time needs less contention, not more vCPUs. Adding vCPUs to an already contended VM often makes it worse.
Key metrics
| Metric | Meaning |
|---|---|
| Host CPU usage | Overall load (plan < 70–80 % at peak) |
| CPU ready / steal | Waiting for physical CPU |
| Co-stop | Too many vCPUs per VM |
| Guest CPU usage | Inside the VM |
High guest CPU with low ready means the VM needs more CPU; high ready means the host is contended.
ReferenceConfiguration & state1 section · depth on demand
Commands
esxtop # c: %USED, %RDY, %CSTP
pvesh get /nodes/<node>/status
Get-Counter '\Hyper-V Hypervisor Logical Processor(_Total)\% Total Run Time'
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Monitoring → CPU Usage. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/html/libvirt-libvirt-domain.html · confidence 94%