{
  "slug": "chunk-fragmentation",
  "term": "Chunk fragmentation",
  "aliases": [
    "deduplication fragmentation"
  ],
  "definition": "Chunk fragmentation is the dispersion of chunks needed by a deduplicated restore across storage containers or an order poorly matched to the restore sequence.",
  "note": "In an inline design retaining one physical instance per unique chunk, later backups can refer to chunks written into many earlier containers; rewriting schemes can deliberately retain extra copies. [lillibridge2013] With 4 MB containers, a RAID 6 group of 10 drives at 100 MB/s each reads a whole container in about 4 ms, while one seek costs about 10 ms, so restore speed depends mainly on how many containers must be read per restored megabyte. [lillibridge2013]\n\nTwo forms have different costs. Most chunks of a sparse container are never used by the restore, so reading it amplifies I/O, and one study counts a container as sparse below a utilization threshold such as 50%. Chunks of an out-of-order container are needed at separate points of the stream, which costs repeated reads only when the restore cache is smaller than the cache threshold. A larger cache helps the second form but not the first. [fu2014] This is not NAND erase-block fragmentation.\n\nRestore sparsity and reclamation liveness use different reference sets. A chunk unused by one restore can still belong to another retained backup. Mixed live/dead containers can require copying live payload before their unused payload is released. The linked synthetic example separates these bytes from deleted logical bytes; it is not a product benchmark. [hesela-reclamation]",
  "related": [
    "deduplication",
    "container-capping",
    "forward-assembly-area",
    "idedup",
    "destor",
    "revdedup"
  ],
  "citations": [
    {
      "id": "fu2014",
      "title": "Fu et al. Accelerating Restore and Garbage Collection in Deduplication-based Backup Systems via Exploiting Historical Information. USENIX ATC 2014, secs. 3-6.",
      "url": "https://files.usenix.org/s3fs-public/cdn/atc14-paper-fu_min.pdf",
      "accessed": "2026-10-23"
    },
    {
      "id": "hesela-dedup-restore",
      "title": "Deduplication ratio does not predict restore cost",
      "url": "https://hesela.com/analyses/deduplication-restore-fragmentation/",
      "accessed": "2026-10-11"
    },
    {
      "id": "lillibridge2013",
      "title": "Lillibridge, Eshghi and Bhagwat. Improving Restore Speed for Backup Systems that Use Inline Chunk-Based Deduplication. USENIX FAST 2013.",
      "url": "https://www.usenix.org/system/files/conference/fast13/fast13-final124.pdf",
      "accessed": "2026-10-23"
    },
    {
      "id": "hesela-reclamation",
      "title": "Hesela: backup deletion and reclaimable containers",
      "url": "https://hesela.com/analyses/deduplication-restore-fragmentation/#reclamation",
      "accessed": "2026-10-23"
    }
  ],
  "status": "research",
  "advantages": [
    {
      "text": "Separating sparse from out-of-order containers shows whether rewriting chunks or enlarging the restore cache is the matching remedy.",
      "citationIds": [
        "fu2014"
      ]
    },
    {
      "text": "Counting containers read per restored megabyte gives a restore-speed estimate that the deduplication ratio alone does not provide.",
      "citationIds": [
        "lillibridge2013"
      ]
    }
  ],
  "limitations": [
    {
      "text": "Rewriting duplicates to reduce fragmentation spends space: giving up about 8% of deduplication bought a 2-6X restore speed-up in one evaluation.",
      "citationIds": [
        "lillibridge2013"
      ]
    },
    {
      "text": "HAR reports 0.45-1.99% rewritten payload relative to total backup input, but 11.66-74.31% more written payload relative to its no-rewriting baseline across the three datasets. Restore gains use container-read speed factor, not measured elapsed time.",
      "citationIds": [
        "fu2014"
      ]
    },
    {
      "text": "In the studied inline design, newer backups reuse chunks scattered through older containers, so testing an early backup alone can miss later restore costs; this age trend is not universal across deduplication architectures.",
      "citationIds": [
        "lillibridge2013"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-17",
  "provenance": [
    "lillibridge2013 is the FAST 2013 paper on restore speed with inline chunk-based deduplication, read for container size, seek arithmetic and the effects of caching, capping and assembly.",
    "fu2014 is the USENIX ATC 2014 paper, re-read for the sparse and out-of-order container classes, the utilization threshold and the cache-threshold condition.",
    "The full-backup entry links here because restoring a full backup from a deduplicated store reads chunks written by earlier backups."
  ]
}
