MDS Array Codes With Small Sub-packetization Levels and Small Repair Degrees

Jie Li, Yi Liu, Xiaohu Tang, Yunghsiang S. Han, Bo Bai, Gong ZhangarXiv 2023 · DOI

Abstract

Distributed storage systems face a critical trade-off between storage efficiency, repair bandwidth, and implementation complexity. While Minimum Storage Regenerating (MSR) codes offer theoretical optimality, they often suffer from exponential sub-packetization levels and high repair degrees, hindering practical deployment. This paper introduces a generic mathematical transformation that converts existing MSR codes into practical variants with significantly reduced sub-packetization and flexible repair degrees. By allowing for a near-optimal repair bandwidth, the proposed constructions achieve orders-of-magnitude improvements in system feasibility for realistic cluster sizes.

Introduction

In modern cloud storage backends, data is distributed across multiple nodes using Maximum Distance Separable (MDS) codes to ensure high reliability with minimal storage overhead. Minimum Storage Regenerating (MSR) codes, a specialized class of MDS codes, further optimize the network bandwidth required to repair a failed node. However, a "practicality gap" persists: theoretical MSR codes often require dividing files into an astronomical number of fragments (sub-packetization) and contacting every surviving node for a single repair. This paper addresses these bottlenecks through a novel transformation framework recently published in IEEE Transactions on Communications.

The Practicality Gap in MSR Codes

Two primary factors limit the real-world utility of standard MSR codes:

  1. Sub-packetization ($N$): For high-rate codes, the number of sub-packets $N$ typically grows exponentially with the number of nodes $n$. This leads to a "metadata explosion," overwhelming system resources.
  2. Repair Degree ($d$): Most practical codes require $d = n-1$ helper nodes. In dynamic environments where nodes may be temporarily unavailable or slow, a smaller repair degree ($d < n-1$) is essential for system resilience.

Previous solutions, such as the Guruswami-Lalitha-Jiang (GLJ) codes, addressed the repair degree but resulted in impractical code lengths (e.g., $n = 961^{12}$) and sub-packetization levels.

Proposed Transformation Framework

The authors propose a generic transformation that scales a "base" MSR code of length $\bar{n}$ into a new code of length $n = s\bar{n}$. This framework utilizes three key technical components:

  • Expansion Factor ($s$): Determines the scaling of the code length.
  • Select Matrices: A specific matrix construction that identifies the optimal equations for repair, maintaining efficiency while keeping $N$ low.
  • W-ary Expansion: A digit expansion method used to partition the data basis, ensuring the MDS property is preserved while drastically reducing the sub-packetization level.
Example constructions of the proposed MDS array codes showing the arrangement of data elements.

This transformation was applied to established code families, including the LLTHBZ and Ye-Barg (YB) codes, to produce three new families: $C_1$, $C_2$, and $C_3$.

Comparative Analysis

The proposed codes are evaluated against existing benchmarks in coding theory. Figure 4 summarizes the parameters of several well-known codes that serve as the foundation or comparison points for this work.

Comparison of sub-packetization levels and field sizes for various baseline MDS array codes.

The key breakthrough is the $(1+\epsilon)$ trade-off: by accepting a negligible increase in repair bandwidth (becoming "near-optimal"), the sub-packetization level $N$ can be reduced from exponential to a constant value independent of the total code length $n$.

Key Results and Insights

The transformation yielded three distinct code families with specialized properties:

  • $C_1$ (Minimal Sub-packetization): Offers the lowest $N$ in the group, making it ideal for systems with strict metadata constraints.
  • $C_2$ (Optimal Update): Minimizes the number of parity symbols that must be updated when a single data element changes.
  • $C_3$ (Near-Optimal Access): Reduces the total amount of data read from disks during the repair process.

Quantitatively, while a GLJ code might require a sub-packetization level of $90 \times 2^{961}$ for certain parameters, the new $C_1$ code achieves comparable performance with $N$ as low as $2^3$ or $2^5$ for realistic system sizes ($n \ge 10$). Furthermore, these codes operate over relatively small finite fields, reducing the computational overhead of encoding and decoding.

Conclusion

This work bridges the gap between theoretical coding limits and practical system requirements. By providing a framework to reduce sub-packetization and repair degrees, the authors enable the deployment of high-efficiency MDS codes in real-world distributed storage clusters. Future work will involve integrating these codes into production-level storage systems like Ceph or HDFS to evaluate their performance in live environments.

Summary updated

BibTeX
@misc{li2023mds,
  author = {Jie Li and Yi Liu and Xiaohu Tang and Yunghsiang S. Han and Bo Bai and Gong Zhang},
  title = {{MDS Array Codes With Small Sub-packetization Levels and Small Repair Degrees}},
  year = {2023},
  eprint = {2308.14527},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.14527},
}
Figure