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

OpTree:一种高效的全聚集光互连算法

OpTree: An Efficient Algorithm for All-gather Operation in Optical Interconnect Systems

Fei Dai, Yawen Chen, Zhiyi Huang, Haibo Zhang

摘要:

全聚集集体通信是并行和分布式计算中最重要的通信原语之一,在分布式深度学习(DL)等具有模型并行和混合并行的HPC应用中起着至关重要的作用。光互连网络可以为分布式节点间的数据传输提供前所未有的高带宽和可靠性,解决了全汇聚的通信瓶颈。然而,大多数传统的All-gather算法是针对电互连设计的,不能很好地适应光互连系统,导致性能不佳。本文提出了一种有效的方案,称为OpTree,所有收集操作的光互连系统。OpTree根据最优通信级数导出最优的$m$ -ary树,实现最小的通信时间。我们进一步分析和比较OpTree与现有的All-gather算法的通信步骤。理论结果表明,OpTree需要更少的通信步骤比现有的所有收集算法的光互连系统。仿真结果表明,与现有的WRHT、Ring和NE三种All-gather方案相比,OpTree可分别减少72.21%、94.30%和88.58%的通信时间。

英文摘要:

All-gather collective communication is one of the most important communication primitives in parallel and distributed computation, which plays an essential role in many HPC applications such as distributed Deep Learning (DL) with model and hybrid parallelism. To solve the communication bottleneck of All-gather, optical interconnection network can provide unprecedented high bandwidth and reliability for data transfer among the distributed nodes. However, most traditional All-gather algorithms are designed for electrical interconnection, which cannot fit well for optical interconnect systems, resulting in poor performance. This paper proposes an efficient scheme, called OpTree, for All-gather operation on optical interconnect systems. OpTree derives an optimal $m$-ary tree corresponding to the optimal number of communication stages, achieving minimum communication time. We further analyze and compare the communication steps of OpTree with existing All-gather algorithms. Theoretical results exhibit that OpTree requires much less number of communication steps than existing All-gather algorithms on optical interconnect systems. Simulation results show that OpTree can reduce communication time by 72.21%, 94.30%, and 88.58%, respectively, compared with three existing All-gather schemes, WRHT, Ring, and NE.

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

↑