Pcornel
Virtualization · Monitoring

Storage Latency

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

Back to the Topic

Answer

Storage latency is the time a disk I/O takes to complete. For VMs, sustained latency above about 20 ms (or a few ms on flash) indicates a problem; split it into guest, kernel/queue and device latency to find where it comes from.

Remember

  • Split latency into guest, kernel/queue and device.
  • Sustained >20 ms (HDD) or a few ms (flash) is bad.
  • Queue full = saturation.

First checks

  • iostat -x 1 — device latency
  • esxtop — DAVG/KAVG/GAVG
  • Get-Counter '\Hyper-V Virtual Storage Device(*)\Latency' — Hyper-V latency

Verify in this order

guest I/O → host → storage latency

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.

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

Confirmation

Confirm action

Continue?