Use it when the symptom is “High Latency”: work through the layers in order and stop at the first one that fails.
High Latency
Latency is end-to-end completion time. Break it across host queue/service, protocol/path, controller/cache, pool and media instead of treating one average metric as the cause.
1. High latency: overload, failing disk, rebuild, snapshot chains, network loss, controller cache degraded.
2. Find which layer adds latency.
3. Check queue depth.
4. Remove contention.
5. Re-measure.
I/O → queue → device/backend latency
Context & applicabilityCommon mistakes · platform/version boundaries
A latency spike shows requests took longer to complete at the measured boundary; it does not identify the constrained component unless adjacent timing and queue evidence agree.
Suspicious evidence includes growing queues, service-time spikes, retransmits/path failover, cache destaging pressure, recovery activity or media retries matching the incident window.
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
Application I/O → filesystem/block submission → host queue → multipath/protocol → controller/cache → pool/backend → media → completion latency
Healthy evidence shows latency percentiles returning to baseline for the same workload shape with stable queues and no correlated backend faults.
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.
- High latency ≠ high IOPS automatically.
- Average latency ≠ tail latency; spikes can dominate user experience.
- Busy utilization ≠ constrained boundary without queue/service-time evidence.
- Low network RTT ≠ low storage I/O latency.
iostat -x 1— await per devicepidstat -d 1— process doing I/Oesxtop / array latency— backend
ReferenceImportant terms & boundaries3 sections · depth on demand
Scope and what the checks show
A latency spike shows requests took longer to complete at the measured boundary; it does not identify the constrained component unless adjacent timing and queue evidence agree.
In depth
Latency is time per I/O; find where the time is spent
The kernel exposes per-device counters in /proc/diskstats and /sys/block/<dev>/stat. The iostats documentation describes them: completed reads/writes, merged requests, sectors, milliseconds spent reading and writing, I/Os currently in progress, total time doing I/O, and a weighted time that reflects both completion time and backlog. iostat turns those counters into rates.
$ iostat -x 1 3 sdb
Device r/s w/s rkB/s wkB/s r_await w_await aqu-sz %util
sdb 120.0 850.0 1920.0 27200.0 4.10 38.50 32.70 99.80
| Field | Derived from | Meaning |
|---|---|---|
r_await/w_await | Time reading/writing ÷ completed I/Os | Average latency including queueing |
aqu-sz | Weighted time | Average queue length |
%util | Time doing I/O | Share of time with at least one I/O in flight |
%util near 100 % does not prove saturation on SSDs, NVMe or SAN LUNs, because they serve many I/Os in parallel. Latency and queue length are more meaningful.
Narrow it down
| Pattern | Likely location |
|---|---|
High w_await, writes dominate, small I/O | Sync writes, RAID 5/6 write penalty, full cache |
| Latency high on all LUNs from one array | Array or fabric, not the host |
| Latency high only on one path device | That path; check multipath -ll |
| Latency high in a VM, normal on the host | Guest queue/driver or host CPU contention |
| Latency spikes at fixed times | Backup, scrub, snapshot or rebuild jobs |
Then look per process
iotop -o or pidstat -d 1 shows which processes generate the I/O. Compare with a quiet baseline before deciding a device is slow.
*The iostat queue depth and await figures are illustrative performance readings rather than captured device telemetry.*
Method
High storage latency: decide where the time is spent.
| Layer | Linux | Windows | ESXi |
|---|---|---|---|
| Device/array | iostat -x r_await/w_await | Avg. Disk sec/Read,Write | DAVG |
| Host queue | aqu-sz, /sys/block/*/queue/nr_requests | Current Disk Queue Length | KAVG, QUED |
| Guest view | application metrics | — | GAVG |
Then ask: did load increase (more IOPS) or did service time increase at the same load? Load increase → find the new workload (backup, scrub, rebuild, noisy VM). Same load, higher latency → failing disk, path failover to non-optimized paths, cache in write-through, array CPU saturation, network errors.
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 Storage Troubleshooting → High Latency. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.kernel.org/block/index.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
Storage Troubleshooting → High Latency proof map
Fast scope, dependency, failure-boundary and acceptance checks for Storage Troubleshooting → High Latency.
| Troubleshooting boundary | What to verify | Proof limit |
|---|---|---|
| Scope / identity | Exact workload, object/device identity, affected hosts and incident window | Symptom naming alone is not root-cause proof |
| Dependency path | Application I/O → filesystem/block submission → host queue → multipath/protocol → controller/cache → pool/backend → media → completion latency | Healthy adjacent layers do not prove end-to-end health |
| Failure boundary | A latency spike proves requests took longer to complete at the measured boundary; it does not identify the constrained component unless adjacent timing and queue evidence agree. | Correlate evidence for the same operation and timestamps |
| Acceptance | Healthy evidence shows latency percentiles returning to baseline for the same workload shape with stable queues and no correlated backend faults. | Close only after the original workload/recovery test and regression check |