{
  "schemaVersion": 1,
  "title": "Finite-block cleaning and pooled write-amplification accounting",
  "generatedAt": "2026-10-18T02:15:54.839Z",
  "kind": "synthetic worked calculation",
  "method": "Select the smallest valid-page count in an explicit candidate set, then account for one full copy-and-refill cycle. Pool counters by summing numerator and denominator.",
  "units": "Equal-sized pages throughout; no time, device population or measured workload.",
  "assumptions": [
    "All four blocks are fully programmed before selection; every page is either valid or invalid, with no erased pages.",
    "Copy each valid victim page once to an auxiliary buffer and program it once into the erased victim; auxiliary buffer writes are outside the model's flash-program count.",
    "Refill every reclaimed page with a host write; no metadata, wear leveling, parity, cache folding or other programs.",
    "Layouts are independent constructed snapshots, not consecutive states or outcomes sampled from a workload.",
    "The two 64-page cycles are prescribed accounting records, not a claim that a given FTL produces that sequence."
  ],
  "limits": [
    "The next selected victim is not a stationary distribution, throughput estimate, endurance measurement or device recommendation.",
    "A zero host-write denominator is represented as null, not zero or infinity.",
    "Pool only compatible counters over disjoint intervals at the same boundary, with counter reset/wrap handled before supplying deltas."
  ],
  "humanPage": "https://hesela.com/analyses/ssd-overprovisioning-denominators/#finite-cleaning",
  "rows": [
    {
      "id": "balanced",
      "label": "Balanced / all blocks",
      "blockPages": 8,
      "validPages": [
        4,
        4,
        4,
        4
      ],
      "candidates": [
        0,
        1,
        2,
        3
      ],
      "physicalPages": 32,
      "totalValid": 16,
      "invalidPages": 16,
      "victim": 0,
      "relocatedPages": 4,
      "reclaimedPages": 4,
      "refillWaf": 2
    },
    {
      "id": "uneven",
      "label": "Uneven / all blocks",
      "blockPages": 8,
      "validPages": [
        2,
        4,
        4,
        6
      ],
      "candidates": [
        0,
        1,
        2,
        3
      ],
      "physicalPages": 32,
      "totalValid": 16,
      "invalidPages": 16,
      "victim": 0,
      "relocatedPages": 2,
      "reclaimedPages": 6,
      "refillWaf": 1.3333333333333333
    },
    {
      "id": "restricted",
      "label": "Uneven / last two blocks",
      "blockPages": 8,
      "validPages": [
        2,
        4,
        4,
        6
      ],
      "candidates": [
        2,
        3
      ],
      "physicalPages": 32,
      "totalValid": 16,
      "invalidPages": 16,
      "victim": 2,
      "relocatedPages": 4,
      "reclaimedPages": 4,
      "refillWaf": 2
    },
    {
      "id": "segregated",
      "label": "Segregated / all blocks",
      "blockPages": 8,
      "validPages": [
        0,
        0,
        8,
        8
      ],
      "candidates": [
        0,
        1,
        2,
        3
      ],
      "physicalPages": 32,
      "totalValid": 16,
      "invalidPages": 16,
      "victim": 0,
      "relocatedPages": 0,
      "reclaimedPages": 8,
      "refillWaf": 1
    }
  ],
  "accounting": {
    "cycles": {
      "intervals": [
        {
          "hostPages": 1,
          "physicalPages": 64
        },
        {
          "hostPages": 63,
          "physicalPages": 64
        }
      ],
      "hostPages": 64,
      "physicalPages": 128,
      "waf": 2,
      "unweightedMean": 32.507936507936506
    },
    "idleThenWrite": {
      "intervals": [
        {
          "hostPages": 0,
          "physicalPages": 64
        },
        {
          "hostPages": 64,
          "physicalPages": 64
        }
      ],
      "hostPages": 64,
      "physicalPages": 128,
      "waf": 2
    },
    "idleOnly": {
      "hostPages": 0,
      "physicalPages": 64,
      "waf": null
    }
  },
  "sources": [
    {
      "url": "https://arxiv.org/abs/1110.4245v1",
      "location": "Section II, equation 2; section III assumptions 1-3",
      "accessed": "2026-10-18"
    },
    {
      "url": "https://www.ccs.neu.edu/home/pjd/papers/pjd-systor12.pdf",
      "location": "Sections 2, 3.2 and 3.3; Figure 3",
      "accessed": "2026-10-18"
    }
  ],
  "license": "CC0-1.0 for Hesela code and constructed data; source papers retain their rights.",
  "hashes": {
    "codeSha256": "b2fb875278f3b600c51cd29122094cd89f30c7a9c1b92279be5db7d040eb7435",
    "csvSha256": "6816bb43904f858ec5d93ff810c7ffb22ddc7c4fe6732e28c99f7e0c907c7e62",
    "generatorSha256": "8ca450750a2402e7f06bd624e152f8336d90851e3696f3d785500df5447de13c"
  }
}
