NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CEAZ: accelerating parallel I/O via hardware-algorithm co-designed adaptive lossy compression

Chengming Zhang, Sian Jin, Tong Geng, Jiannan Tian, Ang Li, Dingwen Tao

TL;DR

High-performance computing (HPC) systems are drowning in data, making I/O a major bottleneck. This paper introduces CEAZ, a novel hardware-algorithm co-designed lossy compressor that runs on FPGAs, achieving unprecedented throughput and compression ratios for scientific data. CEAZ significantly accelerates parallel I/O operations, crucial for modern HPC applications.

What Problem Does This Paper Address?

As HPC systems scale towards exascale, the volume of data generated by simulations is exploding. This massive data output creates a significant bottleneck for I/O operations (saving and transmitting data), often hindering overall application performance. While error-bounded lossy compression techniques can reduce data size, existing CPU-based implementations are too slow to keep up with HPC demands. Offloading compression to hardware like FPGAs on SmartNICs offers a promising solution, but current FPGA-based compressors lack the necessary throughput and compression ratios to be truly effective. This paper addresses the challenge of designing a high-throughput, high-compression-ratio lossy compressor specifically for FPGAs to accelerate parallel I/O in HPC.

Methods

CEAZ employs a hardware-algorithm co-design approach, integrating an efficient and adaptive lossy compression algorithm with an FPGA-based accelerator. Key techniques include:

  • Dual-Quantization Algorithm: This algorithm, adapted from SZ, completely removes data dependencies in the prediction and quantization stages, allowing for parallel processing of data chunks. This is crucial for FPGA architectures where parallel pipelines are key.
  • Adaptive Huffman Coding: Instead of static Huffman trees, CEAZ dynamically updates Huffman codewords. It uses offline-generated codewords as a baseline and adaptively updates them based on the observed symbol frequencies. This balances compression ratio with throughput by avoiding the overhead of frequent tree rebuilding.
  • Theoretical Analysis for Error Control: The paper derives a theoretical framework to precisely control the compression ratio under an error-bounded mode. This enables accurate generation of offline Huffman codewords and facilitates a fixed-ratio compression mode for consistent throughput.
  • Approximate Sorting: To speed up the Huffman tree building process, CEAZ uses a novel approximate sorting algorithm that leverages the symmetric distribution of symbol frequencies, significantly reducing latency compared to traditional sorting methods.
  • FPGA-based SmartNIC Integration: CEAZ is designed to be integrated into FPGA-based SmartNICs, allowing it to offload compression directly from the host CPU and accelerate parallel I/O operations.

Datasets

The paper evaluates CEAZ using five real-world scientific datasets:

  • CESM (Climate)
  • HACC (Cosmology)
  • NYX (Cosmology)
  • NWChem (Molecular)
  • S3D (Combustion)
  • Brown (Physics)

These datasets are sourced from the Scientific Data Reduction Benchmarks [41] and Datasets for Benchmarking Floating-Point Compressors [27]. The paper does not introduce new benchmarks but uses these existing ones to demonstrate CEAZ's effectiveness across various scientific domains.

Key Insights and Ideas

  • FPGA-based Compression is Key for HPC I/O: The paper strongly advocates for offloading lossy compression to FPGAs on SmartNICs as a critical step to overcome HPC I/O bottlenecks, offering advantages in latency, energy efficiency, and customization over GPUs.
  • Adaptive Huffman Coding is Crucial for Throughput: Static Huffman coding is a bottleneck. CEAZ's adaptive approach, balancing offline and online updates, is vital for achieving high compression throughput without sacrificing too much compression ratio.
  • Theoretical Control Enables Predictability: The derivation of a theoretical analysis for error-bounded compression is a significant contribution, enabling precise control over compression ratios and facilitating the development of a fixed-ratio mode, which is essential for predictable data transfer performance.
  • Dual-Quantization's Parallelism is a Game-Changer for FPGAs: By eliminating data dependencies, the dual-quantization algorithm unlocks the full parallel processing potential of FPGAs, a key enabler for CEAZ's high throughput.
  • Approximate Sorting is a Clever Optimization: Leveraging the statistical properties of scientific data for approximate sorting is an elegant way to shave off significant latency in the Huffman tree construction process.

Key Results

CEAZ demonstrates significant improvements across various metrics:

  • Throughput: CEAZ outperforms the second-best FPGA-based lossy compressor (BurstZ) by 2.3x in throughput on a single FPGA board.
  • Compression Ratio: CEAZ achieves 3.0x higher compression ratio than BurstZ.
  • Parallel I/O Acceleration:
    • CEAZ improves MPI_File_write throughput by up to 28.9x on NYX and 37.8x on S3D with 128 nodes.
  • CEAZ improves MPI_Gather throughput by up to 21.0x on NYX and 37.8x on S3D with 128 nodes.
  • Latency: CEAZ achieves significantly lower latency than GPU-based compressors (cuSZ, cuZFP), up to 113.4x lower than cuSZ.
  • Robustness: CEAZ shows strong robustness, recovering to a reasonable compression ratio within 3.52 ms even when encountering drastically different datasets.
  • Fixed-Ratio Mode: The fixed-ratio mode achieves target compression ratios with an error of within 7.5%.

Limitations and Future Work

  • Limitations:
    • The paper notes that the compression ratio degradation on the HACC dataset is more pronounced due to the Lorenzo predictor's lower efficiency on this specific dataset, leading to more outliers.
  • While CEAZ's throughput is high, it is still bounded by the FPGA's clock frequency and the bandwidth of the interconnect.
  • Future Work:
    • The authors plan to deploy CEAZ on FPGA-based clusters.
  • They also intend to extend CEAZ to Data Processing Unit (DPU)-based systems, which are emerging programmable SmartNICs.

Summary updated

BibTeX
@inproceedings{zhang2022ceaz,
  author = {Chengming Zhang and Sian Jin and Tong Geng and Jiannan Tian and Ang Li and Dingwen Tao},
  title = {{CEAZ: accelerating parallel I/O via hardware-algorithm co-designed adaptive lossy compression}},
  booktitle = {ICS},
  year = {2022},
  doi = {10.1145/3524059.3532362},
}
Figure