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

通过CUDA图实现多路径加速节点内GPU到GPU通信

Accelerating Intra-Node GPU-to-GPU Communication Through Multi-Path Transfers with CUDA Graphs

Queen’s University(女王大学)

Amirhossein Sojoodi, Yiltan Hassan Temucin, Amirreza Baratisedeh, Hamed Sharifian, Ahmad Afsahi

AI总结:

本文提出利用CUDA图与UCX框架结合,通过多路径提升GPU通信效率,实验显示在多路径下实现2.95倍带宽提升。

摘要:

有效的节点内GPU通信对于优化基于MPI的HPC应用性能至关重要,尤其是在利用多通信路径时。本文提出一种将CUDA图整合到UCX框架中的新方法,通过同时利用NVLink和通过主机的PCIe路径,并使用CUDA图优化通信流程,显著减少了通信开销并提高了执行效率。据我们所知,这是首次将CUDA图无缝整合到UCX中的方法。通过在四GPU节点上的广泛实验,我们提出的基于CUDA图的多路径通信方法在GPU到GPU OMB带宽测试中,当使用主机路径和另外两个GPU路径时,消息大小达512MB时,相比单路径UCX(UCT::CUDA-IPC)实现了高达2.95倍的带宽提升。

英文摘要:

Effective intra-node GPU communication is essential for optimizing performance in MPI-based HPC applications, especially when leveraging multiple communication paths. In this study, we propose a novel approach that integrates CUDA Graphs into the UCX framework to enhance intra-node multi-path point-to-point GPU communication. By concurrently leveraging multiple paths, including NVLink and PCIe through the host, and optimizing communication workflows using CUDA Graph, we achieve significant reductions in communication overhead and improve execution efficiency. To the best of our knowledge, our proposed approach is the first to seamlessly integrate CUDA Graphs into UCX. Through extensive experiments on a four-GPU node, our proposed CUDA Graph-based multi-path communication approach achieves up to a 2.95x bandwidth improvement, compared to the single-path UCX (UCT::CUDA-IPC), in GPU-to-GPU OMB bandwidth test when utilizing the host path and two other GPU paths, at message sizes up to 512MB.

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

↑