《计算机应用》唯一官方网站 ›› 2023, Vol. 43 ›› Issue (9): 2766-2774.DOI: 10.11772/j.issn.1001-9081.2022091344

• 数据科学与技术 • 上一篇    下一篇

低编译复杂度的双容错阵列码

解峥1,2, 王子豪1,2, 唐聃1,2(), 张航3, 蔡红亮1,2   

  1. 1.成都信息工程大学 软件工程学院, 成都 610225
    2.四川省信息化应用支撑软件工程技术研究中心, 成都 610225
    3.中国电子科技集团第三十研究所, 成都 610041
  • 收稿日期:2022-09-15 修回日期:2022-12-16 接受日期:2022-12-21 发布日期:2023-02-24 出版日期:2023-09-10
  • 通讯作者: 唐聃
  • 作者简介:解峥(1997—),男,河南濮阳人,硕士研究生,主要研究方向:编码理论、分布式存储
    王子豪(1997—),男,重庆人,硕士研究生,主要研究方向:编码理论、分布式存储
    张航(1995—),男,四川乐山人,硕士,主要研究方向:编码理论、分布式存储
    蔡红亮(1983—),男,山西临汾人,讲师,博士,主要研究方向:编码理论、视觉密码。
  • 基金资助:
    四川省科技厅重大专项(2022ZDZX0001);四川省科技厅重点研发项目(2022YFG0033)

Double fault tolerant array code with low compilation complexity

Zheng XIE1,2, Zihao WANG1,2, Dan TANG1,2(), Hang ZHANG3, Hongliang CAI1,2   

  1. 1.School of Software Engineering,Chengdu University of Information Technology,Chengdu Sichuan 610225,China
    2.Sichuan Province Informatization Application Support Software Engineering Technology Research Center,Chengdu Sichuan 610225,China
    3.The 30th Research Institute of China Electronics Technology Group Corporation,Chengdu Sichuan 610041,China
  • Received:2022-09-15 Revised:2022-12-16 Accepted:2022-12-21 Online:2023-02-24 Published:2023-09-10
  • Contact: Dan TANG
  • About author:XIE Zheng, born in 1997, M. S. candidate. His research interests include coding theory, distributed storage.
    WANG Zihao, born in 1997, M. S. candidate. His research interests include coding theory, distributed storage.
    ZHANG Hang, born in 1995, M. S. His research interests include coding theory, distributed storage.
    CAI Hongliang, born in 1983, Ph. D., lecturer. His research interests include coding theory, visual cryptography.
  • Supported by:
    Major Project of Science and Technology Department of Sichuan Province(2022ZDZX0001);Key Research and Development Program of Science and Technology Department of Sichuan Province(2022YFG0033)

摘要:

纠删码技术是独立磁盘冗余阵列-6(RAID-6)的双容错能力的底层实现技术,它的性能是左右RAID-6性能的重要因素。针对RAID-6中常用阵列纠删码的I/O不平衡和数据恢复速度慢的问题,提出一种基于异或(XOR)的混合阵列码——J码(J-code)。J-code采用新的校验生成规则,首先,利用原始数据构造的二维阵列计算出对角校验位并构造新的阵列;然后,利用新阵列中数据块之间的位置关系计算得到反对角校验位。此外,J-code将原始数据与部分校验位存储于同一磁盘,能减少编译码过程中的异或(XOR)操作次数和单盘恢复过程中读取数据块的个数,从而降低编译码复杂度和单盘故障修复的I/O成本,缓解磁盘热点集中现象。仿真实验结果表明,相较于RDP(Row-Diagonal Parity)、EaR(Endurance-aware RAID-6)等阵列码,J-code的编码时间减少了0.30%~28.70%,单磁盘故障和双磁盘故障的修复用时分别减少了2.23%~31.62%和0.39%~36.00%。

关键词: 独立磁盘冗余阵列-6, 阵列纠删码, 容错, 编译码复杂度, 磁盘故障修复

Abstract:

Erasure coding is the underlying implementation technology of double fault tolerance for Redundant Array of Independent Disks-6 (RAID-6), and the performance of erasure code is one of the important factors affecting the performance of RAID-6. Aiming at the problems of I/O imbalance and slow data recovery of array erasure codes commonly used in RAID-6, an Exclusive OR (XOR) based hybrid array code was proposed, namely J-code. A new parity check generation rule was adopted by J-code. Firstly, two-dimensional array constructed from the original data was used to calculate the diagonal parity bits and construct a new array. Then, the positional relationship between the data blocks in the new array was used to calculate the anti-diagonal parity bits. Besides, the original data and part of the parity bits were stored by J-code on the same disk, which reduced the number of XOR operations in the process of encoding and decoding as well as the number of data blocks read in the recovery process of a single disk, thereby reducing the complexity of encoding and decoding as well as the I/O cost for repairing a single disk, and alleviating the phenomenon of disk hotspot concentration. Simulation results show that compared with array codes such as RDP (Row-Diagonal Parity) and EaR (Endurance-aware RAID-6), J-code has the encoding time reduced by 0.30% to 28.70%, the single disk failure repair time reduced by 2.23% to 31.62%, and the double disk failure repair time reduced by 0.39% to 36.00%.

Key words: Redundant Array of Independent Disks-6 (RAID-6), array erasure code, fault tolerance, encoding and decoding complexity, disk failure repair

中图分类号: