Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

High CPU

Direct answer

Correlate guest CPU demand with vCPU allocation and hypervisor scheduling: guest process demand → vCPU runnable time → scheduler wait/run → physical CPU/NUMA → workload throughput.

When to use this

Use it when the symptom is “High CPU”: work through the layers in order and stop at the first one that fails.

First 30 seconds

1. High CPU: real demand inside guest vs host contention.

2. Guest: find the process.

3. Host: check overcommit and noisy neighbours.

4. Check CPU limits.

5. Right-size or move.

Operational verification

guest process → vCPU → host CPU

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

High CPU shows execution demand or measured busy time at the observed layer, but it does not show the limiting resource or justify adding vCPUs.

Platform / version applicability
virtualization
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization
Scope / prerequisiteUse it when the symptom is “High CPU”: work through the layers in order and stop at the first one that fails.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

Guest process demand → vCPU runnable state → hypervisor scheduler → pCPU/NUMA → execution time → workload result

Evidence references

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.

observation · 1
Key points
  • Guest CPU 100% can mean productive saturation inside the guest and does not by itself prove host CPU shortage.
  • Host CPU high ≠ one VM is the cause; aggregate demand, emulator threads, interrupts and other workloads may contribute.
  • More vCPUs ≠ more performance; oversized VMs can increase scheduling and NUMA cost.
  • CPU usage ≠ CPU ready/scheduling delay; both demand and wait must be examined.
Key checks
  • top — guest process using CPU
  • virt-top — VM CPU on host
  • esxtop — %USED vs %RDY
ReferenceImportant terms & boundaries3 sections · depth on demand

What this shows and what it does not

High CPU shows execution demand or measured busy time at the observed layer, but it does not show the limiting resource or justify adding vCPUs.

and state what the evidence does not show.

In depth

Is the CPU burned inside the guest or around it?

Observation on the hostMeaning
qemu process CPU ≈ guest's own CPU usageGuest workload — investigate inside the guest
qemu CPU much higher than guest CPUEmulation overhead: emulated devices (e1000, IDE), timer storms, high interrupt rate
vhost-* kernel threads busyNetwork I/O processing for VirtIO NICs
iothread / kvm-pit / kworker busyDisk I/O or timer handling
top -H -p $(pgrep -f 'qemu.*-id 101')      # per-thread: CPU 0/KVM, CPU 1/KVM … are vCPUs
# virsh domstats web01 --vcpu --cpu-total
Domain: 'web01'
  cpu.time=8231460000000
  vcpu.current=4
  vcpu.0.time=2051000000000
  vcpu.0.wait=1830000000

The virsh manual documents domstats with vCPU groups; sampling vcpu.N.time twice and dividing by the interval gives per-vCPU utilisation. vcpu.N.wait is time the vCPU waited for a host CPU — high values point to contention, not guest load.

Inside the guest

ToolLook for
top / htopWhich process; st (steal) column
perf topKernel vs user functions
Windows Task Manager / Get-CounterProcess; % Interrupt Time

A guest at 100 % with high steal is starved by the host; at 100 % with low steal it is genuinely busy.

Common virtual-specific causes

  • Emulated NIC or disk controller instead of VirtIO → switch models, install drivers.
  • Windows guests without Hyper-V enlightenments (hv_* flags; Proxmox sets them for ostype win*) → high CPU from timers.
  • Guest without guest agent spinning on unanswered requests is rare; more often anti-virus scans or update services inside the guest.
  • vCPU count too high for the workload: more vCPUs can raise overhead without adding throughput.

*The KVM thread and libvirt CPU statistics above are illustrative examples, not captured from a lab or production host.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

High CPU in a VM:

1. Inside the guest: which process? (top -H, Process Explorer, perf top).

2. Is it real work or spinning (antivirus scan, runaway service, crypto-miner)?

3. Compare guest CPU with host view: high guest CPU plus high ready/steal means the VM gets too little CPU, not that it needs more vCPUs.

4. Check for CPU limits and outdated tools (time-drift loops, interrupt storms with emulated devices).

esxtop (c → V): %USED, %RDY, %CSTP, %MLMTD (limit)
virsh domstats vm1 --cpu-total

%MLMTD > 0 on ESXi means a CPU limit is throttling the VM.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization current

Authoritative/upstream documentation reviewed for bounded claims in Virtualization Troubleshooting → High CPU. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/docs.html · confidence 94%
Terminology layer

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.

Aliases that resolve here
vm high cpuvirtual machine cpu highguest cpu usagehypervisor cpu troubleshooting
Embedded reference data

Quick lookup tables

Virtualization Troubleshooting → High CPU troubleshooting map

Fast fault-isolation boundaries and proof limits for Virtualization Troubleshooting → High CPU.

BoundaryWhat to verifyEvidence limit
Symptom/scopeExact failing test, affected VM/host/cluster and incident time are definedSymptom classification does not identify root cause
Observed boundaryConfiguration, runtime and counters/logs for this Virtualization Troubleshooting → High CPU boundary are time-correlatedOne healthy or failed status does not prove adjacent dependencies
Adjacent dependencyThe next host, storage, network, device, guest or cluster dependency is tested independentlyLocal success does not prove end-to-end health
VerificationThe original workload test succeeds after one controlled change and remains healthy in regression checksTemporary recovery alone is not durable proof
Confirmation

Confirm action

Continue?