NVMe FDP Debugging: Find Where Placement Hints Get Lost
Trace Flexible Data Placement from object lifetime to NVMe writes, then measure write amplification without confusing policy failure with device limits.
By QA Maestro · · 6 min read
Prove the write stream is actually separated
In the FAST ’26 WARP study, write amplification varied with lifetime classification and interference even when FDP was enabled. Start a failed qualification by asking what each write looked like at the host boundary. An application can correctly label hot and cold data while a filesystem, translation layer, or writeback path combines the requests or drops the intended hints.
Inventory the namespace, endurance group, supported placement configuration, and the active mapping from placement identifiers to reclaim unit handles. Capture the application class, bytes, and expected placement alongside the submitted placement identifier where your stack exposes it. Aggregate bytes by class and destination. Request counts can look balanced while almost all bytes go to one handle.
Run three cases with the same invalidation schedule
Create a cold set that lives through the run and a hot set that turns over on a deterministic schedule. Use the same initial occupancy, write sizes, logical address schedule, seeds, and offered rate in all cases. Run through multiple hot-set turnovers and establish a steady observation window before comparing media writes.
The first case uses conventional placement. The second sends the two classes to distinct placements verified to map as intended. The third deliberately collapses both classes to one placement with FDP enabled. If cases two and three look identical, confirm the effective write distribution before investigating reclaim policy. If two improves and three matches conventional placement, the negative control supports the classification hypothesis.
Use a cross-tab to catch a silently collapsed policy
The example below shows application intent at left and bytes observed at submission. Both classes are being sent to the same destination even though the application labeled them correctly. Fix the mapping before increasing run time. Then rerun and confirm that the byte distribution changes at the controller-facing boundary.
Record evidence at the closest available layer. If you can observe hints only at the application and have no visibility at command submission, report that gap. A successful feature configuration readback establishes configuration, not delivery of hints for every write.
Class Intended Submitted A Submitted B
Hot A 800 GiB 0 GiB
Cold B 200 GiB 0 GiBCompare byte deltas over a shared window
Use compatible host-byte and media-byte counters with matching scope and units. Snapshot both at the start and end of the measurement window. If a counter is controller-wide, isolate other namespaces or account for their writes. Record counter resets, configuration changes, and any idle periods included in the measurement.
For example, 2.0 TB of host writes and 3.4 TB of media writes yield 1.70 write amplification. At the same host work, 2.4 TB of media writes yield 1.20. Include raw deltas, achieved throughput, and read and write p99.9. If one run delivered less host work at the same offered rate, investigate backlog and compare at a common achieved rate as a separate experiment.
Separate lifetime mismatch from shared-resource interference
If the write cross-tab is clean and amplification remains high, vary lifetime separation while keeping offered rate and occupancy fixed. If the benefit appears only when lifetimes diverge, the original policy was not separating writes that invalidate together. If it works alone but fails with a co-tenant, rerun with the co-tenant at the same rate and compare each workload’s delivered work and latency independently.
Test after the actual restart or namespace reopen sequence your deployment uses. Reconfirm the effective mapping and host placement policy. Keep evidence of resets and mapping changes with the result so a restart regression cannot be mistaken for normal workload variation.
Make the rollout gate reflect the benefit
Require correct routing, a repeatable improvement in media-byte amplification, and acceptable latency for every affected workload. Set each threshold before testing and repeat on the firmware and device populations in scope. A useful bug report includes the routing cross-tab, occupancy and churn trace, raw counter deltas, and the smallest control that loses or restores the benefit.
Use an emulator to explore why an invalidation pattern might matter. Use results on the actual firmware to qualify the deployment. The two experiments answer different questions and should retain their own evidence.
