Hot/cold data separation
A flash-placement strategy that groups data by update frequency so frequently overwritten pages and long-lived pages need not share the same cleaning pool.
Hot and cold refer to update frequency, not physical temperature or hot/cold storage tiers. Separation alone is not enough: in an analytic model with greedy cleaning, hot and cold pools that keep the same spare fraction perform the same as uniformly distributed traffic. [1]
The gain comes from giving hot data a larger share of the spare space. For a spare fraction of 0.1 and 64 pages per block, uniform traffic has a write amplification of 4.82. When 90% of writes go to 5% of the address space, naive greedy cleaning gives 6.24 and separation with an optimal division of free space gives 1.86. [1]
Classification can be coarse. In a two-set model, update frequencies differing by about 2x can share placement with little penalty, which suggests bins with exponentially increasing frequency and a tolerance of 50% on each estimate. A multi-log placement built on this reduced cleaning overhead by 20% to 75% against earlier placement schemes on two database I/O traces. [3]
Lifetime measures duration; death time identifies the overwrite or discard endpoint. Equal-duration versions written at different times can die separately. For cleaning, co-invalidation matters in addition to update frequency; logical grouping alone does not establish physical co-placement. [4]
Relations
- related
- Greedy garbage collection, Garbage collection (flash), Over-provisioning, Flash translation layer (FTL), NVMe FDP, Hot storage tier, NVMe reclaim unit, NVMe placement identifier, Block invalidation time
Advantages
- Under heavy update skew, separation with a matched free-space split can bring write amplification close to 1. [1]
Limitations
- Data classification can change with workload; a placement model is not evidence that every controller implements it. [1]
- The analytic gains assume perfect knowledge of each page's update frequency, and a shifting hot set is harder to exploit. [1, 3]
Citations
- Peter Desnoyers. Analytic Modeling of SSD Write Performance. SYSTOR 2012, sections 2-6, Tables 1-2. DOI: 10.1145/2367589.2367603.
- Radu Stoica and Anastasia Ailamaki. Improving Flash Write Performance by Using Update Frequency. PVLDB 6(9), 2013, pp. 733-744
- He et al. The Unwritten Contract of Solid State Drives. EuroSys 2017, section 3.4. DOI: 10.1145/3064176.3064187.
Further reading
Sources & caveats
- desnoyers is the SYSTOR 2012 paper by Desnoyers (Northeastern University), reread on the access date in section 5, Figure 11 and Table 7.
- stoica is the PVLDB 2013 paper by Stoica and Ailamaki (EPFL), read in the abstract, sections 4.2 and 4.3 and the trace evaluation.
- 0.1, 64 pages, 4.82, 90%, 5%, 6.24 and 1.86 come from desnoyers. 2x, 50% and 20% to 75% come from stoica.
- The added invalidation-time distinction uses section 3.4 of unwritten-contract; its historical FTL analysis is not an FDP-device performance measurement.