Use it to locate where slow VM storage response is introduced rather than relying on a single end-to-end average.
Latency
Storage Latency is the elapsed time between submitting an I/O and receiving completion, with total guest-observed time potentially containing guest queueing, virtualization, host, network/fabric and backend service time.
1. Latency is the key storage metric for VMs.
2. ESXi: GAVG = guest latency, DAVG device, KAVG kernel.
3. >20 ms sustained is usually a problem.
4. Find which layer adds latency.
5. Check queueing.
guest → host queue → fabric → array
Correlate the high-latency interval with queue depth, saturation, retries/errors and workload characteristics.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show a permanent root cause or that averages represent tail behavior.
Next check: Correlate the high-latency interval with queue depth, saturation, retries/errors and workload characteristics.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
submission timestamp → queueing → host/backend service → completion timestamp → percentile analysis → application impact
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.
- Average latency can hide tail latency that affects applications.
- Guest-observed latency includes more layers than raw device service time.
- Low backend latency does not prove the guest path is not queueing elsewhere.
- High latency can be caused by contention, retries, cache flushes, network/fabric issues or backend saturation.
iostat -x 1— await/r_await/w_awaitesxtop (d/u/v views)— DAVG/KAVG/GAVGioping -c 10 /path— quick latency
ReferenceImportant terms & boundaries3 sections · depth on demand
In depth
VM disk latency adds up from guest to device. On VMware, esxtop disk views separate the components:
| Counter | Meaning |
|---|---|
| GAVG | Total latency the guest sees |
| KAVG | Time in the VMkernel (queuing) |
| DAVG | Time at the device/array |
| QAVG | Time in the kernel queue |
GAVG ≈ KAVG + DAVG. High DAVG → storage/fabric; high KAVG → host queue limits, IO throttling or too many busy VMs on one LUN. On KVM, compare guest await with host iostat for the backing device to find where latency is added.
Where to look
| Layer | Tool |
|---|---|
| Guest | iostat -x (await), PerfMon Avg. Disk sec/Transfer |
| ESXi host | esxtop GAVG/DAVG/KAVG |
| KVM host | iostat -x on backing device |
| Array | Vendor latency per volume |
Thresholds
| Latency | Meaning |
|---|---|
| < 1 ms | Flash, healthy |
| 1–10 ms | Normal |
| > 20 ms | Investigate |
Use 95th percentile, not averages.
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 Virtual Storage → Latency. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/storage.html · confidence 94%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.
Quick lookup tables
Virtual Storage → Latency reference map
Fast virtual-storage boundaries for Virtual Storage → Latency.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Guest latency | application/OS view | End-to-end-ish |
| Host latency | virtualization/storage stack | Intermediate |
| Backend latency | service/device time | Backend boundary |
| Tail latency | p95/p99/max | User-impact risk |