Storage Latency
Cheat sheet · https://pcornel.dk/topic.php?topic=3821
Answer
Follow an I/O end to end: guest application → guest filesystem/block stack → virtual disk/controller → hypervisor queue/cache → datastore/protocol → backend device → completion path.
Remember
- High guest disk latency ≠ physical disk failure; delay can accumulate at multiple virtual and backend queues.
- High IOPS ≠ high performance; throughput and latency depend on I/O size, pattern, queueing and backend behavior.
- Datastore online ≠ acceptable latency or healthy every path.
- Low average latency ≠ no tail-latency spikes during the user-visible incident.
First checks
iostat -x 1— awaitesxtop— DAVG/KAVG/GAVGqemu-img info --backing-chain <disk>— snapshot chain
Verify in this order
guest I/O → host queue → fabric → array
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
Virtualization Troubleshooting → Storage Latency troubleshooting map
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Symptom/scope | Exact failing test, affected VM/host/cluster and incident time are defined | Symptom classification does not identify root cause |
| Observed boundary | Configuration, runtime and counters/logs for this Virtualization Troubleshooting → Storage Latency boundary are time-correlated | One healthy or failed status does not prove adjacent dependencies |
| Adjacent dependency | The next host, storage, network, device, guest or cluster dependency is tested independently | Local success does not prove end-to-end health |
| Verification | The original workload test succeeds after one controlled change and remains healthy in regression checks | Temporary recovery alone is not durable proof |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3821