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.
Companion: simultaneous erasures
The five CSV rows above count independent single-fragment repairs. A separate erasure-pattern JSON enumerates every subset for LRC 6+2+2 and 12+2+2 under a maximally recoverable construction. Of the four-erasure sets, 180/210 and 1,568/1,820 are recoverable. These equally weighted counts are not measured failure probabilities.
The enumerator and tests check 66,560 subsets against an independent affected-group criterion. Download both files to one directory and run node --test lrc-erasure-patterns.test.mjs. This companion does not change the CSV or certify a codec implementation.
Derivation and primary sources / Maximal recoverability. Companion added 19 October 2026; original dataset dates above are unchanged.
When coefficients change recovery
A separate fixed-code comparison keeps the same four data symbols, two local sums and two global parities over GF(7). Both codes have information locality two and minimum distance four; their four-erasure coverage is 57/70 versus 60/70. All 256 erasure subsets per code are checked against an independent enumeration of its 2400 nonzero messages. These are exact teaching examples, not production codecs or measured failure probabilities.
Reproduction requires four files in one directory: comparison module, GF(7) arithmetic dependency, tests and result and source hashes. Run node --test lrc-coefficient-audit.test.mjs. Matrices, collision and interpretation. Companion added 28 October 2026; the original byte-accounting CSV is unchanged.
The same JSON now includes partialRecovery: for the fixed erasure set x0, x1, y0, px, g0, surviving y1 and py still determine the missing y0. Seven distinct payloads match the all-zero observations of y1, py and g1 in either code. The tests enumerate all 343 survivor triples. The negativeControl record removes y1, leaving exactly py and g1, and gives two conflicting payloads per code. The tests check all 49 survivor pairs: every y0 value remains possible. This is symbol identifiability, not complete stripe recovery or a promise that a storage system can serve the corresponding object. Criterion, derivation and limits.
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.
Published by Hesela team
Report a correction · Editorial standards · Reuse guidance
Cite this page
Hesela team. LRC repair costs: explicit denominators. Hesela. https://hesela.dev/datasets/lrc-repair-costs/