Fast Garbage Collection in Erasure-Coded Storage Clusters
<italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Erasure codes</i> (EC) have been widely adopted to provide high data reliability with low storage costs in clusters. Due to the deletion and out-of-place update operations, some data blocks are invalid, which unfortunately arouses the tedious <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">garbage collection</i> (GC) problem. Several limitations still plague existing designs: substantial network traffic, unbalanced traffic load, and low read/write performance after GC. This paper proposes FastGC, a fast garbage collection method that merges the old stripes into a new stripe and reclaims invalid blocks. FastGC quickly generates an efficient merge solution by stripe grouping and bit sequences operations to minimize network traffic and maintains data block distributions of the same stripe to ensure read performance. It carefully allocates the storage space for new stripes during merging to eliminate the discontinuous free spaces that affect write performance. Furthermore, to accelerate the parity updates after merging, FastGC greedily schedules the transmission links for multi-stripe updates to balance the traffic load across nodes and adopts a maximum flow algorithm to saturate the bandwidth utilization. Comprehensive evaluation results show via simulations and Alibaba ECS experiments that FastGC can significantly reduce 10.36%-81.22% of the network traffic and 34.25%-72.36% of the GC time while maintaining read/write performance after GC.
Authors
- Hai Zhou (ORCID: https://orcid.org/0000-0002-0869-3038)
- Dan Feng (ORCID: https://orcid.org/0000-0002-4674-6006)
- Yuchong Hu (ORCID: https://orcid.org/0000-0003-1265-7141)
- Huang Huadong
- Wei Wang (ORCID: https://orcid.org/0009-0008-6475-8642)
Institutions
- Wuhan National Laboratory for Optoelectronics (CN)
- Computing Center (RU)
- Huazhong University of Science and Technology (CN)
Publication Details
- Journal
- IEEE Transactions on Computers
- Published
- 2025-06-03
- DOI
- https://doi.org/10.1109/tc.2025.3575914
- Primary Topic
- Advanced Manufacturing and Logistics Optimization
- Type
- article
- Field-Weighted Citation Impact
- 0.00