arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.01680cs.DCcs.LGcs.NI
收藏

不要让少数网络故障拖慢整个 AllReduce

Don't Let a Few Network Failures Slow the Entire AllReduce

University of Maryland, College Park(马里兰大学学院公园分校);Utrecht University(乌特雷赫大学);Kyoto University(京都大学)

Peiqing Chen, Jiedong Jiang, Nengneng Yu, Yuefeng Wang, Sixian Xiong, Wei Wang, Zaoxing Liu

AI总结:

针对网络故障导致 AllReduce 性能下降的问题,提出基于信息论下界的 OptCC 算法,通过四阶段流水线设计在带宽损失高达 50% 时仍接近无故障性能。

摘要:

网络故障是大规模 GPU 集群中最常见的硬件故障之一,也是训练任务中断的主要原因。现代集体通信库(如 NCCL)通过将流量重新路由到同一服务器上幸存的 NIC 来缓解网络故障,以降低节点间带宽换取不间断训练。然而,降级后的服务器仍处于标准环形算法的关键路径上,拖慢了整个集体通信。我们首次给出了非对称网络带宽下 AllReduce 完成时间的信息论下界,并表明当落后者保留至少一半原始带宽时,相对于无故障最优值的不可避免开销仅为 O(1/p)(p 为 GPU 数量)。然后,我们设计了 OptCC,一种接近该下界的四阶段流水线 AllReduce 算法。SimAI 上的实验证实,OptCC 缩小了现有容错方案留下的差距:在实际网络故障(带宽损失高达 50%)下,OptCC 的 AllReduce 完成时间在 NCCL 无故障环形性能的 2-6% 以内,而现有最优方案的开销高达 57%。

英文摘要:

Network failures are among the most frequent hardware faults in large-scale GPU clusters and a leading cause of training-job interruptions. Modern collective communication libraries such as NCCL mitigate network failures by rerouting traffic through surviving NICs on the same server, trading reduced inter-node bandwidth for uninterrupted training. However, the degraded server remains on the critical path of the standard ring algorithm, slowing the entire collective. We present the first information-theoretic lower bound on AllReduce completion time under asymmetric network bandwidth and show that when the straggler retains at least half of its original bandwidth, the unavoidable overhead relative to the fault-free optimum is only O(1/p) for p GPUs. We then design OptCC, a four-stage pipelined AllReduce algorithm that approaches this lower bound. Experiments on SimAI confirm that OptCC closes the gap left by existing fault-tolerant schemes: under practical network failures with up to 50% bandwidth loss, OptCC completes AllReduce within 2-6% of NCCL's fault-free ring performance, whereas the state-of-the-art incurs up to 57% overhead.

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

↑