Profiling and Visualizing GPU Memory Access and Cache Behavior of Ray Tracers
Loading...
Date
2022
Journal Title
Journal ISSN
Volume Title
Publisher
The Eurographics Association
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.
Description
CCS Concepts: Human-centered computing --> Visual analytics; Computing methodologies --> Graphics processors; Theory of computation --> Program analysis
@inproceedings{10.2312:pgv.20221061,
booktitle = {Eurographics Symposium on Parallel Graphics and Visualization},
editor = {Bujack, Roxana and Tierny, Julien and Sadlo, Filip},
title = {{Profiling and Visualizing GPU Memory Access and Cache Behavior of Ray Tracers}},
author = {Buelow, Max von and Riemann, Kai and Guthe, Stefan and Fellner, Dieter W.},
year = {2022},
publisher = {The Eurographics Association},
ISSN = {1727-348X},
ISBN = {978-3-03868-175-5},
DOI = {10.2312/pgv.20221061}
}