Write Amplification
Cheat sheet · https://pcornel.dk/topic.php?topic=3866
Answer
Additional writes can arise from flash garbage collection, copy-on-write, parity, replication, metadata, journaling, checksums, snapshots, deduplication or small-write transformations. Amplification consumes bandwidth, endurance and latency budget, so frontend write rate alone can understate backend pressure.
Remember
- Logical writes ≠ physical writes.
- Write amplification is not one universal device-only metric; it can occur at several layers.
- Replication increases backend bytes intentionally and should be distinguished from inefficient rewrite amplification.
- A low logical write rate can still create heavy media activity.
First checks
nvme smart-log /dev/nvme0— host vs media writes (vendor log)zpool iostat -v— ZFS write amplification viewsmartctl -A /dev/sdX | grep -i -e host_writes -e nand_writes— SATA SSD
Verify in this order
host write → layers → more media writes
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 Amplification 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=3866