GPS: A Global Publish-Subscribe Model for Multi-GPU Memory Management
Harini Muthukrishnan, Daniel Lustig, David W. Nellans, Thomas F. Wenisch
摘要
Suboptimal management of memory and bandwidth is one of the primary causes of low performance on systems comprising multiple GPUs. Existing memory management solutions like Unified Memory (UM) offer simplified programming but come at the cost of performance: applications can even exhibit slowdown with increasing GPU count due to their inability to leverage system resources effectively. To solve this challenge, we propose GPS, a HW/SW multi-GPU memory management technique that efficiently orchestrates inter-GPU communication using proactive data transfers. GPS offers the programmability advantage of multi-GPU shared memory with the performance of GPU-local memory. To enable this, GPS automatically tracks the data accesses performed by each GPU, maintains duplicate physical replicas of shared regions in each GPU’s local memory, and pushes updates to the replicas in all consumer GPUs. GPS is compatible within the existing NVIDIA GPU memory consistency model but takes full advantage of its relaxed nature to deliver high performance. We evaluate GPS in the context of a 4-GPU system with varying interconnects and show that GPS achieves an average speedup of 3.0 × relative to the performance of a single GPU, outperforming the next best available multi-GPU memory management technique by 2.3 × on average. In a 16-GPU system, using a future PCIe 6.0 interconnect, we demonstrate a 7.9 × average strong scaling speedup over single-GPU performance, capturing 80% of the available opportunity.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- GRIT: Enhancing Multi-GPU Performance with Fine-Grained Dynamic Page Placement 引用了 Griffin: Hardware-Software Support for Efficient Page Migration in Multi-GPU Systems
- GRIT: Enhancing Multi-GPU Performance with Fine-Grained Dynamic Page Placement 引用了 FinePack: Transparently Improving the Efficiency of Fine-Grained Transfers in Multi-GPU Systems
- GRIT: Enhancing Multi-GPU Performance with Fine-Grained Dynamic Page Placement 引用了 IDYLL: Enhancing Page Translation in Multi-GPUs via Light Weight PTE Invalidations
- Efficient Multi-GPU Shared Memory via Automatic Optimization of Fine-Grained Transfers 引用了 Griffin: Hardware-Software Support for Efficient Page Migration in Multi-GPU Systems
- Efficient Multi-GPU Shared Memory via Automatic Optimization of Fine-Grained Transfers 引用了 HMG: Extending Cache Coherence Protocols Across Modern Hierarchical Multi-GPU Systems
- Efficient Multi-GPU Shared Memory via Automatic Optimization of Fine-Grained Transfers 引用了 Batch-Aware Unified Memory Management in GPUs for Irregular Workloads
- SAC: Sharing-Aware Caching in Multi-Chip GPUs 引用了 Griffin: Hardware-Software Support for Efficient Page Migration in Multi-GPU Systems
- SAC: Sharing-Aware Caching in Multi-Chip GPUs 引用了 HMG: Extending Cache Coherence Protocols Across Modern Hierarchical Multi-GPU Systems
- FinePack: Transparently Improving the Efficiency of Fine-Grained Transfers in Multi-GPU Systems 引用了 Efficient Multi-GPU Shared Memory via Automatic Optimization of Fine-Grained Transfers
- 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
- IDYLL: Enhancing Page Translation in Multi-GPUs via Light Weight PTE Invalidations 引用了 Griffin: Hardware-Software Support for Efficient Page Migration in Multi-GPU Systems
引用它的顶会 Paper7
- GRIT: Enhancing Multi-GPU Performance with Fine-Grained Dynamic Page PlacementYueqi Wang, Bingyao Li, Aamer Jaleel, Jun Yang 等HPCA 2024 · 19 次引用
- SAC: Sharing-Aware Caching in Multi-Chip GPUsShiqing Zhang, Mahmood Naderan-Tahan, Magnus Jahre, Lieven EeckhoutISCA 2023 · 18 次引用
- IDYLL: Enhancing Page Translation in Multi-GPUs via Light Weight PTE InvalidationsBingyao Li, Yanan Guo, Yueqi Wang, Aamer Jaleel 等MICRO 2023 · 16 次引用
- FinePack: Transparently Improving the Efficiency of Fine-Grained Transfers in Multi-GPU SystemsHarini Muthukrishnan, Daniel Lustig, Oreste Villa, Thomas F. Wenisch 等HPCA 2023 · 14 次引用
- T3: Transparent Tracking & Triggering for Fine-grained Overlap of Compute & CollectivesSuchita Pati, Shaizeen Aga, Mahzabeen Islam, Nuwan Jayasena 等ASPLOS 2024 · 13 次引用
它引用的 Paper4
- 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 次引用
- Efficient Multi-GPU Shared Memory via Automatic Optimization of Fine-Grained TransfersHarini Muthukrishnan, David W. Nellans, Daniel Lustig, Jeffrey A. Fessler 等ISCA 2021 · 16 次引用
相关 Paper
- Memory Harvesting in Multi-GPU Systems with Hierarchical Unified Virtual MemorySangjin Choi, Taeksoo Kim, Jinwoo Jeong, Rachata Ausavarungnirun 等USENIX ATC 2022 · 28 次引用
- Coarse-Grained Duplication First, Fine-Grained Deduplication Later: Duplication-Centric Multi-GPU Memory ManagementXiangyue Huang, Yanan Guo, Yuanchao XuISCA 2026
- ARIADNE: Adaptive UVM Management for Efficient GPU Memory OversubscriptionHyunkyun Shin, Seongtae Bang, Hyungwon Park, Daehoon KimHPCA 2026 · 2 次引用
- ZnG: Architecting GPU Multi-Processors with New Flash for Scalable Data AnalysisJie Zhang, Myoungsoo JungISCA 2020 · 14 次引用
- Ohm-GPU: Integrating New Optical Network and Heterogeneous Memory into GPU Multi-ProcessorsJie Zhang, Myoungsoo JungMICRO 2021 · 6 次引用
