Lune

SC2021Top-tier venue

In-depth analyses of unified virtual memory system for GPU accelerated computing

Tyler N. Allen, Rong Ge

Abstract

The abstraction of a shared memory space over separate CPU and GPU memory domains has eased the burden of portability for many HPC codebases. However, users pay for the ease of use provided by systems-managed memory space with a moderate-to-high performance overhead. NVIDIA Unified Virtual Memory (UVM) is presently the primary real-world implementation of such abstraction and offers a functionally equivalent testbed for a novel in-depth performance study for both UVM and future Linux Heterogeneous Memory Management (HMM) compatible systems. The continued advocation for UVM and HMM motivates the improvement of the underlying system. We focus on a UVM-based system and investigate the root causes of the UVM overhead, which is a non-trivial task due to the complex interactions of multiple hardware and software constituents and the requirement of targeted analysis methodology.

In this paper, we take a deep dive into the UVM system architecture and the internal behaviors of page fault generation and servicing. We reveal specific GPU hardware limitations using targeted benchmarks to uncover driver functionality as a real-time system when processing the resultant workload. We further provide a quantitative evaluation of fault handling for various applications under different scenarios, including prefetching and oversubscription. We find that the driver workload is dependent on the interactions among application access patterns, GPU hardware constraints, and Host OS components. We determine that the cost of host OS components is significant and present across implementations, warranting close attention. This study serves as a proxy for future shared memory systems such as those that interface with HMM.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • GRIT: Enhancing Multi-GPU Performance with Fine-Grained Dynamic Page Placement cites Griffin: Hardware-Software Support for Efficient Page Migration in Multi-GPU Systems
  • Bandwidth-Effective DRAM Cache for GPU s with Storage-Class Memory cites Traversing Large Graphs on GPUs with Unified Memory
  • Bandwidth-Effective DRAM Cache for GPU s with Storage-Class Memory cites Batch-Aware Unified Memory Management in GPUs for Irregular Workloads
  • G10: Enabling An Efficient Unified GPU Memory and Storage Architecture with Smart Tensor Migrations cites Batch-Aware Unified Memory Management in GPUs for Irregular Workloads
  • Traversing Large Graphs on GPUs with Unified Memory cites Batch-Aware Unified Memory Management in GPUs for Irregular Workloads
  • EMOGI: Efficient Memory-access for Out-of-memory Graph-traversal In GPUs cites Traversing Large Graphs on GPUs with Unified Memory
  • EMOGI: Efficient Memory-access for Out-of-memory Graph-traversal In GPUs cites Batch-Aware Unified Memory Management in GPUs for Irregular Workloads
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache ManagementWonbeom Lee, Jungi Lee, Junghwan Seo, Jaewoong SimOSDI 2024 · 248 citations
  2. SPADE: A Flexible and Scalable Accelerator for SpMM and SDDMMGerasimos Gerogiannis, Serif Yesil, Damitha Lenadora, Dingyuan Cao et al.ISCA 2023 · 27 citations
  3. Bandwidth-Effective DRAM Cache for GPU s with Storage-Class MemoryJeongmin Hong, Sungjun Cho, Geonwoo Park, Wonhyuk Yang et al.HPCA 2024 · 21 citations
  4. G10: Enabling An Efficient Unified GPU Memory and Storage Architecture with Smart Tensor MigrationsHaoyang Zhang, Yirui Eric Zhou, Yuqi Xue, Yiqi Liu et al.MICRO 2023 · 21 citations
  5. GRIT: Enhancing Multi-GPU Performance with Fine-Grained Dynamic Page PlacementYueqi Wang, Bingyao Li, Aamer Jaleel, Jun Yang et al.HPCA 2024 · 19 citations

Builds on4

  1. Batch-Aware Unified Memory Management in GPUs for Irregular WorkloadsHyojong Kim, Jaewoong Sim, Prasun Gera, Ramyad Hadidi et al.ASPLOS 2020 · 89 citations
  2. EMOGI: Efficient Memory-access for Out-of-memory Graph-traversal In GPUsSeungwon Min, Vikram Sharma Mailthody, Zaid Qureshi, Jinjun Xiong et al.VLDB 2021 · 66 citations
  3. Traversing Large Graphs on GPUs with Unified MemoryPrasun Gera, Hyojong Kim, Piyush Sao, Hyesoon Kim et al.VLDB 2020 · 58 citations
  4. Griffin: Hardware-Software Support for Efficient Page Migration in Multi-GPU SystemsTrinayan Baruah, Yifan Sun, Ali Tolga Dinçer, Saiful A. Mojumder et al.HPCA 2020 · 50 citations

Related papers

  1. SUV: Static Analysis Guided Unified Virtual MemoryPratheek B, Guilherme Cox, Ján Veselý, Arkaprava BasuMICRO 2024 · 7 citations
  2. Observability-Aided Gpu Memory OversubscriptionPratheek B, Khushit Shah, Arkaprava BasuISCA 2026
  3. ARIADNE: Adaptive UVM Management for Efficient GPU Memory OversubscriptionHyunkyun Shin, Seongtae Bang, Hyungwon Park, Daehoon KimHPCA 2026 · 2 citations
  4. HELM: Characterizing Unified Memory Accesses to Improve GPU Performance under Memory OversubscriptionNathan Jones, Tyler N. Allen, Rong GeSC 2025 · 5 citations
  5. Orchestrated Scheduling and Partitioning for Improved Address Translation in GPUsBingyao Li, Yueqi Wang, Xulong TangDAC 2023 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines