arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2611.31983cs.AIcs.ARcs.LG
收藏

发现带宽高效的预取器以缩减缓存层次结构

Discovering Bandwidth-Efficient Prefetchers to Shrink the Cache Hierarchy

Google(谷歌公司);Stanford University(斯坦福大学);UC Berkeley(加州大学伯克利分校)
Patrick Tser Jern Kon, Akanksha Jain, Abraham Gonzalez, Rui Meng, Dilara Soylu, Shubham Agarwal, Yawen Wang, Iman Hosseini, Hanna Alam, Jinsung Yoon, Tomas Pfis… 展开作者

Patrick Tser Jern Kon, Akanksha Jain, Abraham Gonzalez, Rui Meng, Dilara Soylu, Shubham Agarwal, Yawen Wang, Iman Hosseini, Hanna Alam, Jinsung Yoon, Tomas Pfister, Nanyun Peng, Chun-Liang Li, Parthasarathy Ranganathan

AI总结:

本文提出自主智能体框架DuoArchitect,协同演化多核缓存层次的预取策略,其生成的DuoArch-Nano预取器在缩减缓存预算下仍实现IPC加速、降低DRAM流量,可回收LLC SRAM且无整体IPC损失。

摘要:

共享最后一级缓存(LLC)在服务器处理器芯片面积中占比日益增大,迫使架构师在核心数量与缓存容量之间进行权衡。智能数据预取虽为回收该硅片面积提供了途径,但为多核系统设计协调的多级预取策略却受限于耗时长达数天的周期级模拟,这一模拟瓶颈甚至限制了基于大语言模型(LLM)的微架构发现;当前最先进的ArchAgent系统仅在单核基准测试上逐步演化单个缓存层级,仅在末尾添加多核配置,且在多核共享缓存竞争场景下落后于人类冠军。我们提出DuoArchitect,这是一个用于多核预取器多保真度协同发现的自主智能体框架。智能体在L1D、L2和LLC层次结构上协同演化评估代理与协调预取策略,构建的模拟代理比集群评估及硬件诊断预言机快3至26倍,用于指导搜索。为研究更智能的预取器可替换多少缓存硅片,我们在缩减的缓存预算下评估并演化预取器,发现在最严格的缓存约束(L2和LLC均减半)下演化得到的预取器,在我们测试的所有缓存规模中都是整体最强的:DuoArch-Nano。在采用全尺寸缓存的第四届数据预取锦标赛(DPC4)基准测试中,DuoArch-Nano实现了9.2%的几何平均IPC加速(四核混合场景下提升10.5%),同时将四核DRAM流量降低11.4%,其增益是人类冠军BertiGO和智能体框架ArchAgent v2的两倍多。当LLC减半时,DuoArch-Nano消除了基线的8.6%整体减速,整体略优于全LLC基线(+0.88%),表明智能体框架可生成能在零整体IPC损失的情况下,每核心回收兆字节级LLC SRAM的预取器。

英文摘要:

Shared last-level caches (LLCs) increasingly dominate server processor die area, forcing architects to trade core counts for cache capacity. While intelligent data prefetching offers a pathway to reclaim this silicon, designing coordinated, multi-level prefetching policies for multi-core systems is bottlenecked by day-long, cycle-level simulations. This simulation wall limits even LLM-based microarchitecture discovery; the state-of-the-art ArchAgent system evolves one cache level at a time on single-core benchmarks, adds multi-core configurations only at the end, and trails the human champion under multi-core shared cache contention. We introduce DuoArchitect, an autonomous agentic framework for multi-fidelity, multi-core co-discovery of prefetchers. Agents jointly evolve evaluation proxies and coordinated prefetching policies across the L1D, L2, and LLC hierarchies, constructing simulation proxies 3-26x faster than cluster evaluation and hardware diagnostic oracles to guide the search. To study how much cache silicon a smarter prefetcher can replace, we evaluate and evolve prefetchers under reduced cache budgets, and find that evolving under our tightest cache constraint (with both the L2 and LLC halved) produced our strongest prefetcher overall at every cache size we tested: DuoArch-Nano. On the Fourth Data Prefetching Championship (DPC4) benchmarks with full-size caches, DuoArch-Nano delivers a 9.2% geomean IPC speedup (+10.5% on four-core mixes) while reducing four-core DRAM traffic by 11.4%, more than doubling the gains of the human champion BertiGO and the agentic ArchAgent v2. When the LLC is halved, DuoArch-Nano erases the baseline's 8.6% overall slowdown and edges out the full-LLC baseline overall (+0.88%), showing that agentic frameworks can generate prefetchers that reclaim megabytes of LLC SRAM per core with zero overall IPC penalty.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

相关深度报道

↑