arXiv:2610.11114cs.DCOct 2026

Manuscript Offprint

arXiv:2610.11114

IAPRepair: In-Network Aggregation Enhanced Proactive Repair for Erasure-Coded Storage System

Lei Liu, Yong Wang, Junqi Chen, Yangfan Liang, Qian He, Baokang Zhao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Lei Liu, Yong Wang, Junqi Chen, Member, IEEE, Yangfan Liang, Member, IEEE, Qian He, Baokang Zhao

Abstract—Erasure-coded storage provides fault tolerance with substantially lower storage overhead than full replication, but repairing lost or at-risk blocks requires intensive cross-node data transfer. Existing reactive repair schemes start only after a failure, while proactive schemes can move data before failure but commonly treat migration, reconstruction, and network aggregation as loosely coupled operations. As a result, receiver-side bottlenecks, heterogeneous available bandwidth, and limited programmable-switch state continue to constrain repair parallelism. This paper presents IAPRepair, an in-network aggregation enhanced proactive repair framework for erasure-coded storage. IAPRepair jointly constructs each repair batch, assigns reconstruction providers and replacement nodes according to normalized transmission loads, schedules migration around the remaining receive capacity, and selectively enables in-network aggregation for reconstruction blocks that would otherwise overload healthy nodes. The selective design reduces receiver-side traffic while retaining migration parallelism and respecting a configurable switch-resource budget. We implement IAPRepair with a Tofino programmable switch and 16 storage nodes, and evaluate it using both a prototype testbed and large-scale simulations. Across coding parameters, block sizes, node populations, and multiple STF-node scenarios, IAPRepair reduces repair time by at least 47.83% compared with the evaluated state-of-the-art methods. The results demonstrate that coordinating proactive repair decisions with in-network processing is an effective way to improve repair efficiency under bandwidth heterogeneity.

Index Terms—Erasure coding, in-network aggregation, proactive repair, distributed storage

This work was supported by the “Jianfeng” Action Plan of the Guangxi Science and Technology Major Program (Grant No. 2026JF0601001-2), the Guangxi Key Research and Development Program, China (Grant No. AB25069178), the Open Project Program of Guangxi Key Laboratory of Digital Infrastructure (Grant No. GXDIOP2024008), the Project for Enhancing Young and Middleaged Teacher's Research Basis Ability in Colleges of Guangxi (Grant No. 2025KY0250), the National Natural Science Foundation of China (Grant Nos. 62461057, 61861013), and the Innovation Project of GUET Graduate Education (Grant Nos. 2025YCXS059, 2026YCXS062) (Corresponding author: Junqi Chen.)

Lei Liu is with the School of Computer Science and Information Security, Guilin University of Electronic Technology, Guilin 541004, China, and also with the School of Computer Science and Engineering, Guilin University of Aerospace Technology, Guilin 541004, China (e-mail: leiz2018@guat.edu.cn).

Yong Wang, Junqi Chen are with the School of Computer Science and Information Security, Guilin University of Electronic Technology, Guilin 541004, China (e-mail: ywang@guet.edu.cn; cookiechen@mails.guet.edu.cn).

Yangfan Liang is with the College of Information Science and Engineering, Jiaxing University, Jiaxing 314001, China

Qian He are with the Guangxi University Engineering Research Center of Cloud Network Convergence and Data Security, Guilin University of Electronic Technology, Guilin 541004, China (e-mail: heqian@guet.edu.cn; cookiechen@mails.guet.edu.cn).

B. Zhao is with the College of Computer Science and Technology, National University of Defense Technology, Changsha 410073, China.

I. INTRODUCTION

Large-scale distributed storage systems increasingly rely on erasure coding to provide fault tolerance with much lower storage overhead than full replication. Reed–Solomon (RS) codes, for example, encode k data blocks into n blocks and allow a missing block to be reconstructed from any k surviving blocks. The benefit comes with a substantial repair cost: reconstructing one block requires data to be retrieved from multiple nodes, and a node failure creates many concurrent block-repair tasks. The resulting cross-node traffic prolongs the data-unavailability window and can directly affect storage-system reliability.

Most existing repair systems are reactive. Pipeline-based methods such as PR, PPT, and PivotRepair reduce incast effects by coordinating transmissions across storage nodes, while RepairBoost and SelectiveEC balance repair workloads after a failure has occurred [1]–[5]. Failure prediction makes it possible to repair data before a node becomes unavailable. We refer to a node predicted to fail as a soon-to-fail (STF) node. Proactive repair can either migrate STF blocks directly to healthy nodes or reconstruct them from surviving blocks, and recent systems such as FastPR and LFPR combine these two operations in batches [6]–[12]. Nevertheless, current proactive schemes do not sufficiently coordinate receiver capacity, bandwidth heterogeneity, and the choice between migration and reconstruction.

