Over-provisioning
SSD over-provisioning is flash capacity withheld from host-addressable user storage to support controller management such as garbage collection and wear leveling.
The size of the reserve must be stated with its denominator. For physical capacity P and logical capacity L in the same units, the reserve is (P-L)/L on the logical basis and (P-L)/P on the physical basis, so a 20% physical-basis reserve is 25% on the logical basis. Analytic models use both forms, an overprovisioning factor (T-U)/U and a spare factor (T-U)/T. [2] [3]
Under uniformly random writes and greedy cleaning, write amplification depends asymptotically on the overprovisioning factor alone, and for a factor of 0.3 one closed-form expression predicts 2.36 against a simulated 2.35. [2] With skewed traffic, separating hot and cold data and shifting free space toward hot data can bring write amplification close to 1.0. [3] Filesystem free space alone does not establish the controller's valid-page state.
Relations
- related
- Flash translation layer (FTL), Solid-state drive (SSD), Write amplification, Bad block management, NAND channel, Greedy garbage collection, Hot/cold data separation, Discard, Effective spare factor, SSD preconditioning
Advantages
- A larger reserve lowers write amplification under random writes, which reduces flash writes per host byte. [2]
Limitations
- Capacity percentages do not uniquely predict write amplification, because workload, placement and cleaning policy also matter. [3]
- Closed-form results for uniform random writes do not describe traffic with temporal locality, which needs separate models. [3]
Citations
- Xiang and Kurkoski. An Improved Analytic Expression for Write Amplification in NAND Flash. arXiv:1110.4245v1 (2011), sections II-IV, equation 12, Table I.
- Peter Desnoyers. Analytic Modeling of SSD Write Performance. SYSTOR 2012, sections 2-6, Tables 1-2. DOI: 10.1145/2367589.2367603.
Further reading
- Over-provisioning
- Kingston. Understanding SSD Over-provisioning (OP). March 2019; user-capacity denominator.
- Hesela: SSD over-provisioning, capacity denominators and analytical-model limits
Sources & caveats
- xiang is the 2011 arXiv paper on write amplification, re-read for the overprovisioning factor, the asymptotic result and the 0.3 comparison.
- desnoyers is the SYSTOR 2012 paper, re-read for the spare factor, greedy and LRU cleaning models and hot and cold separation.
- The static-wear-leveling entry links here because relocating cold data draws on the same reserve of free blocks.