Accelerating XOR-based Erasure Coding using Program Optimization Techniques

Yuya Uezato
8/5/2021
cs.PLcs.DCcs.PF

Official code: yuezato/xorslp_ec (9 stars, Rust, MIT, Rust, last commit 2021-12-16).

Abstract

Erasure coding (EC) affords data redundancy for large-scale systems. XOR-based EC is an easy-to-implement method for optimizing EC.

Show full abstract

This paper addresses a significant performance gap between the state-of-the-art XOR-based EC approach (with 4.9 GB/s coding throughput) and Intel's high-performance EC library based on another approach (with 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 optimization techniques. Our optimization flow is three-fold: 1) reducing operations 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 8.92 GB/s throughput.

View on arXivView PDF

Code Implementations(1)

yuezato/xorslp_ecOfficial100%
RustMIT
92Rust, CAug 4, 20214 years agoMIT

Similar Papers

Cite this paper

@article{uezato2021accelerating,
  title  = {Accelerating XOR-based Erasure Coding using Program Optimization Techniques},
  author = {Yuya Uezato},
  year   = {2021},
  eprint = {2108.02692},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.02692}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.02692.svg)](https://codeofpaper.com/paper/2108.02692)

Discussion