Profiling and Visualizing GPU Memory Access and Cache Behavior of Ray Tracers

Max von Buelow, Kai Riemann, Stefan Guthe, Dieter W. Fellner

Research output: Chapter in Book/Report/Conference proceedingConference paperpeer-review

Abstract

Graphical processing units (GPUs) have gained popularity in recent years due to their efficiency in running massively parallel applications. Recent developments have also adapted ray-tracing algorithms to the GPU, where the bottleneck in the overall performance is usually given by the memory bandwidth. In this paper, we present an interactive, web-based visualization tool for GPU memory traces that provides visual insight into the memory and cache behavior of our reference ray tracer, by mapping internal GPU state back onto 3D objects. In order to visualize cache behavior, we use reuse distances on both GPU cache layers that are calculated on the basis of memory traces extracted from a real GPU using binary instrumentation. An advantage of our system is that it runs independently of the ray-tracing program. We further show visualizations of our GPU ray tracer and compare the visualizations of several ray-tracing approaches. We find our work to act as a convenient toolset to gather insights on which data structures and mesh regions can be cached efficiently, and how ray-tracing acceleration structures behave on various input meshes, bounding volume hierarchies, memory layouts, frame buffer resolutions, and work distribution techniques.
Original languageEnglish
Title of host publicationEGPGV22: Eurographics Symposium on Parallel Graphics and Visualization
PublisherEurographics - European Association for Computer Graphics
Number of pages11
ISBN (Print)978-3-03868-175-5
DOIs
Publication statusPublished - 2022
Event2022 Eurographics Symposium on Parallel Graphics and Visualization: EGPGV 2022 - Rom, Italy
Duration: 13 Jun 202213 Jun 2022

Conference

Conference2022 Eurographics Symposium on Parallel Graphics and Visualization
Abbreviated titleEGPGV 2022
Country/TerritoryItaly
CityRom
Period13/06/2213/06/22

Keywords

  • Visual analytics
  • Graphics processors

Fields of Expertise

  • Information, Communication & Computing

Cite this