跳到正文
arXiv (Robotics + Hardware + Signal)· Ziwen Wang, Jiapeng Zhou, Changxi Liu, Dongsheng Wang, Yun Chen·· 15 天前精选AI 评分58

GemAtlas逆向解析现代NVIDIA GPU内存层级以提升仿真精度

Uncovering the Memory Hierarchy of Modern NVIDIA GPUs for Accurate Simulation

AI 导读

GemAtlas对现代NVIDIA GPU的内存层级做了系统性的逆向分析,通过细粒度SASS级基准测试揭示了缓存组相联度、slice路由与set索引哈希函数、替换策略、一致性行为及互连拓扑等此前未公开的微架构细节。研究将这些细节集成到主流GPU仿真框架中,在四款GPU上把平均MAPE从31.69%降至22.24%,在真实LLM算子上从34.04%降至23.98%。

推荐理由

论文通过SASS级基准测试逆向出现代NVIDIA GPU各级缓存的微架构细节,并把这些参数接入仿真框架,为评估LLM负载下的GPU内存行为提供了更贴近硬件的模型。

正文 · 原文

arXiv:2611.13860v1 Announce Type: new 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.

来源:arXiv (Robotics + Hardware + Signal) · arxiv.org