The central difficulty is an asymmetric traffic pattern. Both STF and healthy nodes may provide repair data, but only healthy nodes can receive repaired blocks. Concurrent migration and reconstruction can therefore overload a small subset of healthy receivers. The problem is amplified when the available bandwidth of storage nodes is shared with front-end workloads and differs across nodes. A repair schedule that is balanced in terms of block counts can still be highly imbalanced in transmission time.

Programmable switches provide a complementary opportunity. In-network aggregation (INA) can combine reconstruction traffic on the forwarding path and reduce the volume delivered to storage nodes. Existing INA-based repair systems, including NetEC, Paint, and InaPR, primarily target reactive repair [13]–[15]. Applying INA to proactive repair, however, raises two coupled questions: which reconstruction blocks should consume scarce switch state, and how should migration and reconstruction tasks be assigned when node bandwidth is heterogeneous? Figure 1 summarizes this design gap.

To address these issues, we present IAPRepair, an in-network aggregation enhanced proactive repair framework for

(a) Repair before predicted failure

Failure prediction creates a limited repair window

Proactive repair window

Prediction

Failure

Soon-to-fail node

Many blocks need protection

h1

h2

h3

Healthy destinations

Protect data while the STF node is still available

(b) Parallel repair overloads receivers

FastPR couples migration and reconstruction

Migration

One block from the STF node

STF node

Reconstruction

k blocks from healthy providers

h3

Parallel repair overloads the shared receive link

Available bandwidth varies across healthy nodes

Parallelism can increase receiver contention

(c) Aggregation leaves scheduling questions

Conventional reconstruction

Network

Receiver bottleneck

In-network aggregation

P4 switch

One aggregated block

Limited aggregation state

Design gap

1 Which blocks should be aggregated?

2 How should repair load be balanced?

IAPRepair: selective INA + load-aware repair

Fig. 1: Motivation for IAPRepair. Predicted failure creates a repair burst; concurrent migration and reconstruction can overload healthy receivers; and naive in-network aggregation alone does not determine which blocks to aggregate or how to balance the remaining repair load.

erasure-coded storage. IAPRepair coordinates three decisions within each repair batch. First, it selects reconstruction blocks and assigns their provider and replacement nodes according to normalized uplink and downlink loads. Second, it schedules migration blocks around the residual receive capacity of healthy nodes. Third, it selectively enables INA for reconstruction blocks whose traffic would otherwise create a receiver bottleneck, while respecting a configurable switch-resource budget. This design couples network processing with load-aware repair scheduling, allowing migration and reconstruction to progress in parallel without indiscriminately consuming switch state.

The contributions of this paper are as follows.

• We present IAPRepair, a proactive repair framework that combines migration, reconstruction, and selective in-network aggregation for erasure-coded storage.

• We develop a load-aware batch-construction strategy that jointly assigns reconstruction and migration tasks under heterogeneous node bandwidth and receiver-capacity constraints.

• We design a selective INA decision mechanism that reduces receiver-side traffic while limiting the number of reconstruction blocks processed by the programmable switch.

• We implement IAPRepair with a Tofino programmable switch and 16 storage nodes. Prototype and simulation results show that IAPRepair reduces repair time by at least 47.83% compared with the evaluated state-of-the-art methods.

The rest of this paper is organized as follows. Section II reviews erasure-coded repair, proactive repair, programmable-switch aggregation, and related work. Section III presents the system architecture and problem formulation. Section IV details the batch-construction and selective-aggregation algorithms. Section V describes the prototype implementation. Section VI reports the evaluation results, and Section VII concludes the paper.

II. BACKGROUND AND RELATED WORK

A. Basics of erasure coding

Figure

Fig. 2: Illustration of reconstruction with RS(5,3)RS(5,3)

Many erasure codes are proposed in the literature. In this paper, we focus on Reed–Solomon codes (denoted as RS(n,k)RS(n, k)), which are widely deployed in production storage systems [16]. RS(n,k)RS(n, k) performs linear transformations on k data blocks to generate n−kn - k parity blocks, and combines these n blocks to form a stripe. A block can be reconstructed from any other k blocks within the same stripe. Specifically, denoting the failed block as D∗D^* and the selected blocks used to reconstruct D∗D^* as D1,D2,…,DkD_1, D_2, \ldots, D_k, the reconstruction process can be represented as follows:

D∗=∑i=1kβiDi(1)D^{*}=\sum_{i=1}^{k}\beta_{i}D_{i} \tag{1}

where βi\beta_{i} is the decoding coefficient of block DiD_{i}. The linear transformation is performed based on the Galois Field

GF(2w)GF(2^{w}) [17] over w-bit words. Fig. 2 illustrates data reconstruction using RS(5,3)RS(5,3) as an example. The reconstructed block can be any one of the five blocks.

Each block consists of a large number of w-bit words. Within a stripe, the words at the same offset across all blocks form an coding group. Decoding of different coding groups are independent of each other. Therefore, during the reconstruction of a failed block, a word can be reconstructed as long as any other k words from the same coding group are available. This is also the theoretical basis for performing erasure-coded data repair using programmable switches, since buffering a whole block prior to data repair would exhaust the switch's limited SRAM resources [18].

References (38)