Write Workload
Cheat sheet · https://pcornel.dk/topic.php?topic=3862
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_awaitfio --rw=randwrite --fsync=1 ...— sync write teststorcli /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/boundary | What to read | Proof limit |
|---|---|---|
| Workload shape | Block size, random/sequential pattern, read/write mix, concurrency and working set | Without workload shape, performance metrics are not comparable |
| Service rate | IOPS and throughput at the same time window | High service rate does not prove low latency or efficiency |
| Delay/queueing | Average plus tail latency and outstanding queue depth | A spike identifies pressure, not automatically root cause |
| Acceptance | Representative workload meets its latency/throughput objective in steady state | Required 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