Two Piggybacking Codes with Flexible Sub-Packetization to Achieve Lower Repair Bandwidth

Hao Shi, Zhengyi Jiang, Zhongyi Huang, Bo Bai, Hanxu HouarXiv 2022 · OpenReview

Abstract

As a special class of array codes, $(n,k,m)$ piggybacking codes are MDS codes (i.e., any $k$ out of $n$ nodes can retrieve all data symbols) that can achieve low repair bandwidth for single-node failure with low sub-packetization $m$. In this paper, we propose two new piggybacking codes that have lower repair bandwidth than the existing piggybacking codes given the same parameters. Our first piggybacking codes can support flexible sub-packetization $m$ with $2\leq m\leq n-k$, where $n - k > 3$. We show that our first piggybacking codes have lower repair bandwidth for any single-node failure than the existing piggybacking codes when $n - k = 8,9$, $m = 6$ and $30\leq k \leq 100$. Moreover, we propose second piggybacking codes such that the sub-packetization is a multiple of the number of parity nodes (i.e., $(n-k)|m$), by jointly designing the piggyback function for data node repair and transformation function for parity node repair. We show that the proposed second piggybacking codes have lowest repair bandwidth for any single-node failure among all the existing piggybacking codes for the evaluated parameters $k/n = 0.75, 0.8, 0.9$ and $n-k\geq 4$.

Introduction

In modern distributed storage systems, such as those operated by Google and Facebook, data reliability is typically ensured using Maximum Distance Separable (MDS) codes. While these codes provide optimal storage efficiency, they often suffer from high repair bandwidth—the amount of data transferred across the network to reconstruct a failed storage node.

Piggybacking codes have emerged as a promising solution to this bottleneck. By taking multiple instances of a base MDS code (like Reed-Solomon) and "piggybacking" additional linear combinations of data onto parity symbols, these codes can significantly reduce repair costs. However, existing designs often face rigid constraints on sub-packetization ($m$), which dictates the number of smaller symbols each data block is divided into. High sub-packetization increases system complexity, making low-$m$ designs highly desirable.

Proposed Constructions

Construction 1 ($C_1$): Flexible Sub-packetization

The first proposed construction, $C_1$, is designed for scenarios where flexibility in sub-packetization is paramount. It supports any $m$ such that $2 \le m \le r$ (where $r = n-k$ is the number of parity nodes). By partitioning nodes into disjoint subsets and strategically adding "Protect Symbols" (PS) to parity symbols, $C_1$ achieves a more balanced distribution of repair information.

General framework of the proposed piggybacking code construction showing the addition of piggyback functions $g$ to parity symbols across $m$ sub-packets.

Construction 2 ($C_2$): Joint Function Design

Construction $C_2$ targets maximum efficiency when $m$ is a multiple of $r$. The core innovation in $C_2$ is the joint design of the piggyback function (used for data node repair) and the transformation function (used for parity node repair). Traditionally, these were designed independently. By coordinating them, $C_2$ minimizes the "interference" or noise during the repair process, leading to a significant reduction in bandwidth.

A specific instance of the proposed piggybacking code with $k=6$ data nodes and $r=5$ parity nodes across $m=4$ sub-packets.

In $C_2$, cyclic shifts of parity symbols across columns are employed. This structural technique ensures that repair information is evenly distributed, preventing any single surviving node from becoming a bottleneck during the reconstruction of parity symbols.

Evaluation and Results

The performance of these codes was evaluated against state-of-the-art baselines, including REPB codes, HTEC, and OOP codes.

  • Performance of $C_1$: For parameters $r \in \{8, 9\}$ and $m=6$, $C_1$ consistently outperformed existing piggybacking codes across a wide range of data nodes ($30 \le k \le 100$).
  • Performance of $C_2$: At high code rates ($k/n = 0.75, 0.8, 0.9$), $C_2$ achieved the lowest repair bandwidth for single-node failures among all evaluated codes. This was demonstrated for sub-packetization levels $m = 6r$ and $m = r^2$.

Conclusion

This work advances the state of distributed storage by providing two new classes of piggybacking codes that optimize the trade-off between repair bandwidth and sub-packetization. $C_1$ offers unprecedented flexibility for systems requiring specific $m$ values, while $C_2$ sets a new benchmark for repair efficiency through joint function optimization. Future research will explore extending these joint design principles to even larger sub-packetization levels to further minimize network overhead.

Summary updated

BibTeX
@misc{shi2022two,
  author = {Hao Shi and Zhengyi Jiang and Zhongyi Huang and Bo Bai and Hanxu Hou},
  title = {{Two Piggybacking Codes with Flexible Sub-Packetization to Achieve Lower Repair Bandwidth}},
  year = {2022},
  eprint = {2209.09691},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.09691},
}
Figure