Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

VM Is Slow

Direct answer

Translate “slow” into a measured bottleneck: workload transaction → guest CPU/memory/I/O/network demand → virtual scheduling/device queues → host resource contention → backend dependency → response time.

When to use this

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

First 30 seconds

1. Slow VM: find the bottleneck — CPU (ready/steal), memory (ballooning/swap), storage (latency), network.

2. Compare guest and host metrics.

3. Check recent changes.

4. Check snapshots.

5. Fix the biggest wait.

Operational verification

user slowness → guest metrics → host contention → resource

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

It does not show root cause from one status, counter, alert or log line, and it does not show unobserved adjacent or end-to-end health. “Slow” is not a resource diagnosis; the first step where demand waits, queues, retries or is throttled must be measured before tuning.

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 “VM Is Slow”: 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

Workload latency → guest demand → vCPU/memory/device queues → host contention → storage/network backend → external dependency → response

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
  • High utilization ≠ bottleneck; a resource can be busy while another boundary determines response time.
  • Low host average CPU ≠ low VM scheduling delay when contention is localized to cores, NUMA nodes or limits.
  • Guest disk busy ≠ physical storage bottleneck; latency can arise in virtual queues, datastore, network or backend media.
  • A temporary improvement after restart ≠ durable fix unless the original workload and contention condition are reproduced.
Key checks
  • vmstat 1 — steal/IO wait in guest
  • esxtop / virt-top — host-side contention
  • iostat -x 1 — storage latency
ReferenceWhy it matters1 section · depth on demand

Method

"The VM is slow" — measure before changing anything:

LayerMetricPoints to
GuestCPU, memory, disk queue, app logsApplication or sizing
VM CPUReady/steal, co-stop, limitsHost contention or limits
VM memoryBalloon, swapHost memory pressure
VM diskLatency (GAVG/DAVG), IOPS limitsStorage
VM networkDrops, retransmitsvNIC/vSwitch/physical
SnapshotsOld/large snapshotsChain overhead

Compare with a baseline from monitoring; "slow" without numbers is not yet a diagnosis.

ReferenceImportant terms & boundaries3 sections · depth on demand

What this shows and what it does not

“Slow” is not a resource diagnosis; the first step where demand waits, queues, retries or is throttled must be measured before tuning.

In depth

A layered method for "the VM is slow"

1. Define slow: which operation, how slow, since when, compared with what.

2. Guest view: CPU, memory, disk, network inside the VM.

3. Virtual hardware: device models, drivers, guest agent, vCPU/memory sizing.

4. Host view: contention on CPU, RAM, storage, network for that VM.

5. Shared infrastructure: storage array/Ceph, network, other VMs at the same time.

Guest vs. host at the same moment

Inside the guestOn the hostInterpretation
CPU high, steal lowVM's vCPU threads busyGuest workload
CPU moderate, steal highHost run queue longHost CPU contention
Disk await highSame latency on host block deviceStorage is slow
Disk await highHost latency lowVirtual disk path: cache mode, IDE/SATA emulation, missing iothread
SwappingHost has free RAMVM sized too small
Ballooned memory, swappingHost RAM pressureHost overcommitted

Host-side per-VM data

# virsh domstats web01 --vcpu --block --interface --balloon
  vcpu.0.time=...  vcpu.0.wait=...
  block.0.rd.times=...  block.0.wr.times=...  block.0.rd.reqs=...
  balloon.current=8388608  balloon.maximum=16777216

virsh domstats (documented in the virsh manual) gives cumulative counters; sample twice and divide by the interval. block.N.wr.times / wr.reqs is average write latency in nanoseconds; vcpu.N.wait is CPU waiting time; balloon.current < maximum shows ballooning.

Typical virtualisation-specific fixes

FindingFix
IDE/SATA or e1000 devicesVirtIO SCSI / VirtIO NIC with drivers
cache=none missing on shared storage with heavy writes, or writeback without UPSUse defaults appropriate to the storage (Proxmox default none)
No iothread for busy disksEnable iothread (VirtIO SCSI single)
CPU type kvm64/qemu64Modern model to expose AES-NI, AVX
Time drift, slow timers in WindowsHyper-V enlightenments (Proxmox ostype win*)

Change one thing at a time and measure the same operation again.

*The libvirt CPU, disk, interface and balloon metrics 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.
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 → VM Is Slow. 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 is slowslow virtual machinevirtual machine performance issuevm latency
Embedded reference data

Quick lookup tables

Virtualization Troubleshooting → VM Is Slow troubleshooting map

Fast fault-isolation boundaries and proof limits for Virtualization Troubleshooting → VM Is Slow.

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 → VM Is Slow 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?