{
  "slug": "hot-cold-data-separation",
  "term": "Hot/cold data separation",
  "aliases": [
    "update-frequency data separation"
  ],
  "definition": "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.",
  "note": "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. [desnoyers]\n\nThe 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. [desnoyers]\n\nClassification 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. [stoica]\n\nLifetime 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. [unwritten-contract]",
  "related": [
    "greedy-garbage-collection",
    "garbage-collection",
    "over-provisioning",
    "ftl",
    "nvme-fdp",
    "hot-storage",
    "nvme-reclaim-unit",
    "nvme-placement-identifier",
    "block-invalidation-time"
  ],
  "limitations": [
    {
      "text": "Data classification can change with workload; a placement model is not evidence that every controller implements it.",
      "citationIds": [
        "desnoyers"
      ]
    },
    {
      "text": "The analytic gains assume perfect knowledge of each page's update frequency, and a shifting hot set is harder to exploit.",
      "citationIds": [
        "desnoyers",
        "stoica"
      ]
    }
  ],
  "citations": [
    {
      "id": "desnoyers",
      "title": "Peter Desnoyers. Analytic Modeling of SSD Write Performance. SYSTOR 2012, sections 2-6, Tables 1-2. DOI: 10.1145/2367589.2367603.",
      "url": "https://www.ccs.neu.edu/home/pjd/papers/pjd-systor12.pdf",
      "accessed": "2026-10-22"
    },
    {
      "id": "hesela-op",
      "title": "Hesela: SSD over-provisioning, capacity denominators and analytical-model limits",
      "url": "https://hesela.com/analyses/ssd-overprovisioning-denominators/",
      "accessed": "2026-10-11"
    },
    {
      "id": "stoica",
      "title": "Radu Stoica and Anastasia Ailamaki. Improving Flash Write Performance by Using Update Frequency. PVLDB 6(9), 2013, pp. 733-744",
      "url": "https://www.vldb.org/pvldb/vol6/p733-stoica.pdf",
      "accessed": "2026-10-22"
    },
    {
      "id": "unwritten-contract",
      "title": "He et al. The Unwritten Contract of Solid State Drives. EuroSys 2017, section 3.4. DOI: 10.1145/3064176.3064187.",
      "url": "https://research.cs.wisc.edu/wind/Publications/eurosys17-he.pdf",
      "accessed": "2026-11-02"
    }
  ],
  "status": "shipping",
  "advantages": [
    {
      "text": "Under heavy update skew, separation with a matched free-space split can bring write amplification close to 1.",
      "citationIds": [
        "desnoyers"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-14",
  "provenance": [
    "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."
  ]
}
