Uncovering the Memory Hierarchy of Modern NVIDIA GPUs for Accurate Simulation
Ziwen Wang, Jiapeng Zhou, Changxi Liu, Dongsheng Wang, Yun Chen
Key points
From the paper's conclusion- We integrate these discovered micro-architecture details into the state-of-the-art GPU simulation framework.
Abstract
Emerging artificial intelligence workloads, particularly Large Language Models (LLMs), place unprecedented demands on GPU memory systems. Consequently, architectural innovations increasingly target the memory system to alleviate these bottlenecks. However, existing works still rely on outdated memory hierarchy models that fail to capture the complexities of modern hardware. This fidelity gap leads to inaccurate characterization and could misguide optimization strategies. To bridge this gap, we present GemAtlas, the first systematic reverse engineering of the memory hierarchy in modern NVIDIA GPUs. By developing fine-grained SASS-level benchmarking, we expose critical, previously undocumented micro-architectural details across different cache levels, including cache set associativity, slice-routing and set-indexing hash functions, replacement policies, coherence behavior, and interconnect topologies. We integrate these discovered micro-architecture details into the state-of-the-art GPU simulation framework. The final results demonstrate that GemAtlas reduces the mean absolute percentage error (MAPE) from 31.69% to 22.24% on average across four GPUs. Specifically, GemAtlas reduces the MAPE from 34.04% to 23.98% for real-world LLM operators.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Estimating GPU Roofline Arithmetic Intensity with Off-the-Shelf LLMs and Compiler ArtifactsarXiv · 2026
- Exploiting What NVIDIA Profilers Hide: Fast and Accurate Analytical GPU Performance ModelingarXiv · 2026
- PPT-GPU 2.0: A Validated, Accurate, and Scalable Modeling of NVIDIA GPUsACM Transactions on Architecture and Code Optimization · 2026
- An Empirical Study of Issues in GPU Kernel Libraries for LLM SystemsarXiv · 2026
- HAWK: Heterogeneity-Aware KV Cache Transfer for Efficient GPU-NPU Phase-Disaggregated LLM InferencearXiv · 2026
- HBFSim: Fast and Faithful Simulation of High-Bandwidth Flash Under Real GPU ExecutionarXiv · 2026