{
  "slug": "dynamic-wear-leveling",
  "term": "Dynamic wear leveling",
  "aliases": [
    "dynamic wear levelling"
  ],
  "definition": "Dynamic wear leveling spreads flash wear by steering incoming writes to free blocks with low erase counts, leaving blocks that hold unchanged data in place.",
  "note": "Dynamic allocation selects from eligible free blocks, favoring lower erase counts. Dynamic allocation does not itself relocate unchanged live data merely to balance wear; invalidation and reclamation can return an occupied block to the free pool. [wl-brief] [ostep]\n\nStatic wear leveling additionally relocates long-lived data to release lightly worn occupied blocks. This adds copying and can increase write amplification; balancing erase counts does not increase a cell's intrinsic endurance. OSTEP's 10,000-cycle MLC figure is textbook context, not a specification for every MLC device. [ostep]\n\nA worked illustration spreads an unchanged write load from 10% of blocks across all blocks, giving a tenfold idealized time to the cycle limit. This is proportional arithmetic, not a measured service-life gain. Applying it to a device would require accounting for relocation and reclamation costs, usable balancing groups and other failure mechanisms. [wl-brief]",
  "status": "shipping",
  "advantages": [
    {
      "text": "It is easier to implement than static wear leveling, because only free blocks and their erase counts are considered at allocation time.",
      "citationIds": [
        "wl-brief"
      ]
    }
  ],
  "limitations": [
    {
      "text": "Leveling may be confined to groups, for example an SLC-mode partition leveled apart from a TLC-mode partition, so erase counts are balanced within each group rather than across the device.",
      "citationIds": [
        "wl-brief"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-05",
  "related": [
    "wear-leveling",
    "static-wear-leveling",
    "ftl",
    "nand-erase-block"
  ],
  "citations": [
    {
      "id": "wl-brief",
      "title": "KIOXIA. Managed Flash Background Operations Series, Part 3: Understanding Wear Leveling in NAND Flash Memory. Technical brief, February 2023, rev. 1.0.",
      "url": "https://www.kioxia.com.cn/content/dam/kioxia/shared/business/memory/mlc-nand/asset/productbrief/KIOXIA_Understanding_Wear_Leveling_Tech_Brief.pdf",
      "accessed": "2026-11-05"
    },
    {
      "id": "hesela-foundations",
      "title": "Hesela: Wear Leveling, mechanisms and tradeoffs",
      "url": "https://hesela.com/tech/wear-leveling/",
      "accessed": "2026-10-18"
    },
    {
      "id": "saw",
      "title": "Wang and Wong. SAW: System-Assisted Wear Leveling on the Write Endurance of NAND Flash Devices. DAC 2013, sections 1-2.",
      "url": "https://www.comp.nus.edu.sg/~wongwf/papers/DAC13.pdf",
      "accessed": "2026-10-22"
    },
    {
      "id": "ostep",
      "title": "Arpaci-Dusseau. Operating Systems: Three Easy Pieces, chapter 44 Flash-based SSDs, version 1.10, sections 44.4-44.10.",
      "url": "https://pages.cs.wisc.edu/~remzi/OSTEP/file-ssd.pdf",
      "accessed": "2026-11-05"
    }
  ],
  "provenance": [
    "wl-brief is a 2023 technical brief from a NAND flash maker (KIOXIA), read in full; its 10% case is a worked illustration, not a measurement.",
    "saw is a DAC 2013 paper from the National University of Singapore read in sections 1-2; ostep is a free university textbook, chapter 44, version 1.10.",
    "The 10,000-cycle figure is the MLC rating quoted in ostep; ratings differ by cell type and generation.",
    "Citation id kioxia was renamed wl-brief; the document and URL are unchanged.",
    "Arithmetic: 10% of the cycle limit per year over all blocks gives 1 / 0.10 = 10 years.",
    "2026-11-05: qualified the textbook endurance number and the vendor's illustrative lifetime multiplier; allocation eligibility is a block state, not a permanent identity restriction. The cost/coverage caution is Hesela's interpretation, not a vendor measurement."
  ]
}
