Reducing GPU Address Translation Overhead with Virtual Caching
File(s)
Date
2016-12-05Author
Yoon, Hongil
Lowe-Power, Jason
Sohi, Gurindar S.
Metadata
Show full item recordAbstract
Heterogeneous computing on tightly-integrated CPU-GPU systems is ubiquitous, and to increase programmability, many of these systems support virtual address accesses from GPU hardware. However, there is no free lunch. Supporting virtual memory entails address translations on every memory access, which greatly impacts performance (about 77% performance degradation on average).
To mitigate this overhead, we propose a software-transparent, practical GPU virtual cache hierarchy. We show that a virtual cache hierarchy is an effective GPU address translation bandwidth filter. We make several empirical observations advocating for GPU virtual caches: (1) mirroring CPU-style memory management unit in GPUs is not effective, because GPU workloads show very high Translation Lookaside Buffer (TLB) miss ratio and high miss bandwidth. (2) many requests that miss in TLBs find corresponding valid data in the GPU cache hierarchy. (3) The GPU’s accelerator nature simplifies implementing a deep virtual cache hierarchy (i.e., fewer virtual address synonyms and homonyms).
We evaluate both L1-only virtual cache designs and an entire virtual cache hierarchy (private L1s and a shared L2 caches). We find that virtual caching on GPUs considerably improves performance. Our experimental evaluation shows that the proposed entire GPU virtual cache design significantly reduces the overheads of virtual address translation providing an average speedup of 1.77x over a baseline physically cached system. L1-only virtual cache designs show modest performance benefits (1.35x speedup). By using a whole GPU virtual cache hierarchy, we can obtain additional performance benefits.
Subject
Virtual Caching
TLBs
Virtually indexed virtually tagged caches
Synonyms
GPU
Address Translation
GPU Virtual Cache Hierarchy
Permanent Link
http://digital.library.wisc.edu/1793/75577Type
Technical Report
Citation
TR1842
Part of
Related items
Showing items related by title, author, creator and subject.
-
Navigating in a Virtual Environment: Effects of Navigation in Virtual Reality
Fellom, Nathan; Dopkins, Nick; Iverson, Justin; Hanson, Erin; Hines, Jarrod; Stevenson, Daniel E. (2017-02-21)Although it is generally understood that humans orient themselves spatially within an environment, the precise manner and timescale by which this is accomplished is not entirely understood. In rats, this has been studied ... -
Pedagogical Approaches in the Virtual Beginning Orchestra Classroom: Best Digital Resources for the Beginning Virtual Orchestra Classroom
Scheidedgger, Emily Lynn (College of Fine Arts and Communication, University of Wisconsin - Stevens Point, 2022-08)This study aims to answer the research question: what are the best digital tools for teaching beginning string players in a fully virtual format? During the COVID-19 pandemic, educators across the world found themselves ...