arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.02581cs.DC
收藏

可配置的非均匀全对全通信算法

Configurable Non-uniform All-to-all Algorithms

Ke Fan, Jens Domke, Seydou Ba, Sidharth Kumar

AI总结:

本文提出可调的非均匀全对全通信算法TuNA{l}{g},考虑HPC层级架构、网络拥塞等因素,平衡带宽与延迟,在Polaris和Fugaku上分别实现42倍和138倍性能提升。

摘要:

MPI_Alltoallv通过允许进程间交换不同大小的数据块,推广了均匀的全对全通信(MPI_Alltoall)。该函数在许多应用中扮演着关键角色,例如FFT计算和关系代数操作。流行的MPI库,如MPICH和OpenMPI,使用线性算法和对数算法的组合来实现MPI_Alltoall。然而,MPI_Alltoallv通常仅依赖于线性算法的变体,未能利用对数方法的优势。此外,当前算法还忽视了现代HPC系统架构的复杂性,例如节点内(本地)与节点间(全局)通信之间的显著性能差距。本文介绍了一组可调的非均匀全对全算法,记为TuNA{l}{g},其中g和l分别指全局(节点间)和本地(节点内)通信层级。这些算法考虑了关键因素,如HPC系统的层级架构、网络拥塞、数据交换轮数以及通信突发大小。该算法有效解决了现有实现难以优化的带宽最大化与延迟最小化之间的权衡。我们在Polaris和Fugaku上分别展示了相对于最先进实现的42倍和138倍的性能提升。

英文摘要:

MPI_Alltoallv generalizes the uniform all-to-all communication (MPI_Alltoall) by enabling the exchange of data blocks of varied sizes among processes. This function plays a crucial role in many applications, such as FFT computation and relational algebra operations. Popular MPI libraries, such as MPICH and OpenMPI, implement MPI_Alltoall using a combination of linear and logarithmic algorithms. However, MPI_Alltoallv typically relies only on variations of linear algorithms, missing the benefits of logarithmic approaches. Furthermore, current algorithms also overlook the intricacies of modern HPC system architectures, such as the significant performance gap between intra-node (local) and inter-node (global) communication. This paper introduces a set of Tunable Non-uniform All-to-all algorithms, denoted TuNA{l}{g}, where g and l refer to global (inter-node) and local (intra-node) communication hierarchies.These algorithms consider key factors such as the hierarchical architecture of HPC systems, network congestion, the number of data exchange rounds, and the communication burst size. The algorithm efficiently addresses the trade-off between bandwidth maximization and latency minimization that existing implementations struggle to optimize. We show a performance improvement over the state-of-the-art implementations by factors of 42x and 138x on Polaris and Fugaku, respectively.

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

↑