Parity logging with reserved space
Parity logging with reserved space places pending parity deltas beside their parity chunk to reduce fragmentation during reconstruction.
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. [1]
Its 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. [1]
This addresses delta placement, not PARIX's removal of repeated old-data prereads within a retained journal baseline. [2]
Evidence 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. [1]
Worked 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. [3]
Relations
Limitations
- Reserved capacity and merging have costs; locality does not establish crash consistency or an SSD speedup.
Citations
- Chan, Ding, Lee and Chan. Parity Logging with Reserved Space. FAST 2014, pp. 163-176; sections 4.2.2, 6 and 8.
- Li et al. PARIX: Speculative Partial Writes in Erasure-Coded Systems. USENIX ATC 2017, sections 3-4.
- Hesela: exact-rational PLR shrink-rule illustration, source and executable examples
Further reading
Sources & caveats
- 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