Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Overcommit Ratio

Direct answer

The overcommit ratio is allocated virtual resources divided by physical ones, such as vCPU:pCore or configured RAM:host RAM. Safe values depend on workload; monitor ready time and memory pressure rather than a fixed rule.

When to use this

Use this when deciding how much CPU or memory to overcommit and checking whether the current ratio is safe.

First 30 seconds

1. Overcommit ratio = allocated / physical.

2. CPU 3–5:1 general; 1:1 for latency-sensitive.

3. Memory ideally ≤1:1 for production.

4. Ratio is a guide; contention metrics decide.

5. Document ratios per cluster.

Operational verification

allocated ÷ physical → ratio

Context & applicabilityCommon mistakes · platform/version boundaries
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 this when deciding how much CPU or memory to overcommit and checking whether the current ratio is safe.
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 Common mistakes Narrow the fault
  • Using a fixed ratio as a rule instead of measuring.
  • Counting hyperthreads as cores.
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 symptom; contention metrics are truth.
  • Memory overcommit is riskier than CPU.
  • Different workloads tolerate different ratios.
Key checks
  • virsh list --name | while read v; do [ -n "$v" ] && virsh vcpucount $v --current --live; done | awk '{s+=$1} END {print s}' — total vCPUs (approx.)
  • nproc — physical threads
  • Get-VM | measure ProcessorCount -Sum — Hyper-V total vCPUs
ReferenceWhy it matters1 section · depth on demand

Typical ratios

ResourceRatioComment
vCPU : pCore3–5:1 general, 1–2:1 criticalWatch CPU ready
vRAM : RAM1–1.2:1Higher only with confirmed low active memory
Thin provisioned : physical storage1.5–2:1Strict free-space alerts

Calculate with one host removed (N+1), not with the full cluster.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Overcommit ratios summarise how far virtual allocations exceed physical resources:

RatioFormulaTypical production target
vCPU : pCoretotal vCPUs ÷ physical cores3–5:1 general
Memoryconfigured VM memory ÷ host RAM≤ 1.0–1.2:1
Storageprovisioned ÷ usableDepends on monitoring; ≤ 2:1 common

Calculate them for the N+1 state (one host down), because that is when contention actually happens.

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 Capacity Planning → Overcommit Ratio. Documentation verification only; this is not observed lab or production Evidence.

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

Confirm action

Continue?