Skip to main content
QUICK REVIEW

[Paper Review] STAIR Codes: A General Family of Erasure Codes for Tolerating Device and Sector Failures

Mingqiang Li, Patrick P. C. Lee|arXiv (Cornell University)|Jun 20, 2014
Advanced Data Storage TechnologiesComputer Science36 references3 citations
TL;DR

This paper proposes STAIR codes, a general family of erasure codes that efficiently tolerate both device and sector failures by relaxing failure coverage assumptions, enabling support for arbitrary array sizes and failure tolerances. The method uses orthogonal encoding with Reed-Solomon codes and introduces upstairs/downstairs encoding for performance optimization, achieving superior space and computational efficiency over traditional and existing sector-disk codes.

ABSTRACT

Practical storage systems often adopt erasure codes to tolerate device failures and sector failures, both of which are prevalent in the field. However, traditional erasure codes employ device-level redundancy to protect against sector failures, and hence incur significant space overhead. Recent sector-disk (SD) codes are available only for limited configurations. By making a relaxed but practical assumption, we construct a general family of erasure codes called \emph{STAIR codes}, which efficiently and provably tolerate both device and sector failures without any restriction on the size of a storage array and the numbers of tolerable device failures and sector failures. We propose the \emph{upstairs encoding} and \emph{downstairs encoding} methods, which provide complementary performance advantages for different configurations. We conduct extensive experiments on STAIR codes in terms of space saving, encoding/decoding speed, and update cost. We demonstrate that STAIR codes not only improve space efficiency over traditional erasure codes, but also provide better computational efficiency than SD codes based on our special code construction. Finally, we present analytical models that characterize the reliability of STAIR codes, and show that the support of a wider range of configurations by STAIR codes is critical for tolerating sector failure bursts discovered in the field.

Motivation & Objective

  • To address the high space overhead of traditional erasure codes that use device-level redundancy to protect against sector failures.
  • To overcome the limited configurability and complex construction of existing sector-disk (SD) codes, which are restricted to few tolerable sector failures.
  • To develop a general-purpose erasure code family that supports arbitrary storage array sizes and any number of tolerable device and sector failures.
  • To provide a practical and provably correct construction that efficiently handles real-world failure patterns, including sector failure bursts.
  • To optimize encoding and decoding performance through novel upstairs and downstairs encoding techniques that reuse parity computations.

Proposed method

  • STAIR codes are constructed based on a relaxed failure coverage assumption, defined by a vector e that limits the number of devices with sector failures and the number of sector failures per device.
  • The baseline construction uses two orthogonal encoding phases: row-wise encoding using a Reed-Solomon code and column-wise encoding using another Reed-Solomon code.
  • The upstairs decoding method systematically reconstructs lost data from both device and sector failures, proving fault tolerance through matrix operations and generator matrices.
  • The upstairs encoding method reuses computed parity results to improve encoding efficiency, especially for configurations with high sector failure tolerance.
  • The downstairs encoding method optimizes performance for configurations with fewer sector failures by reordering and reusing parity computations.
  • The code structure is regularized using generator matrices G_row and G_col, ensuring that all augmented rows in the canonical stripe are codewords of the row code.

Experimental results

Research questions

  • RQ1Can a general erasure code family be constructed that supports arbitrary array sizes and any number of tolerable device and sector failures?
  • RQ2How can sector failure coverage be modeled more realistically to reduce space overhead compared to traditional device-level redundancy?
  • RQ3What encoding strategies can efficiently reuse parity computations to improve encoding and decoding performance?
  • RQ4How does the reliability of STAIR codes compare to existing SD and RAID-6 codes under realistic failure distributions?
  • RQ5Can the proposed code construction support bursty sector failures observed in real storage systems?

Key findings

  • STAIR codes achieve significant space savings by using sector-level redundancy instead of entire parity disks, reducing overhead compared to traditional erasure codes.
  • The upstairs and downstairs encoding methods provide complementary performance advantages, with STAIR codes demonstrating higher encoding/decoding speeds than SD codes due to parity reuse.
  • STAIR codes support any number of tolerable device failures and any number of tolerable sector failures, with no restrictions on array size or code length.
  • Analytical reliability models show that STAIR codes maintain high reliability even under bursty sector failures, which are common in real-world storage systems.
  • For specific configurations such as e = (1,1,…,1), the probability of successful data recovery is given by P_str = 1 - Σ(i=0 to s) [C(n-m,i) * P_chk(1)^i * P_chk(0)^(n-m-i)], demonstrating precise reliability quantification.
  • The paper proves that all augmented rows in the canonical stripe are codewords of the row code, ensuring fault tolerance and correctness through matrix-based generator operations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.