Pcornel
Storage · Storage Performance

Write Workload

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

Back to the Topic

Answer

Write performance depends on when an operation may be acknowledged and how much backend work each logical write creates. Write-back cache can reduce apparent latency until buffers fill; synchronous durability requirements may force the request to wait for stable storage or replicated acknowledgement.

Remember

  • Write acknowledgement ≠ durable persistence unless the configured durability semantics guarantee it.
  • Write-back burst speed ≠ sustained backend write rate.
  • Logical write bytes ≠ physical write bytes because of amplification, parity, replication and metadata.
  • Write latency can be dominated by flush/barrier/replication behavior even when raw media bandwidth is high.

First checks

  • iostat -x 1 — w/s, wMB/s, w_await
  • fio --rw=randwrite --fsync=1 ... — sync write test
  • storcli /c0/v0 show all | grep -i cache — write cache

Verify in this order

write → cache → redundancy → media

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 → Write 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=3862

Confirmation

Confirm action

Continue?