arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2110.10401cs.DCcs.PF
收藏

监控GPU之间的集体通信

Monitoring Collective Communication Among GPUs

Muhammet Abdullah Soyturk, Palwisha Akhtar, Erhan Tezcan, Didem Unat

摘要:

多GPU系统中设备之间的通信在性能和可扩展性方面起着重要作用。为了优化应用程序,程序员需要知道GPU之间发生的通信的类型和数量。虽然先前的工作是在分布式系统上的MPI应用程序和共享存储器系统上的多线程应用程序中收集此信息,但没有识别GPU之间通信的工具。我们之前的工作,ComScribe,提出了一个点对点(P2P)通信检测工具的GPU共享一个共同的主机。在这项工作中,我们扩展ComScribe来识别NVIDIA NCCL库中的集体和P2P通信原语的GPU之间的通信。除了P2P通信之外,集群通信通常用于HPC和AI工作负载,因此监控集群引起的数据移动非常重要。我们的工具提取应用程序中数据传输的大小和频率,并将其可视化为通信矩阵。为了演示该工具的作用,我们提出了通信矩阵和一些统计数据的两个应用程序来自机器翻译和图像分类域。

英文摘要:

Communication among devices in multi-GPU systems plays an important role in terms of performance and scalability. In order to optimize an application, programmers need to know the type and amount of the communication happening among GPUs. Although there are prior works to gather this information in MPI applications on distributed systems and multi-threaded applications on shared memory systems, there is no tool that identifies communication among GPUs. Our prior work, ComScribe, presents a point-to-point (P2P) communication detection tool for GPUs sharing a common host. In this work, we extend ComScribe to identify communication among GPUs for collective and P2P communication primitives in NVIDIA's NCCL library. In addition to P2P communications, collective communications are commonly used in HPC and AI workloads thus it is important to monitor the induced data movement due to collectives. Our tool extracts the size and the frequency of data transfers in an application and visualizes them as a communication matrix. To demonstrate the tool in action, we present communication matrices and some statistics for two applications coming from machine translation and image classification domains.

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

↑