Skip to main content
QUICK REVIEW

[Paper Review] An Optimized Error-controlled MPI Collective Framework Integrated with Lossy Compression

Jiajun Huang, Sheng Di|arXiv (Cornell University)|Apr 8, 2023
Distributed and Parallel Computing SystemsComputer Science3 citations
TL;DR

This paper proposes C-Coll, a novel, error-bounded lossy compression framework integrated into MPI collectives to reduce communication overhead in large-scale scientific HPC workloads. By optimizing compression timing and integrating a pipelined, customized version of the SZx compressor, C-Coll achieves up to 2.7× speedup over native MPI collectives while maintaining strict error bounds, significantly improving performance and accuracy over prior lossy-compression-based MPI solutions.

ABSTRACT

With the ever-increasing computing power of supercomputers and the growing scale of scientific applications, the efficiency of MPI collective communications turns out to be a critical bottleneck in large-scale distributed and parallel processing. The large message size in MPI collectives is particularly concerning because it can significantly degrade the overall parallel performance. To address this issue, prior research simply applies the off-the-shelf fix-rate lossy compressors in the MPI collectives, leading to suboptimal performance, limited generalizability, and unbounded errors. In this paper, we propose a novel solution, called C-Coll, which leverages error-bounded lossy compression to significantly reduce the message size, resulting in a substantial reduction in communication cost. The key contributions are three-fold. (1) We develop two general, optimized lossy-compression-based frameworks for both types of MPI collectives (collective data movement as well as collective computation), based on their particular characteristics. Our framework not only reduces communication cost but also preserves data accuracy. (2) We customize SZx, an ultra-fast error-bounded lossy compressor, to meet the specific needs of collective communication. (3) We integrate C-Coll into multiple collectives, such as MPI_Allreduce, MPI_Scatter, and MPI_Bcast, and perform a comprehensive evaluation based on real-world scientific datasets. Experiments show that our solution outperforms the original MPI collectives as well as multiple baselines and related efforts by 1.8-2.7X.

Motivation & Objective

  • To address the suboptimal performance and unbounded error issues in existing lossy-compression-integrated MPI collectives.
  • To reduce communication cost in large-message MPI collectives without sacrificing data accuracy.
  • To design a generalizable, high-performance framework that integrates lossy compression with both collective data movement and collective computation operations.
  • To customize the SZx compressor for low-latency, high-throughput use in MPI collective contexts.
  • To validate the framework's performance and accuracy across real-world scientific datasets and multiple MPI collectives.

Proposed method

  • Design two optimized frameworks: one for collective data movement (e.g., Scatter, Bcast, All-gather) and another for collective computation (e.g., Reduce-scatter), each tailored to the communication and computation patterns of their respective operations.
  • Integrate error-bounded lossy compression using SZx, a high-speed compressor, with a pipelined architecture to overlap compression and communication, minimizing idle time.
  • Apply compression before transmission and decompression after reception, with error bounds enforced via user-specified absolute error thresholds.
  • Customize SZx for MPI collectives by optimizing its internal data layout and compression pipeline to reduce latency and improve throughput.
  • Implement C-Coll in key MPI collectives: C-Allreduce, C-Scatter, and C-Bcast, enabling end-to-end integration with MPI runtimes.
  • Use real-world scientific datasets (e.g., image classification, climate simulations) to evaluate performance and data fidelity under varying error bounds.

Experimental results

Research questions

  • RQ1Can lossy compression be effectively integrated into MPI collectives to reduce communication cost while maintaining bounded error?
  • RQ2How can compression overhead be minimized and communication hidden effectively in both data movement and computation collectives?
  • RQ3What performance and accuracy trade-offs arise when using error-bounded versus fixed-rate compression in MPI collectives?
  • RQ4Can a customized, high-performance compressor like SZx outperform general-purpose compressors (e.g., ZFP) in MPI collective settings?
  • RQ5To what extent does the proposed framework generalize across different MPI collectives and scientific workloads?

Key findings

  • C-Allreduce achieves up to 2.1× speedup over native MPI_Allreduce, with the highest performance gain observed at an error bound of 1E-2.
  • At an error bound of 1E-4, C-Allreduce achieves a PSNR of 79.57 and NRMSE of 1E-4, indicating near-lossless reconstruction quality.
  • C-Scatter and C-Bcast outperform their native counterparts by up to 1.8× and 2.7×, respectively, demonstrating generalizability across collectives.
  • The C-Coll framework with SZx outperforms all baselines—including ZFP(FXR), ZFP(ABS), and CPR-P2P—across all error bounds, with superior accuracy and performance.
  • The reconstructed images from C-Allreduce at 1E-3 and 1E-4 error bounds are visually indistinguishable from the original, while ZFP-baselines show noticeable degradation.
  • Error propagation is significantly reduced in C-Coll compared to CPR-P2P, which suffers from unbounded error accumulation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.