Use it when the symptom is “CPU Ready / Scheduling”: work through the layers in order and stop at the first one that fails.
CPU Ready / Scheduling
Measure runnable demand separately from execution: guest wants CPU → vCPU runnable → scheduler eligibility → pCPU slot/topology → run time → guest progress.
1. High ready/steal = vCPUs waiting for physical CPUs.
2. Reduce vCPUs of large VMs.
3. Move VMs to less loaded hosts.
4. Remove CPU limits.
5. Check power management.
vCPU runnable → waits → ready/steal
Context & applicabilityCommon mistakes · platform/version boundaries
Elevated ready/scheduling time shows runnable work waited for CPU scheduling; it does not by itself identify which constraint or competing workload caused the wait.
Operational reference
Fast context before you go deeper.
Verification & 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 Verification path Verify boundary
Guest runnable work → vCPU → scheduler eligibility → pCPU/NUMA availability → execution → guest latency/throughput
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.
- CPU ready is scheduling wait, not guest CPU utilization.
- Low average host CPU ≠ zero scheduling contention when cores, NUMA nodes, affinity or reservations constrain placement.
- A single ready percentage has platform-specific units/intervals and must be interpreted with sampling context.
- Adding vCPUs can worsen co-scheduling or topology pressure instead of reducing wait.
esxtop— %RDY and %CSTPvmstat 1 (st)— steal on KVMvirsh schedinfo <vm>— limits
ReferenceImportant terms & boundaries3 sections · depth on demand
What this shows and what it does not
Elevated ready/scheduling time shows runnable work waited for CPU scheduling; it does not by itself identify which constraint or competing workload caused the wait.
and state what the evidence does not show.
In depth
Ready time / steal time — same phenomenon, different names
A vCPU that wants to run but has no physical CPU available waits. vSphere calls this *CPU Ready*, KVM guests see it as steal time, and libvirt exposes it as vCPU wait time.
| Platform | Where to read it |
|---|---|
| KVM guest | top → st, vmstat 1 → st, /proc/stat steal column |
| KVM host (libvirt) | virsh domstats <vm> --vcpu → vcpu.N.wait (documented in the virsh manual), perf sched |
| vSphere | Performance chart CPU Ready (ms per sample) |
Converting vSphere ready milliseconds to percent
Ready % = ready ms ÷ (sample interval s × 1000) × 100, per vCPU.
| Chart | Interval | 1000 ms ready = |
|---|---|---|
| Real-time | 20 s | 5 % |
| Past day | 300 s | 0.33 % |
For a 4-vCPU VM, divide the summed value by 4 to get per-vCPU ready. Sustained values above roughly 5 % per vCPU usually mean users notice latency.
Causes and fixes
| Cause | Fix |
|---|---|
| Too many busy vCPUs per physical core on the host | Move VMs, add hosts |
| Large VMs (many vCPUs) waiting for enough free cores | Right-size vCPU count |
| CPU limits / quotas | Remove or raise the limit (throttling also shows as wait) |
| Host power saving / low clock | Performance governor (cpupower frequency-set -g performance) |
| Noisy neighbour | Shares, separate hosts, or pinning for latency-critical VMs |
KVM check on the host
$ vmstat 1 5 # r column: runnable tasks; sustained r > physical cores = contention
$ ps -eLo pid,tid,psr,pcpu,comm | grep 'CPU .*KVM' | sort -k4 -nr | head
Interpretation discipline
Steal inside one guest proves contention on its host at that time; it does not identify the noisy VM. Correlate with per-VM CPU on the host for the same time window before moving workloads.
*The run-queue and vCPU scheduling checks above are illustrative examples, not captured from a lab or production host.*
Method
CPU ready / scheduling delays:
| Cause | Fix |
|---|---|
| Host CPU overcommitted | Move VMs (DRS), add hosts |
| Oversized VMs (many idle vCPUs) | Reduce vCPU count |
| CPU limits | Remove or raise |
| Large VMs spanning NUMA | Right-size to one NUMA node |
| Power management throttling | BIOS/host power policy "High performance" |
| Latency-sensitive VM co-located with batch | Shares/reservations, separate hosts |
# PowerCLI realtime: ready % per vCPU over 20 s samples
Get-Stat -Entity app01 -Stat cpu.ready.summation -Realtime -MaxSamples 15 | ? Instance -ne '' | Select Instance,@{n='Ready%';e={[math]::Round($_.Value/20000*100,1)}}
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 Virtualization Troubleshooting → CPU Ready / Scheduling. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Virtualization Troubleshooting → CPU Ready / Scheduling troubleshooting map
Fast fault-isolation boundaries and proof limits for Virtualization Troubleshooting → CPU Ready / Scheduling.
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Symptom/scope | Exact failing test, affected VM/host/cluster and incident time are defined | Symptom classification does not identify root cause |
| Observed boundary | Configuration, runtime and counters/logs for this Virtualization Troubleshooting → CPU Ready / Scheduling boundary are time-correlated | One healthy or failed status does not prove adjacent dependencies |
| Adjacent dependency | The next host, storage, network, device, guest or cluster dependency is tested independently | Local success does not prove end-to-end health |
| Verification | The original workload test succeeds after one controlled change and remains healthy in regression checks | Temporary recovery alone is not durable proof |