[Paper Review] UVMBench: A Comprehensive Benchmark Suite for Researching Unified Virtual Memory in GPUs
This paper introduces UVMBench, a comprehensive benchmark suite of 32 diverse GPU applications designed to evaluate Unified Virtual Memory (UVM) performance across varied memory access patterns. The suite enables systematic analysis of UVM overhead, revealing significant performance degradation under memory oversubscription due to page thrashing and inefficient eviction policies, highlighting the need for UVM-aware optimization techniques.
The recent introduction of Unified Virtual Memory (UVM) in GPUs offers a new programming model that allows GPUs and CPUs to share the same virtual memory space, which shifts the complex memory management from programmers to GPU driver/ hardware and enables kernel execution even when memory is oversubscribed. Meanwhile, UVM may also incur considerable performance overhead due to tracking and data migration along with special handling of page faults and page table walk. As UVM is attracting significant attention from the research community to develop innovative solutions to these problems, in this paper, we propose a comprehensive UVM benchmark suite named UVMBench to facilitate future research on this important topic. The proposed UVMBench consists of 32 representative benchmarks from a wide range of application domains. The suite also features unified programming implementation and diverse memory access patterns across benchmarks, thus allowing thorough evaluation and comparison with current state-of-the-art. A set of experiments have been conducted on real GPUs to verify and analyze the benchmark suite behaviors under various scenarios.
Motivation & Objective
- To address the lack of standardized, representative benchmarks for evaluating Unified Virtual Memory (UVM) in GPUs.
- To enable thorough and comparable evaluation of UVM optimizations across diverse application domains and memory access patterns.
- To identify performance bottlenecks in current UVM systems, particularly under memory oversubscription.
- To guide future research by providing a unified, production-ready benchmark suite with consistent implementation.
- To analyze the impact of hardware prefetchers and memory access patterns on PCIe bandwidth utilization in UVM.
Proposed method
- The authors selected 32 representative GPU kernels from diverse domains, including machine learning, linear algebra, graph algorithms, and physics simulations.
- All benchmarks were implemented with a unified programming interface to ensure consistent evaluation and comparison.
- The suite includes varied memory access patterns—streaming, random, and reuse-intensive—across different kernel configurations and thread blocks.
- Experiments were conducted on real GPUs to measure effective PCIe bandwidth, memory access latency, and performance under memory oversubscription.
- Memory oversubscription was emulated by reducing available GPU memory to 110% and 125% of the required footprint using cudaMalloc.
- The study analyzed page fault frequency, data migration volume, and the role of hardware prefetchers in shaping UVM performance.
Experimental results
Research questions
- RQ1How do different memory access patterns affect UVM performance and PCIe bandwidth utilization?
- RQ2What is the impact of memory oversubscription on UVM kernel execution performance?
- RQ3Why do some benchmarks suffer severe performance degradation under UVM, while others experience only moderate slowdown?
- RQ4How effective are current hardware prefetchers in mitigating UVM performance overhead?
- RQ5To what extent do existing eviction policies contribute to page thrashing in UVM?
Key findings
- Under memory oversubscription, many benchmarks experience 2-3x slowdown due to kernel stalls during page eviction, particularly in streaming access patterns.
- Some benchmarks suffer over 100x performance degradation due to severe page thrashing, especially when data reuse distance is short.
- Effective PCIe bandwidth in UVM varies significantly across benchmarks, with some achieving high utilization and others remaining underutilized due to small data migration sizes.
- Hardware prefetchers in modern GPUs are not fully effective in utilizing PCIe bandwidth, indicating a need for UVM-aware prefetching techniques.
- The current LRU eviction policy leads to poor performance in reuse-intensive workloads due to frequent, unnecessary page migrations.
- The lack of standardized benchmarks has hindered fair comparison of UVM optimization techniques, underscoring the need for a unified evaluation suite like UVMBench.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.