SSD Write Cliff Testing: Separate Cache, Heat, and Media State
Qualify sustained SSD write performance at realistic occupancy and distinguish a write cliff from thermal throttling.
By QA Maestro · · 6 min read
Reproduce the slowdown in bytes written
A drive starts at 3.2 GB/s and falls to 800 MB/s. The question is what changes at the transition. Save one-second throughput and latency histograms, cumulative host bytes written, and drive temperature. A single average collapses the burst and sustained periods into a number that predicts neither.
Choose a continuous write workload that matches the application’s request size and address behavior. Start on disposable lab media with a documented initialization method. Report the logical range, prior writes, deallocation policy, and idle time. Filesystem free space is not the same measurement as the LBA history seen by the controller.
Prepare two occupancy states
Compare a lower and a higher logical occupancy relevant to deployment. Build each from the same known starting procedure, then write the specified amount of data and leave the same idle interval. During the timed run overwrite a defined active range so the experiment does not just grow occupancy until the drive slows. Record how the initial fill was produced, including sequential versus random access.
Choose a plateau rule before running. For example, compare five consecutive 60-second windows and require throughput to remain within a 10% band around their mean, with no visible trend. Inspect read tail latency separately if reads matter to the application. This is an engineering rule for the example. For a standards claim, use the convergence procedure and workload in the pinned SNIA test specification.
For workloads using Flexible Data Placement, also verify that placement hints reach the device. The NVMe FDP debugging guide compares placement policies with the same invalidation schedule.
Separate temperature from write history
Rebuild the starting state before each comparison. At fixed occupancy, repeat under two supported cooling conditions. Then hold cooling fixed and compare occupancy. If better cooling moves the transition in elapsed time and the drive reports a thermal event, throttling becomes a stronger hypothesis. If the transition consistently follows bytes written despite stable temperature, examine media-state and cache behavior first.
Log the sensor and sampling interval. A stable composite temperature does not rule out an unsampled internal limit. Similarly, a cliff at a consistent byte count is not a measurement of SLC cache size. Background destaging and reclaim can run during the burst, so more bytes may arrive than the cache held at any one time.
Use a restart control to see what recovers
After the drop, stop writes and keep cooling fixed. Compare a short idle interval against a longer one, using the same trigger and workload on restart. Report how many bytes the drive accepts before the second transition. If burst capacity returns with idle time while the temperature curves remain similar, background destaging is a candidate. If throughput recovers only after cooling or a thermal state clears, pursue the thermal path. If both change together, add a controlled cooling run before assigning cause.
Validate shortcuts against the workload you ship
The SPRandom work presented at SNIA describes a faster route to a near-steady random write state for large drives. For qualification, treat a faster preparation method as a candidate substitute. Compare it with your existing method on the same drive and firmware using repeated runs. Compare the first-write transition, sustained rate, tail latency, and recovery after idle. Agreement on average random write IOPS alone is insufficient when the deployment depends on burst recovery.
A useful split is to use the faster preparation for iteration once equivalence is demonstrated, and retain the slower reference procedure where a compliance profile or a disagreement requires it.
Turn the result into a checkpoint budget
Illustrative runs on the same drive might reach the cliff after 300 GB at low occupancy and 90 GB at high occupancy, with both settling at 0.8 GB/s. A 500 GB checkpoint at high occupancy spends about 28 seconds writing the first 90 GB at 3.2 GB/s and about 513 seconds on the remaining 410 GB. That is roughly nine minutes before software overhead or flush time. Using the burst rate for all 500 GB predicts only 156 seconds.
Qualify with the smallest useful sustained rate across supported occupancy and temperature, then verify a real checkpoint deadline in a mixed read/write run. Attach the throughput curve by time and bytes, and report the amount written before each transition.
