x-code · research · also X-code array code

X-code

X-code is an MDS array code with a prime number of columns and two parity rows, where each data-symbol change affects two parity symbols.

For an odd prime n, the n by n array holds n(n-2) data symbols in its first n-2 rows. Every column includes data and parity; there are no dedicated parity disks. Column distance three permits recovery from any two known column erasures, or correction of one unknown erroneous column under that separate error model. [1]

At n=5, changing data coordinate (row 0, column 0) changes parity coordinates (3,3) and (4,2). This is two parity symbols plus the data symbol, across three columns. It is not a count of physical reads, writes or durable transactions. The payload is 15 of 25 stored symbols. [3]

Prime size matters: using the same equations at n=9 gives full rank for only 27 of 36 two-column-erasure sets. Erasing columns 0 and 3 leaves rank 60 for 63 data bits. A nonzero difference in six data bits becomes invisible to all surviving symbols. These exhaustive pattern counts are not failure probabilities. [3]

Update complexity counts parity symbols affected by one information-symbol change. It does not establish optimal single-column repair bandwidth, which counts downloaded data. A later repair study treats X-code separately from binary constructions designed for optimal repair. [1] [2]

Relations

related
Row-Diagonal Parity, Maximum distance separable code, RAID 6, Subpacketization

Citations

  1. Xu and Bruck. X-Code: MDS Array Codes with Optimal Encoding. IEEE TIT 45(1), 272-276 (1999), equation 1 and sections II-III. (accessed 2026-11-23)
  2. Hou, Lee, Han and Hu. Triple-Fault-Tolerant Binary MDS Array Codes with Asymptotically Optimal Repair. ISIT 2017, introduction. (accessed 2026-11-23)
  3. Hesela: exact finite X-code update, erasure-rank and composite-size results. (accessed 2026-11-23)

Further reading

  1. Hesela: standalone X-code encoder and binary-rank checker. (accessed 2026-11-23)
  2. Hesela: direct-encoding, exhaustive byte-delta and ambiguity controls. (accessed 2026-11-23)
  3. Hesela: X-code reproduction instructions and finite-model assumptions. (accessed 2026-11-23)
Sources & caveats
  • The complete 1999 paper was read, including construction, proof and decoding sections; equation (1) was inspected visually. DOI: 10.1109/18.746809.
  • The independently written model checks known erasures with correct, consistently versioned survivors. It does not implement the paper's unknown-error decoder or measure hardware performance.
  • Finite rank checks cover n=3,5,7,9,11; the prime-size theorem is attributed to the paper, not inferred from those finite tests. The deliberately invalid n=9 construction is not a valid X-code parameter.

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

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

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