Deterministic accounting / no device measurements
LRC repair costs: explicit denominators
Five deterministic whole-fragment examples distinguish data repair, all-fragment averages and parity-inclusive accounting. Not cluster measurements.
Download CSV5 configurations / 14 columnsJSON and provenance / Model code / Research explanation
Read accounting
For each independent single-fragment loss, intact helpers supply whole equal-size fragments. Data and local parity cost k/localGroups reads in the modeled LRC topology; global parity costs k. RS costs k for any fragment. Sum costs across all positions, then divide by total fragments or by k. Uniform role distribution is assumed for node-level interpretation.
| Configuration | Storage factor | Data repair | Local parity repair | Global parity repair | All-fragment mean | Per data-equivalent |
|---|---|---|---|---|---|---|
| RS 6+3 | 1.5 | 6 | N/A | 6 | 6 | 9 |
| RS 12+4 | 1.3333 | 12 | N/A | 12 | 12 | 16 |
| LRC 6+2+2 | 1.6667 | 3 | 3 | 6 | 3.6 | 6 |
| LRC 12+2+2 | 1.3333 | 6 | 6 | 12 | 6.75 | 9 |
| LRC 12+4+2 | 1.5 | 3 | 3 | 12 | 4 | 6 |
Reproduce
The downloadable module needs only Node.js. This command prints the identical CSV; there is no device access, random seed or external dependency.
node --input-type=module -e 'import { toCsv } from "./lrc-repair-costs.mjs"; process.stdout.write(toCsv())'For LRC 12+2+2, the role-weighted sum is 108 reads. Dividing by 16 gives 6.75; dividing by 12 gives 9. The generated JSON includes SHA-256 hashes of the model and CSV. Generation time is not an observation period.
Limits
- Arithmetic examples, not experiments, event probabilities or confidence intervals.
- Not an encoder or decoder; no proof of a concrete finite-field construction or multi-erasure recovery.
- Equal overhead is not equal worst-case erasure tolerance. No current Azure or Ceph configuration is asserted.
- No partial-fragment schemes, shared reads, caching, retries, placement, compression, network topology or reconstructed-write traffic.
- These sums represent separate single-fragment failures across stripe roles, never simultaneous loss of all fragments.
Column definitions
- label
- RS uses data+global parity; LRC uses data+local parity+global parity. Not Ceph CLI notation.
- k
- Number of payload data fragments per stripe.
- localGroups
- Equal data groups, each with one local parity; zero for the RS baseline.
- globalParities
- Number of global parity fragments.
- totalFragments
- Total stored fragments: data plus all parity.
- shardBytes
- Bytes per equal-size fragment. Illustrative input; 1 MiB = 1048576 bytes.
- storageFactor
- Stored bytes divided by payload bytes; dimensionless, excluding metadata.
- dataReads
- Complete helper fragments read for one data-fragment loss.
- localParityReads
- Complete helper fragments read for one local-parity loss; zero means not applicable in RS.
- globalParityReads
- Complete helper fragments read to recompute one global parity.
- sumIndependentReads
- Sum of independent one-fragment repair read counts across every position; not simultaneous losses.
- averageReadsPerLostFragment
- Sum of independent read counts divided by total stored fragments; uniform lost-role assumption.
- readsPerLostDataEquivalent
- Same sum divided by payload data fragments; parity repairs amortized over payload.
- dataReadBytes
- Helper bytes read for one data-fragment loss, excluding the reconstructed write.
Sources and license
CC0-1.0 for Hesela's original model and generated rows. Cited publications retain their own rights.
- Cheng Huang, Huseyin Simitci, Yikang Xu, Aaron Ogus, Brad Calder, Parikshit Gopalan, Jin Li and Sergey Yekhanin. Erasure Coding in Windows Azure Storage. USENIX ATC 2012, pp. 15-26; sections 2-3. (accessed 2026-10-11)
- Oleg Kolosov, Gala Yadgar, Matan Liram, Itzhak Tamo and Alexander Barg. On Fault Tolerance, Locality, and Optimality in Locally Repairable Codes. USENIX ATC 2018, pp. 865-877; sections 3, 5-6. (accessed 2026-10-11)
- Ceph: Locally Repairable Erasure Code Plugin (development documentation; parameter names are implementation-specific). (accessed 2026-10-11)
Definitions: locally repairable code, repair locality, repair-read amplification.