Use this when VMs feel slow on disk and you need to prove where the latency comes from.
Storage Latency · Monitoring
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.
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.
guest I/O → host → storage latency
Context & applicabilityCommon mistakes · platform/version boundaries
- Watching averages that hide spikes.
- Blaming the array without checking host queue depth (KAVG).
- Ignoring latency during backups.
Operational reference
Fast context before you go deeper.
esxtop → u / v (DAVG, KAVG, GAVG)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.
- Split latency into guest, kernel/queue and device.
- Sustained >20 ms (HDD) or a few ms (flash) is bad.
- Queue full = saturation.
iostat -x 1— device latencyesxtop— DAVG/KAVG/GAVGGet-Counter '\Hyper-V Virtual Storage Device(*)\Latency'— Hyper-V latency
ReferenceWhy it matters1 section · depth on demand
Reading latency
| Layer | Metric (ESXi esxtop) | Meaning |
|---|---|---|
| Guest | GAVG | What the VM sees |
| Device | DAVG | Array, fabric and HBA |
| Kernel | KAVG | Queuing 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:
| Storage | Healthy average | Investigate |
|---|---|---|
| All-flash / NVMe | < 1 ms | > 2–5 ms sustained |
| Hybrid | 2–10 ms | > 20 ms |
| HDD-only | 5–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.
Thresholds
| Latency | Meaning |
|---|---|
| < 1 ms | All-flash, healthy |
| 1–5 ms | Normal for many arrays |
| 10–20 ms | Users notice; investigate |
| > 20–30 ms | Problem for most workloads |
Look at 95th-percentile latency per datastore and per VM disk, not daily averages.
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%