Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Storage Latency · Monitoring

Direct answer

Storage latency is the time a disk I/O takes to complete. For VMs, sustained latency above about 20 ms (or a few ms on flash) indicates a problem; split it into guest, kernel/queue and device latency to find where it comes from.

When to use this

Use this when VMs feel slow on disk and you need to prove where the latency comes from.

First 30 seconds

1. Storage latency is the best storage health signal.

2. Measure per VM and per datastore.

3. Sustained >20 ms needs attention.

4. Correlate with IOPS and queue.

5. Check backend.

Operational verification

guest I/O → host → storage latency

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Watching averages that hide spikes.
  • Blaming the array without checking host queue depth (KAVG).
  • Ignoring latency during backups.
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
Key commandesxtop → u / v (DAVG, KAVG, GAVG)
Scope / prerequisiteUse this when VMs feel slow on disk and you need to prove where the latency comes from.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
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
  • Split latency into guest, kernel/queue and device.
  • Sustained >20 ms (HDD) or a few ms (flash) is bad.
  • Queue full = saturation.
Key checks
  • iostat -x 1 — device latency
  • esxtop — DAVG/KAVG/GAVG
  • Get-Counter '\Hyper-V Virtual Storage Device(*)\Latency' — Hyper-V latency
ReferenceWhy it matters1 section · depth on demand

Reading latency

LayerMetric (ESXi esxtop)Meaning
GuestGAVGWhat the VM sees
DeviceDAVGArray, fabric and HBA
KernelKAVGQueuing in the hypervisor (should be < 1–2 ms)

High DAVG points to storage or the path; high KAVG points to queue depth limits or contention on the host. On Linux/KVM use iostat -x (await) on the host and in the guest.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Storage latency per VM disk is the best single indicator of storage trouble. Typical targets:

StorageHealthy averageInvestigate
All-flash / NVMe< 1 ms> 2–5 ms sustained
Hybrid2–10 ms> 20 ms
HDD-only5–20 ms> 30 ms

Alert on sustained latency (e.g. 5-minute average) rather than single spikes, and correlate with IOPS — rising latency at flat IOPS means something got slower; rising with IOPS means load grew.

ReferenceConfiguration & state1 section · depth on demand

Commands

esxtop → u / v (DAVG, KAVG, GAVG)
iostat -x 1
Get-Counter '\PhysicalDisk(*)\Avg. Disk sec/Read','\PhysicalDisk(*)\Avg. Disk sec/Write'
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 Monitoring → Storage Latency. 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?