Pcornel
Storage · Storage Performance

Read Workload

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

Back to the Topic

Answer

Reads can be satisfied from multiple cache layers or the backing store. A cache-heavy read workload may show excellent application latency while barely exercising the backend, whereas cold reads expose path and media performance. Read behavior therefore depends on working-set size and locality.

Remember

  • Read-heavy ≠ backend-read-heavy when cache hit ratio is high.
  • Successful reads do not prove writes or durability are healthy.
  • Warm-cache latency ≠ cold-read latency.
  • Read throughput can be limited by CPU/decompression/checksum work rather than media bandwidth.

First checks

  • iostat -x 1 — r/s, rMB/s, r_await
  • cat /proc/meminfo | grep -i cache — page cache
  • arc_summary — ZFS read cache hit

Verify in this order

read → cache hit? → device

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.

Storage Performance → Read Workload performance map

Measure/boundaryWhat to readProof limit
Workload shapeBlock size, random/sequential pattern, read/write mix, concurrency and working setWithout workload shape, performance metrics are not comparable
Service rateIOPS and throughput at the same time windowHigh service rate does not prove low latency or efficiency
Delay/queueingAverage plus tail latency and outstanding queue depthA spike identifies pressure, not automatically root cause
AcceptanceRepresentative workload meets its latency/throughput objective in steady stateRequired to close the performance investigation

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

Confirmation

Confirm action

Continue?