{
  "slug": "parity-logging-reserved-space",
  "term": "Parity logging with reserved space",
  "aliases": [
    "PLR",
    "CodFS PLR"
  ],
  "definition": "Parity logging with reserved space places pending parity deltas beside their parity chunk to reduce fragmentation during reconstruction.",
  "note": "CodFS, the FAST 2014 research prototype, updates data in place and logs parity deltas in adjacent reserved space. A full reserve triggers merging instead of spilling elsewhere. [chan2014]\n\nIts workload-aware policy smooths utilization, then shrinks in whole-chunk units. The published rule does not grow reservations; zero reserve switches subsequent updates to full overwrite. [chan2014]\n\nThis addresses delta placement, not PARIX's removal of repeated old-data prereads within a retained journal baseline. [parix2017]\n\nEvidence boundary. The HDD/Gigabit-Ethernet testbed and the Harvard-trace reserve simulation are different experiments. MSR replay discards original timestamps; the paper leaves latency evaluation to future work. [chan2014]\n\nWorked arithmetic, not measurement: with an 8 MiB reserve, 2 MiB chunks, zero sampled usage, prior utility 1/2 and smoothing factor 1/2, the rule releases 6 MiB. One more idle step releases nothing: rounding retains the remaining 2 MiB. [hesela-model]",
  "status": "research",
  "advantages": [],
  "limitations": [
    "Reserved capacity and merging have costs; locality does not establish crash consistency or an SSD speedup."
  ],
  "related": [
    "parity-logging",
    "speculative-partial-write",
    "erasure-coding"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-29",
  "citations": [
    {
      "id": "chan2014",
      "title": "Chan, Ding, Lee and Chan. Parity Logging with Reserved Space. FAST 2014, pp. 163-176; sections 4.2.2, 6 and 8.",
      "url": "https://files.usenix.org/s3fs-public/cdn/fast14-paper_chan.pdf",
      "accessed": "2026-11-29"
    },
    {
      "id": "parix2017",
      "title": "Li et al. PARIX: Speculative Partial Writes in Erasure-Coded Systems. USENIX ATC 2017, sections 3-4.",
      "url": "https://www.usenix.org/system/files/conference/atc17/atc17-li_huiba.pdf",
      "accessed": "2026-11-29"
    },
    {
      "id": "hesela-model",
      "title": "Hesela: exact-rational PLR shrink-rule illustration, source and executable examples",
      "url": "https://hesela.dev/research/codfs-plr/model.py",
      "accessed": "2026-11-29"
    },
    {
      "id": "hesela-analysis",
      "title": "Hesela: RAID write accounting and parity replay",
      "url": "https://hesela.com/analyses/raid-write-penalty-io-not-speed/#parity-logging",
      "accessed": "2026-11-29"
    }
  ],
  "provenance": [
    "Primary-source synthesis and a synthetic arithmetic illustration, not a CodFS implementation or benchmark reproduction.",
    "Model checks: https://hesela.dev/research/codfs-plr/test_model.py"
  ]
}
