Skip to main content
QUICK 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 Science参考文献 36被引用 3
一句话总结

本文提出 STAIR 编码,这是一种通用的纠删码家族,通过放宽故障覆盖假设,高效容忍设备和扇区故障,支持任意阵列大小和故障容忍度。该方法采用与 Reed-Solomon 编码正交的编码方式,并引入上层/下层编码以优化性能,相比传统及现有扇区-磁盘编码,在空间和计算效率方面表现更优。

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.

研究动机与目标

  • 解决传统纠删码使用设备级冗余保护扇区故障时带来的高空间开销问题。
  • 克服现有扇区-磁盘(SD)编码在可配置性方面受限且构造复杂的缺陷,这些编码仅能容忍少量扇区故障。
  • 开发一种通用的纠删码家族,支持任意存储阵列大小及任意数量的可容忍设备和扇区故障。
  • 提供一种实用且可证明正确的构造方法,高效处理现实世界中的故障模式,包括扇区故障突发。
  • 通过新颖的上层和下层编码技术优化编码和解码性能,复用奇偶校验计算。

提出的方法

  • STAIR 编码基于一个放松的故障覆盖假设构建,该假设由一个向量 e 定义,用于限制发生扇区故障的设备数量以及每个设备上的扇区故障数量。
  • 基础构造包含两个正交编码阶段:使用 Reed-Solomon 编码进行行方向编码,以及使用另一个 Reed-Solomon 编码进行列方向编码。
  • 上层解码方法系统性地从设备和扇区故障中重建丢失数据,通过矩阵运算和生成矩阵证明容错能力。
  • 上层编码方法复用已计算的奇偶校验结果,以提高编码效率,尤其适用于高扇区故障容忍度的配置。
  • 下层编码方法通过重排和复用奇偶校验计算,优化低扇区故障数量配置下的性能。
  • 通过生成矩阵 G_row 和 G_col 对码结构进行规范化,确保规范条带中所有扩展行均为行码的码字。

实验结果

研究问题

  • RQ1能否构建一种通用的纠删码家族,支持任意阵列大小及任意数量的可容忍设备和扇区故障?
  • RQ2如何更真实地建模扇区故障覆盖,以相比传统设备级冗余降低空间开销?
  • RQ3何种编码策略能高效复用奇偶校验计算,以提升编码和解码性能?
  • RQ4在现实故障分布下,STAIR 编码的可靠性与现有 SD 编码和 RAID-6 编码相比如何?
  • RQ5所提出的码构造能否支持现实存储系统中观察到的突发性扇区故障?

主要发现

  • STAIR 编码通过使用扇区级冗余而非整个奇偶校验磁盘,显著节省空间,相比传统纠删码降低了开销。
  • 上层和下层编码方法提供互补的性能优势,STAIR 编码因奇偶校验复用,编码/解码速度高于 SD 编码。
  • STAIR 编码支持任意数量的可容忍设备故障和任意数量的可容忍扇区故障,对阵列大小或码长无限制。
  • 分析性可靠性模型表明,STAIR 编码在突发性扇区故障下仍保持高可靠性,而这类故障在现实存储系统中很常见。
  • 对于特定配置如 e = (1,1,…,1),成功数据恢复的概率由 P_str = 1 - Σ(i=0 to s) [C(n-m,i) * P_chk(1)^i * P_chk(0)^(n-m-i)] 给出,实现了精确的可靠性量化。
  • 本文证明了规范条带中所有扩展行均为行码的码字,通过基于矩阵的生成运算确保容错性和正确性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。