TL;DR
This paper introduces C-Coll, a novel framework that significantly speeds up MPI collective communications in large-scale scientific applications by integrating error-bounded lossy compression. By optimizing compression strategies and carefully managing error propagation, C-Coll achieves substantial performance gains (up to 2.7x) without compromising data accuracy, addressing a critical bottleneck in modern high-performance computing.
What Problem Does This Paper Address?
As supercomputers grow in scale and scientific applications demand more computational power, the efficiency of Message Passing Interface (MPI) collective communications becomes a major performance bottleneck, especially when dealing with large messages. Traditional approaches to optimize these communications often fall short, either by using off-the-shelf compressors that lead to suboptimal performance and uncontrolled errors, or by not effectively handling the unique characteristics of collective operations. This paper tackles the challenge of reducing communication costs in MPI collectives for large messages while ensuring data accuracy, a crucial requirement for scientific simulations and data analysis.
Methods
The core of this work is the C-Coll (Compression-facilitated MPI Collective framework). It introduces two novel, optimized frameworks tailored for different types of MPI collectives:
- Collective Data Movement Framework: This framework focuses on operations like Scatter and Bcast. It cleverly hides communication costs by performing compression once before transmission and decompression only after all communications are complete, significantly reducing compression overhead compared to previous methods. It also addresses error propagation by ensuring data is compressed only once.
- Collective Computation Framework: Designed for operations like Allreduce and Reduce-scatter, this framework addresses the challenge of updating data during computation. It uses a pipelined approach with a customized version of the SZx compressor (PIPE-SZx) to overlap compression and communication, further reducing overhead.
A key aspect of C-Coll is the careful selection and customization of the SZx compressor, chosen for its speed and error-bounded capabilities. The authors also perform theoretical analysis to prove that the error propagation in their framework is well-bounded, ensuring data integrity.
Datasets
The paper evaluates C-Coll using several real-world scientific datasets:
- RTM (Reverse Time Migration): Used for seismic imaging.
- Hurricane Simulation: Data from climate modeling.
- CESM-ATM (Community Earth System Model): Data from climate simulation.
These datasets are described with their file counts and dimensions in Table IV. The authors also mention using specific fields (e.g., PRECIPf, QGRAUPf, CLOUDF, Q) from these datasets for detailed evaluations.
Key Insights and Ideas
- Compression is not a one-size-fits-all solution: Simply applying existing compressors to MPI collectives leads to inefficiencies. C-Coll's tailored frameworks are crucial.
- Error-bounded compression is key for scientific applications: Unlike fixed-rate compression, error-bounded methods provide a guarantee on data quality, which is non-negotiable for scientific accuracy.
- Hiding communication is more effective than just compressing: The C-Coll framework's ability to strategically overlap compression/decompression with communication is a major performance driver.
- Data movement and computation collectives require different optimization strategies: The paper successfully demonstrates distinct, effective approaches for each category.
- SZx is a strong candidate for HPC compression: The authors' analysis and customization of SZx highlight its potential for high-performance computing scenarios.
Key Results
- Significant Speedups: C-Coll achieves substantial performance improvements, outperforming original MPI collectives by 1.8x to 2.7x for operations like MPI_Allreduce, MPI_Scatter, and MPI_Bcast.
- Reduced Communication Cost: The framework can reduce communication costs by up to 4.9x.
- Controlled Accuracy: The error-bounded nature of C-Coll ensures high data integrity, demonstrated through numerical metrics like PSNR and NRMSE, and visual evaluations. For example, with an error bound of 1E-3, C-Allreduce achieves a PSNR of 57.97 and NRMSE of 1E-3.
- Scalability: C-Coll shows strong performance scaling across various node counts (2 to 128 nodes).
- Generalizability: The framework's effectiveness is demonstrated across different datasets and collective operations, including C-Scatter and C-Bcast.
Limitations and Future Work
- Limitations: The paper acknowledges that while C-Coll significantly reduces compression overhead, it still introduces some overhead compared to the original MPI collectives without compression. The "Others" category in performance breakdowns (e.g., 23% in the 278MB case) points to potential overheads related to buffer management for compression-generated data.
- Future Work: The authors plan to expand their research by implementing more C-Coll based collectives and deploying the design on other hardware architectures, such as GPUs and AI accelerators.
Summary updated