pyramid-code · research · also Pyramid codes, Basic Pyramid Code, Generalized Pyramid Code

Pyramid code

A Pyramid code is an erasure code that trades additional storage for smaller recovery groups using local and broader-scope parity.

A basic construction splits selected parity equations across disjoint data groups. Their sum reconstructs the original parity. Deriving it from an (11,8) MDS code gives a (12,8) example with two groups of four data symbols, two local parities and two global parities. [1]

In a fixed GF(17) illustration, all 220 three-erasure sets retain full rank, but only 420 of 495 four-erasure sets do. Losing d0 through d3 leaves payloads (0,0,0,0,0,0,0,0) and (9,1,4,9,0,0,0,0) indistinguishable on every survivor. Four redundant symbols do not imply recovery from every four losses. [3]

One missing data symbol uses three data peers and its local parity, for four helpers in total. Each data-symbol change affects one local and two global parity symbols. These are algebraic units, not physical I/O counts or measured speedups. Arithmetic in this example is modulo 17, not XOR. [3]

Generalized Pyramid codes select coefficients to satisfy maximal recoverability for a specified support topology. A matching condition on lost data and surviving parity equations is necessary for recovery, but an arbitrary coefficient assignment need not make it sufficient. Basic parity splitting does not automatically supply that stronger guarantee. [2]

Relations

related
Locally repairable code, Repair locality, Maximally recoverable code, Maximum distance separable code, Reed–Solomon codes (storage)

Citations

  1. Huang, Chen and Li. Pyramid Codes: Flexible Schemes to Trade Space for Access Efficiency in Reliable Data Storage Systems. NCA 2007, section 2. (accessed 2026-11-23)
  2. Huang, Chen and Li. Pyramid Codes. ACM Transactions on Storage 9(1), Article 3 (2013). DOI: 10.1145/2435204.2435207. (accessed 2026-11-23)
  3. Hesela: fixed GF(17) parity-splitting results, matrices, erasure counts and ambiguity witness. (accessed 2026-11-23)

Further reading

  1. Hesela: standalone finite-field encoder and erasure-rank enumeration. (accessed 2026-11-23)
  2. Hesela: independent determinant, interpolation and local-repair tests. (accessed 2026-11-23)
  3. Hesela: reproduction instructions and scope of the constructed example. (accessed 2026-11-23)
  4. Hesela: local repair, whole-node repair and Pyramid parity splitting. (accessed 2026-11-23)
Sources & caveats
  • The 2007 conference construction and recovery discussion were checked against the expanded 2013 article. No source figure or code was republished.
  • The GF(17) coefficients are a new teaching choice, not the papers' numerical experiment or a deployed codec. Pattern counts are exhaustive for that matrix, not probabilities of field failures.
  • Known erasure positions and correct, same-codeword survivors are assumed. No unknown-error correction, generalized-code construction or device benchmark is implemented.

JSON: /data/terms/pyramid-code.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Pyramid code. Hesela. 2026-11-23. https://hesela.dev/terms/pyramid-code/