arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.18554cs.DC
收藏

ZCCL:利用误差有界有损压缩显著提升集合通信

ZCCL: Significantly Improving Collective Communication With Error-Bounded Lossy Compression

Jiajun Huang, Sheng Di, Xiaodong Yu, Yujia Zhai, Zhaorui Zhang, Jinyang Liu, Xiaoyi Lu, Ken Raffenetti, Hui Zhou, Kai Zhao, Khalid Alharthi, Zizhong Chen, Franc… 展开作者

Jiajun Huang, Sheng Di, Xiaodong Yu, Yujia Zhai, Zhaorui Zhang, Jinyang Liu, Xiaoyi Lu, Ken Raffenetti, Hui Zhou, Kai Zhao, Khalid Alharthi, Zizhong Chen, Franck Cappello, Yanfei Guo, Rajeev Thakur

AI总结:

针对MPI集合通信中消息过大导致性能瓶颈的问题,提出ZCCL,利用误差有界有损压缩减小消息大小,定制fZ-light压缩器并集成到多种集合操作,实验显示性能提升1.9-8.9倍。

摘要:

随着超级计算机计算能力的不断提升和科学应用规模的日益扩大,MPI集合通信的效率成为大规模分布式和并行处理中的关键瓶颈。MPI集合中较大的消息大小尤其令人担忧,因为它会显著降低整体并行性能。为解决此问题,以往研究简单地在MPI集合中应用现成的固定速率有损压缩器,导致性能次优、泛化能力有限且误差无界。本文提出了一种名为ZCCL的新方案,利用误差有界有损压缩大幅减小消息大小,从而显著降低通信成本。主要贡献有三方面:(1)我们针对两类MPI集合(集合数据移动和集合计算)的特性,开发了两种通用的、优化的基于有损压缩的框架。该框架不仅降低了通信成本,还保持了数据准确性。(2)我们定制了fZ-light,一种超快速的误差有界有损压缩器,以满足集合通信的特殊需求。(3)我们将ZCCL集成到多种集合操作中,如Allgather、Allreduce、Scatter和Broadcast,并基于真实科学应用数据集进行了全面评估。实验表明,我们的方案比原始MPI集合以及多种基线快1.9至8.9倍。

英文摘要:

With the ever-increasing computing power of supercomputers and the growing scale of scientific applications, the efficiency of MPI collective communication 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 overall parallel performance. To address this issue, prior research simply applies off-the-shelf fixed-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 ZCCL, which leverages error-bounded lossy compression to significantly reduce the message size, resulting in a substantial reduction in communication costs. 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 costs but also preserves data accuracy. (2) We customize fZ-light, an ultra-fast error-bounded lossy compressor, to meet the specific needs of collective communication. (3) We integrate ZCCL into multiple collectives, such as Allgather, Allreduce, Scatter, and Broadcast, and perform a comprehensive evaluation based on real-world scientific application datasets. Experiments show that our solution outperforms the original MPI collectives as well as multiple baselines by 1.9--8.9X.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