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

理解基于 Infinity Fabric 的 AMD 多 GPU 系统中的数据移动

Understanding Data Movement in AMD Multi-GPU Systems with Infinity Fabric

Gabin Schieffer, Ruimin Shi, Stefano Markidis, Andreas Herten, Jennifer Faj, Ivy Peng

AI总结:

本文提出一种针对 AMD MI250X 多 GPU 系统的数据移动性能测试评估方法,通过对比点对点通信、集合通信及内存分配策略,证明直接点对点访问与 RCCL 库在延迟和带宽上优于 MPI 方案。

摘要:

现代 GPU 系统持续演进,以满足科学计算和机器学习领域中计算密集型应用的需求。然而,硬件能力与实际可达到的应用性能之间通常存在差距。本研究旨在更好地理解 AMD GPU 和 CPU 上的 Infinity Fabric 互连。我们提出了一种测试与评估方法,用于表征多 GPU 系统上数据移动的性能,重点考察 AMD MI250X GPU 上的不同通信选项,包括点对点通信和集合通信,以及 GPU 之间和与主机 CPU 之间的内存分配策略。在包含四个 GPU 的单节点配置中,我们表明 GPU 之间的直接点对点内存访问以及 RCCL 库的使用在内存/通信延迟和带宽方面均优于基于 MPI 的解决方案。我们的测试与评估方法可作为验证系统内存与通信策略以及改进 AMD 多 GPU 计算系统上应用程序性能的基础。

英文摘要:

Modern GPU systems are constantly evolving to meet the needs of computing-intensive applications in scientific and machine learning domains. However, there is typically a gap between the hardware capacity and the achievable application performance. This work aims to provide a better understanding of the Infinity Fabric interconnects on AMD GPUs and CPUs. We propose a test and evaluation methodology for characterizing the performance of data movements on multi-GPU systems, stressing different communication options on AMD MI250X GPUs, including point-to-point and collective communication, and memory allocation strategies between GPUs, as well as the host CPU. In a single-node setup with four GPUs, we show that direct peer-to-peer memory accesses between GPUs and utilization of the RCCL library outperform MPI-based solutions in terms of memory/communication latency and bandwidth. Our test and evaluation method serves as a base for validating memory and communication strategies on a system and improving applications on AMD multi-GPU computing systems.

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

↑