{
  "slug": "repair-read-amplification",
  "term": "Repair-read amplification",
  "aliases": [],
  "definition": "Repair-read amplification is the ratio of bytes read during recovery to the explicitly stated quantity of lost data or lost encoded fragments being restored.",
  "note": "Report the denominator and include parity repair when measuring an entire failed node. An average over all blocks ignores that codes with more parities must rebuild more blocks per node. A normalized cost multiplies the average by n/k, spreading parity repair over the k data blocks: one (10,6,3) locally repairable layout averages 3.6 blocks read per repaired block but 6 per data block. [kolosov2018]\n\nBytes read, network bytes and elapsed time are separate metrics, and the read layer matters. In one evaluation with 64 kB chunks, repairing a parity node read 256 fragments of 64 bytes from each helper; with 4 kB device reads only 1 kB of each was useful, so device reads were 4 times the data needed. With a 64 MB stripe the same codes caused no extra device reads. [clay]",
  "related": [
    "repair-locality",
    "locally-repairable-code",
    "erasure-coding",
    "minimum-storage-regenerating-code",
    "subpacketization",
    "maximally-recoverable-code",
    "hitchhiker",
    "minimum-bandwidth-regenerating-code",
    "repair-by-transfer"
  ],
  "citations": [
    {
      "id": "kolosov2018",
      "title": "Kolosov et al. On Fault Tolerance, Locality, and Optimality in Locally Repairable Codes. USENIX ATC 2018, 865-877; sections 3, 5-6.",
      "url": "https://www.usenix.org/system/files/conference/atc18/atc18-kolosov.pdf",
      "accessed": "2026-10-23"
    },
    {
      "id": "hesela-lrc",
      "title": "Hesela: Local repair is not whole-node repair",
      "url": "https://hesela.com/analyses/lrc-repair-costs-locality/",
      "accessed": "2026-10-18"
    },
    {
      "id": "clay",
      "title": "Vajha et al. Clay Codes: Moulding MDS Codes to Yield an MSR Code. FAST 2018, 139-154; sections 2, 4 and 5.",
      "url": "https://www.usenix.org/system/files/conference/fast18/fast18-vajha.pdf",
      "accessed": "2026-10-23"
    }
  ],
  "status": "shipping",
  "advantages": [
    {
      "text": "A normalized whole-node figure lets codes with different parity counts be compared on recovery work rather than on locality alone.",
      "citationIds": [
        "kolosov2018"
      ]
    }
  ],
  "limitations": [
    {
      "text": "Block-count metrics such as average and normalized repair cost can identify the cheapest and costliest code for given parameters yet still mispredict the repair cost measured on a cluster.",
      "citationIds": [
        "kolosov2018"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-22",
  "provenance": [
    "kolosov2018 read 2026-10-23, sections 3 and 6, for average and normalized repair cost and the (10,6,3) example.",
    "clay read 2026-10-23, section 5.2, for the 64 kB chunk, 64-byte fragment and 4-times device-read example.",
    "A companion analysis on local versus whole-node repair is listed but not used in prose."
  ]
}
