Pcornel
Storage · Storage Monitoring

Latency

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

Back to the Topic

Answer

Storage latency monitoring measures how long each I/O takes, split into read and write and by layer — guest, host queue, device. Rising latency is usually the first sign of contention or failing hardware.

Remember

  • Latency is what users feel.
  • Split guest, host queue and device latency.
  • Rising latency precedes outages.

First checks

  • iostat -x 1 — await
  • rate(node_disk_read_time_seconds_total[5m]) / rate(node_disk_reads_completed_total[5m]) — Prometheus read latency
  • esxtop — DAVG/GAVG

Verify in this order

I/O time ÷ operations → latency → alert

Where it usually breaks

First mismatch in workload → filesystem/volume → queue/cache → path/protocol → controller/pool → media/backend → observed completion; preserve identity/pre-state before mutation.

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

Confirmation

Confirm action

Continue?