Abstract
Collective communication operations, such as Allreduce and Allgather, are critical bottlenecks in high-performance computing (HPC) and deep learning. While network bandwidth remains a scarce resource, CPU power is increasingly abundant, making data compression an attractive solution. However, traditional lossless compression is ineffective for scientific floating-point data, and naive lossy compression often introduces prohibitive computational overhead. This paper presents ZCCL (Compression-facilitated Collective Communication), a framework that integrates error-bounded lossy compression directly into collective algorithms. By redesigning data movement and computation patterns, ZCCL achieves up to an 8.9× speedup over standard MPI while providing rigorous mathematical guarantees on data accuracy.
1. Introduction
In modern supercomputing, the performance of large-scale simulations and AI models is frequently limited by the time spent in MPI collective communications. As data volumes grow, the gap between network capacity and computational power widens. While lossy compression can significantly reduce data volume, existing "black-box" implementations often negate network savings due to the high overhead of repeated compression and decompression cycles. Furthermore, fixed-rate lossy compression can lead to uncontrolled error propagation in iterative scientific workflows.
ZCCL addresses these challenges by moving beyond simple point-to-point compression. It introduces a framework that optimizes the entire communication stack, ensuring that compression is performed strategically to maximize throughput without compromising scientific integrity.
2. The ZCCL Framework
ZCCL is structured as a multi-layered system designed to bridge the gap between user applications and low-level communication libraries.
The framework consists of two primary components:
- Data Movement Framework (DMF): Optimized for non-computational collectives like
ScatterorAllgather. It ensures data is compressed only once at the source and decompressed only once at the destination, eliminating redundant operations during multi-hop transfers. - Collective Computation Framework (CCF): Designed for operations involving reduction (e.g.,
Allreduce). It employs a pipelined approach, breaking data into small chunks (5120 points) to overlap the compression of current data with the transmission of previously compressed chunks.
At its core, ZCCL utilizes fZ-light, an ultra-fast, multi-core optimized compressor. The framework also provides a theoretical proof (Theorem 1) demonstrating that the final error in a reduction operation follows a predictable normal distribution, allowing users to set strict error bounds (e.g., $10^{-4}$).
3. Algorithmic Innovations
A key insight of ZCCL is the "Compress Once" advantage. In traditional ring-based algorithms, data typically undergoes compression and decompression at every node in the ring. ZCCL redesigns these patterns to minimize the computational footprint.
As illustrated in the comparison above, ZCCL's proposed framework reduces the number of compression (CPR) and decompression (DEC) operations significantly. In a ring-based Allgather with $N$ nodes, ZCCL reduces the total compression overhead by nearly $N×$ compared to naive point-to-point compression implementations.
4. Experimental Evaluation
The framework was evaluated using four real-world scientific datasets: RTM (seismic), NYX (cosmology), CESM-ATM (climate), and Hurricane ISABEL (weather). These datasets represent the high-entropy floating-point data typical of modern HPC workloads.
Key Results:
- Performance Gains: ZCCL outperformed standard MPI collectives by 1.9× to 8.9×.
- Comparative Advantage: When compared to
C-Coll, the previous state-of-the-art in compression-enabled collectives, ZCCL was up to 3.19× faster in multi-threaded environments. - Application Validation: In a real-world image stacking application, ZCCL provided a 3.0× performance boost while maintaining a Peak Signal-to-Noise Ratio (PSNR) of 49.1 dB, ensuring the results remained scientifically valid.
5. Conclusion
ZCCL demonstrates that error-bounded lossy compression, when deeply integrated into collective algorithm design, can overcome the network bottlenecks of modern HPC systems. By balancing computational overhead with network savings through pipelining and "compress once" strategies, ZCCL provides a scalable path forward for data-intensive scientific computing. Future work will focus on extending these pipelined frameworks to GPU-accelerated clusters and AI-specific hardware.
Summary updated