Efficient Multi-GPU Shared Memory via Automatic Optimization of Fine-Grained Transfers
Harini Muthukrishnan, David W. Nellans, Daniel Lustig, Jeffrey A. Fessler, Thomas F. Wenisch
摘要
Despite continuing research into inter-GPU communication mechanisms, extracting performance from multi-GPU systems remains a significant challenge. Inter-GPU communication via bulk DMA-based transfers exposes data transfer latency on the GPU’s critical execution path because these large transfers are logically interleaved between compute kernels. Conversely, fine-grained peer-to-peer memory accesses during kernel execution lead to memory stalls that can exceed the GPUs’ ability to cover these operations via multi-threading. Worse yet, these sub-cacheline transfers are highly inefficient on current inter-GPU interconnects. To remedy these issues, we propose PROACT, a system enabling remote memory transfers with the programmability and pipeline advantages of peer-to-peer stores, while achieving interconnect efficiency that rivals bulk DMA transfers. Combining compile-time instrumentation with fine-grain tracking of data block readiness within each GPU, PROACT enables interconnect-friendly data transfers while hiding the transfer latency via pipelining during kernel execution. This work describes both hardware and software implementations of PROACT and demonstrates the effectiveness of a PROACT software prototype on three generations of GPU hardware and interconnects. Achieving near-ideal interconnect efficiency, PROACT realizes a mean speedup of 3.0× over single-GPU performance for 4-GPU systems, capturing 83% of available performance opportunity. On a 16-GPU NVIDIA DGX-2 system, we demonstrate an 11.0× average strong-scaling speedup over single-GPU performance, 5.3× better than a bulk DMA-based approach.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- GPS: A Global Publish-Subscribe Model for Multi-GPU Memory Management 引用了 Griffin: Hardware-Software Support for Efficient Page Migration in Multi-GPU Systems
- GPS: A Global Publish-Subscribe Model for Multi-GPU Memory Management 引用了 HMG: Extending Cache Coherence Protocols Across Modern Hierarchical Multi-GPU Systems
- GPS: A Global Publish-Subscribe Model for Multi-GPU Memory Management 引用了 Batch-Aware Unified Memory Management in GPUs for Irregular Workloads
- MoE-Hub: Taming Software Complexity for Seamless MoE Overlap with Hardware-Accelerated Communication on Multi-GPU Systems 引用了 FinePack: Transparently Improving the Efficiency of Fine-Grained Transfers in Multi-GPU Systems
- FinePack: Transparently Improving the Efficiency of Fine-Grained Transfers in Multi-GPU Systems 引用了 GPS: A Global Publish-Subscribe Model for Multi-GPU Memory Management
- FinePack: Transparently Improving the Efficiency of Fine-Grained Transfers in Multi-GPU Systems 引用了 Griffin: Hardware-Software Support for Efficient Page Migration in Multi-GPU Systems
- FinePack: Transparently Improving the Efficiency of Fine-Grained Transfers in Multi-GPU Systems 引用了 HMG: Extending Cache Coherence Protocols Across Modern Hierarchical Multi-GPU Systems
- FinePack: Transparently Improving the Efficiency of Fine-Grained Transfers in Multi-GPU Systems 引用了 Batch-Aware Unified Memory Management in GPUs for Irregular Workloads
- WIC: Hiding Producer-Consumer Synchronization Delays with Warp-Level Interrupt-based GPU Communications 引用了 GPS: A Global Publish-Subscribe Model for Multi-GPU Memory Management
- WIC: Hiding Producer-Consumer Synchronization Delays with Warp-Level Interrupt-based GPU Communications 引用了 Griffin: Hardware-Software Support for Efficient Page Migration in Multi-GPU Systems
- WIC: Hiding Producer-Consumer Synchronization Delays with Warp-Level Interrupt-based GPU Communications 引用了 HMG: Extending Cache Coherence Protocols Across Modern Hierarchical Multi-GPU Systems
- WIC: Hiding Producer-Consumer Synchronization Delays with Warp-Level Interrupt-based GPU Communications 引用了 FinePack: Transparently Improving the Efficiency of Fine-Grained Transfers in Multi-GPU Systems
引用它的顶会 Paper5
- Mobile Foundation Model as FirmwareJinliang Yuan, Chen Yang, Dongqi Cai, Shihe Wang 等MobiCom 2024 · 40 次引用
- GPS: A Global Publish-Subscribe Model for Multi-GPU Memory ManagementHarini Muthukrishnan, Daniel Lustig, David W. Nellans, Thomas F. WenischMICRO 2021 · 23 次引用
- FinePack: Transparently Improving the Efficiency of Fine-Grained Transfers in Multi-GPU SystemsHarini Muthukrishnan, Daniel Lustig, Oreste Villa, Thomas F. Wenisch 等HPCA 2023 · 14 次引用
- WIC: Hiding Producer-Consumer Synchronization Delays with Warp-Level Interrupt-based GPU CommunicationsJiajian Zhang, Fangyu Wu, Hai Jiang, Qiufeng Wang 等USENIX ATC 2025 · 1 次引用
- MoE-Hub: Taming Software Complexity for Seamless MoE Overlap with Hardware-Accelerated Communication on Multi-GPU SystemsZhuoshan Zhou, Chen Zhang, Shuyi Zhang, Qijun Zhang 等ISCA 2026
它引用的 Paper3
- Batch-Aware Unified Memory Management in GPUs for Irregular WorkloadsHyojong Kim, Jaewoong Sim, Prasun Gera, Ramyad Hadidi 等ASPLOS 2020 · 89 次引用
- Griffin: Hardware-Software Support for Efficient Page Migration in Multi-GPU SystemsTrinayan Baruah, Yifan Sun, Ali Tolga Dinçer, Saiful A. Mojumder 等HPCA 2020 · 50 次引用
- HMG: Extending Cache Coherence Protocols Across Modern Hierarchical Multi-GPU SystemsXiaowei Ren, Daniel Lustig, Evgeny Bolotin, Aamer Jaleel 等HPCA 2020 · 38 次引用
相关 Paper
- ARK: GPU-driven Code Execution for Distributed Deep LearningChangho Hwang, KyoungSoo Park, Ran Shu, Xinyuan Qu 等NSDI 2023 · 22 次引用
- RoPeerTo: A Datacenter-Scale Architecture for Peer-To-Peer DMA between GPUs and FPGAsMarco Venere, Giuseppe Sorrentino, Benjamin Ramhorst, Maximilian Jakob Heer 等EuroSys 2026 · 1 次引用
- MGI: A Communication Framework for Data Processing in Massive GPU InfrastructuresDi Wu, Hongshi Tan, Hanzhang Yang, Bingsheng He 等VLDB 2026
- Phoenix: A Refactored I/O Stack for GPU Direct Storage without Phony BuffersJianqin Yan, Shi Qiu, Yina Lv, Yifan Hu 等SC 2025 · 3 次引用
- A Simple Cache Coherence Scheme for Integrated CPU-GPU SystemsArdhi Wiratama Baskara Yudha, Reza Pulungan, Henry Hoffmann, Yan SolihinDAC 2020 · 3 次引用
