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.
翻译:高效的节点内GPU通信对于优化基于MPI的HPC应用性能至关重要,特别是在利用多条通信路径时。本研究提出一种创新方法,将CUDA图集成到UCX框架中,以增强节点内多路径点对点GPU通信。通过同时利用包括NVLink和通过主机的PCIe在内的多条路径,并借助CUDA图优化通信工作流,我们显著降低了通信开销并提升了执行效率。据我们所知,所提方法首次将CUDA图无缝集成至UCX框架。在四GPU节点上的大量实验表明,当使用主机路径和另外两条GPU路径时,所提出的基于CUDA图的多路径通信方法在GPU间OMB带宽测试(消息大小最高512MB)中,相比单路径UCX(UCT::CUDA-IPC)获得了高达2.95倍的带宽提升。