Pcornel
Storage · Storage Troubleshooting

High Latency

Cheat sheet · https://pcornel.dk/topic.php?topic=4389

Back to the Topic

Answer

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.

Remember

  • 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.

First checks

  • iostat -x 1 — await per device
  • pidstat -d 1 — process doing I/O
  • esxtop / array latency — backend

Commands

multipath -ll

Verify in this order

I/O → queue → device/backend latency

Where it usually breaks

First mismatch in media/provider → controller/pool → logical object → path/protocol → filesystem/share/object namespace → consumer workload; preserve identity/pre-state before mutation.

Storage Troubleshooting → High Latency proof map

Troubleshooting boundaryWhat to verifyProof limit
Scope / identityExact workload, object/device identity, affected hosts and incident windowSymptom naming alone is not root-cause proof
Dependency pathApplication I/O → filesystem/block submission → host queue → multipath/protocol → controller/cache → pool/backend → media → completion latencyHealthy adjacent layers do not prove end-to-end health
Failure boundaryA 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
AcceptanceHealthy 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

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4389

Confirmation

Confirm action

Continue?