Network communication optimization of RCCL communication library in Multi-NIC systems

Shuaiming He, Wei Wan, Junhong Li
{"title":"Network communication optimization of RCCL communication library in Multi-NIC systems","authors":"Shuaiming He, Wei Wan, Junhong Li","doi":"10.1117/12.3031956","DOIUrl":null,"url":null,"abstract":"With the widespread application of deep learning frameworks, large-scale computing and GPU programming are receiving increased attention. For upper-layer applications that utilize GPUs for computational communication, such as TensorFlow and PyTorch, improving the communication efficiency of the underlying communication library is of paramount importance to enhance the overall performance of the frameworks. Among them, the RCCL (Rocm Collective Communication Library) GPU communication library, provided by the Rocm (Radeon Open Compute platform) computing platform, supports various collective communication operations and point-to-point operations. Through analysis, we have identified a problem in the initialization and usage of the ring channel network in the RCCL library, specifically in multi-network card systems. This issue results in certain network cards being unable to communicate, leading to wasted system resources. To address this problem, optimizations can be made at the code level by introducing data structures and algorithms to control the invocation of network cards. The goal is to adjust the usage strategy of multiple network cards in the ring channel network without modifying the original design concept of RCCL. After optimization, extensive evaluations were conducted using a large-scale GPU cluster. The optimized RCCL library achieved significant improvements in communication performance. Under a communication scale of 16 compute nodes and 64 GPUs, the peak bandwidth increased from 5.28GB/s to 7.78GB/s. In inter-node collective communication tests, the performance improvement reached up to 60%. The improved RCCL library provides better low-level communication performance for upper-layer applications on the Rocm computing platform, offering enhanced communication support.","PeriodicalId":342847,"journal":{"name":"International Conference on Algorithms, Microchips and Network Applications","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-06-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Algorithms, Microchips and Network Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1117/12.3031956","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

With the widespread application of deep learning frameworks, large-scale computing and GPU programming are receiving increased attention. For upper-layer applications that utilize GPUs for computational communication, such as TensorFlow and PyTorch, improving the communication efficiency of the underlying communication library is of paramount importance to enhance the overall performance of the frameworks. Among them, the RCCL (Rocm Collective Communication Library) GPU communication library, provided by the Rocm (Radeon Open Compute platform) computing platform, supports various collective communication operations and point-to-point operations. Through analysis, we have identified a problem in the initialization and usage of the ring channel network in the RCCL library, specifically in multi-network card systems. This issue results in certain network cards being unable to communicate, leading to wasted system resources. To address this problem, optimizations can be made at the code level by introducing data structures and algorithms to control the invocation of network cards. The goal is to adjust the usage strategy of multiple network cards in the ring channel network without modifying the original design concept of RCCL. After optimization, extensive evaluations were conducted using a large-scale GPU cluster. The optimized RCCL library achieved significant improvements in communication performance. Under a communication scale of 16 compute nodes and 64 GPUs, the peak bandwidth increased from 5.28GB/s to 7.78GB/s. In inter-node collective communication tests, the performance improvement reached up to 60%. The improved RCCL library provides better low-level communication performance for upper-layer applications on the Rocm computing platform, offering enhanced communication support.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
多网卡系统中 RCCL 通信库的网络通信优化
随着深度学习框架的广泛应用,大规模计算和 GPU 编程受到越来越多的关注。对于利用GPU进行计算通信的上层应用(如TensorFlow和PyTorch)来说,提高底层通信库的通信效率对于提升框架的整体性能至关重要。其中,Rocm(Radeon Open Compute platform)计算平台提供的 RCCL(Rocm Collective Communication Library)GPU 通信库支持各种集体通信操作和点对点操作。通过分析,我们发现了 RCCL 库中环形通道网络的初始化和使用问题,特别是在多网卡系统中。这个问题导致某些网卡无法通信,造成系统资源浪费。为解决这一问题,可通过引入数据结构和算法来控制网卡的调用,从而在代码层面进行优化。目标是在不修改 RCCL 原始设计概念的情况下,调整环形通道网络中多个网卡的使用策略。优化后,使用大规模 GPU 集群进行了广泛的评估。优化后的 RCCL 库在通信性能方面取得了显著提高。在 16 个计算节点和 64 个 GPU 的通信规模下,峰值带宽从 5.28GB/s 增加到 7.78GB/s。在节点间集体通信测试中,性能提升高达 60%。改进后的 RCCL 库为 Rocm 计算平台上的上层应用提供了更好的底层通信性能,增强了通信支持。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Advanced deep-learning-based chip design enabling algorithmic and hardware architecture convergence Fusing lightweight Retinaface network for fatigue driving detection A local flooding-based survivable routing algorithm for mega-constellations networks with inclined orbits A privacy preserving carbon quota trading and auditing method DOA estimation based on mode and maximum eigenvector algorithm with reverberation environment
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1