Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Resource Contention

Direct answer

Resource contention happens when VMs demand more CPU, memory, storage or network than the host can deliver. It shows as CPU ready, ballooning or swapping, high disk latency or dropped packets, and is fixed by rebalancing, right-sizing or adding capacity.

When to use this

Use this when VMs compete for CPU, memory, storage or network and you must find which.

First 30 seconds

1. Contention = demand > supply on CPU, memory, disk or network.

2. Symptoms: ready/steal, ballooning, latency, drops.

3. Find the noisy VM.

4. Rebalance, right-size or add capacity.

5. Use controls only after.

Operational verification

demand > supply → wait/reclaim/queue

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 VMs compete for CPU, memory, storage or network and you must find which.
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.

2 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
  • Compare host utilisation with VM demand at the same time.
  • Find the noisy VM (top consumer).
  • Use shares/reservations or move VMs; add capacity if contention is regular.
Step 2 Common mistakes Narrow the fault
  • Adding vCPUs to a VM suffering from CPU ready (makes it worse).
  • Ignoring storage contention from backup jobs.
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
  • Find the scarce resource first.
  • Contention metrics prove it.
  • Fix by rebalance, right-size or add.
Key checks
  • esxtop — %RDY, MCTL, DAVG per VM
  • vmstat 1; iostat -x 1 — host contention
  • Get-Counter '\Hyper-V Hypervisor Virtual Processor(*)\CPU Wait Time Per Dispatch' — Hyper-V CPU wait
ReferenceWhy it matters1 section · depth on demand

How contention shows

ResourceSign
CPUHigh ready/steal time
MemoryBallooning, compression, host swapping
StorageHigh device/queue latency
NetworkDrops and saturated uplinks
ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Resource contention shows up as waiting, not as "100 % used":

ResourceContention metric
CPUCPU ready, co-stop, steal time
MemoryBalloon, swap, compression, Hyper-V pressure > 100
StorageLatency (KAVG/DAVG), queue depth, throttling
NetworkDrops, retransmits, egress queue drops

Find the noisy neighbour by sorting per-VM usage when contention starts (esxtop, virt-top, Get-VM | Measure-VM with resource metering enabled), then move, limit or right-size 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 Resource Management → Resource Contention. 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?