SC2021Top-tier venue
Accelerating XOR-based erasure coding using program optimization techniques
Abstract
Erasure coding (EC) affords data redundancy for large-scale systems. XOR-based EC is an easy-to-implement method for optimizing EC. This paper addresses a significant performance gap between the state-of-the-art XOR-based EC approach ( 4.9 GB/s coding throughput) and Intel's high-performance EC library based on another approach ( 6.7 GB/s). We propose a novel approach based on our observation that XOR-based EC virtually generates programs of a Domain Specific Language for XORing byte arrays. We formalize such programs as straight-line programs (SLPs) of compiler construction and optimize SLPs using various program optimization techniques. Our optimization flow is three-fold: 1) reducing the number of XORs using grammar compression algorithms; 2) reducing memory accesses using deforestation, a functional program optimization method; and 3) reducing cache misses using the (red-blue) pebble game of program analysis. We provide an experimental library, which outperforms Intel's library with an 8.92 GB/s throughput.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on1
Related papers
- The XOR Cache: A Catalyst for CompressionZhewen Pan, Joshua San MiguelISCA 2025 · 1 citation
- Optimal Data Placement for Stripe Merging in Locally Repairable CodesSi Wu, Qingpeng Du, Patrick P. C. Lee, Yongkun Li et al.INFOCOM 2022 · 23 citations
- ROE: Repair-Oriented Encoding for Erasure Codes with LocalitiesHongjing Yu, Si Wu, Jinyao Liu, Feng LiINFOCOM 2026
- Stripeless Data Placement for Erasure-Coded In-Memory StorageJian Gao, Jiwu Shu, Bin Yan, Yuhao Zhang et al.OSDI 2025
- Elf: Erasing-based Lossless Floating-Point CompressionRuiyuan Li, Zheng Li, Yi Wu, Chao Chen et al.VLDB 2023 · 44 citations
