Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

CPU Overcommit

Direct answer

CPU overcommit assigns more vCPUs than there are physical cores, relying on VMs not all being busy at once. Moderate ratios are normal; too high a ratio shows up as rising CPU ready or steal time.

When to use this

Use this when deciding how many vCPUs a host can carry, or when CPU contention appears after adding VMs.

First 30 seconds

1. CPU overcommit ratio = total vCPUs / physical cores.

2. Typical 3–5:1 for general workloads.

3. Lower for latency-sensitive.

4. Ready/steal is the real indicator.

5. Reduce oversized VMs first.

Operational verification

vCPUs > pCPUs → scheduling contention

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Applying a fixed ratio without measuring CPU ready.
  • Overcommitting latency-sensitive VMs (VoIP, real-time) together with batch workloads.
  • Counting hyperthreads as full cores when sizing.
  • Forgetting failover capacity — ratios rise when a host fails.
Platform / version applicability
virtualization-hardware
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-hardware
Key commandesxtop → c (%RDY, %CSTP, %USED)
Scope / prerequisiteUse this when deciding how many vCPUs a host can carry, or when CPU contention appears after adding VMs.
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 Checks Verify boundary
esxtop → c (%RDY, %CSTP, %USED)
mpstat 1         # guest %steal

Compute the ratio: total vCPUs of running VMs ÷ physical cores per host. Track it with ready time — the ratio alone says little.

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
  • Ratio is a guide; ready time is the proof.
  • Idle vCPUs still cost scheduling.
  • Large VMs suffer first under overcommit.
Key checks
  • virsh nodeinfo — host pCPU count
  • virsh list --name | xargs -n1 virsh vcpucount --current --live 2>/dev/null — sum vCPUs (approx.)
  • esxtop — ready time
ReferenceWhy it matters1 section · depth on demand

Typical ratios

WorkloadvCPU : physical core
Latency-sensitive, databases1:1 to 2:1
General servers3:1 to 5:1
VDI6:1 to 10:1 or more

The ratio is only a starting point; ready time and actual host CPU usage show whether the cluster is overcommitted. Leave headroom for a host failure (N+1).

ReferenceImportant terms & boundaries2 sections · depth on demand

Typical starting ratios

WorkloadvCPU : core
VDI / light office6–10 : 1
General servers3–5 : 1
Databases / latency-sensitive1–2 : 1

Starting points only — adjust using CPU ready and steal measurements.

In depth

CPU overcommit ratio = total vCPUs ÷ physical cores. Practical starting points:

WorkloadvCPU : pCore
Latency-sensitive / databases1:1 – 2:1
General server VMs3:1 – 5:1
VDI6:1 – 10:1
Dev/testHigher, measured

Worked example: 2 hosts × 32 cores = 64 cores; with N+1 the surviving host has 32 cores. 120 vCPUs on one surviving host = 3.75:1 — acceptable for general workloads if CPU ready stays below ~5 % per vCPU during peaks.

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-hardware current

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

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

Confirm action

Continue?