Lune

ISCA2024Top-tier venue

Memento: An Adaptive, Compiler-Assisted Register File Cache for GPUs

Mojtaba Abaie Shoushtary, José-María Arnau, Jordi Tubella Murgadas, Antonio González

2024Year
4Citations
2Top-tier citations

Abstract

Modern GPUs require an enormous register file (RF) to store the context of thousands of active threads. It consumes considerable energy and contains multiple large banks to provide enough throughput. Thus, a RF caching mechanism can significantly improve the performance and energy consumption of the GPUs by avoiding reads from the large banks that consume significant energy and may cause port conflicts. This paper introduces an energy-efficient RF caching mechanism called Memento that repurposes an existing component in GPUs’ RF to operate as a cache in addition to its original functionality. In this way, Memento minimizes the overhead of adding a RF cache to GPUs. Besides, Memento leverages an issue scheduling policy that utilizes the reuse distance of the values in the RF cache and is controlled by a dynamic algorithm. The goal is to adapt the issue policy to the runtime program characteristics to maximize the GPU’s performance and the hit ratio of the RF cache. The reuse distance is approximated by the compiler using profiling and is used at run time by the proposed caching scheme. We show that Memento reduces the number of reads to the RF\mathbf{R F} banks by 46.4%46.4 \% and the dynamic energy of the RF by 28.3%28.3 \%. Besides, it improves performance by 6.1%6.1 \% while adding only 2 KB of extra storage per core to the baseline RF of 256 KB, which represents a negligible overhead of 0.78%\mathbf{0. 7 8 \%}.

Ask about this paper

Ask your agent about it.

Lune has read the top-tier papers around this one, so every answer names the papers it rests on.

Questions to start from

Your agent calls

Lunesearch_papers

Ask in Lune

Free to start. No credit card required.

lune papers get 166d2c1d-b4f3-48b8-a32e-d6f8c50934f8

Cited by top-tier papers2

Ask how each one uses it

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines