Skip to download

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 columns

JSON 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.

Helper-fragment reads, not IOPS or seconds. Storage factor includes parity; every example uses 64 MiB fragments. Values shown to at most four decimal places; CSV retains full numeric precision.
ConfigurationStorage factorData repairLocal parity repairGlobal parity repairAll-fragment meanPer data-equivalent
RS 6+31.56N/A669
RS 12+41.333312N/A121216
LRC 6+2+21.66673363.66
LRC 12+2+21.333366126.759
LRC 12+4+21.5331246

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

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.

  1. 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)
  2. 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)
  3. 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/