arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.31767cs.ARcs.AI
收藏

DELTA:通过双路径对齐诊断探索谱系——对比设计路径能揭示微架构行为的什么信息?

DELTA: Diagnosing Exploration Lineages via Twin-path Alignment - What Can Contrasting Design Paths Reveal About Microarchitectural Behavior?

North Carolina State University(北卡罗来纳州立大学)

Kaushal Mhapsekar, Darsh Asher, Bita Aslrousta, Amna Hassan, Debayan Sengupta, Azam Ghanbari, Samira Mirbagher Ajorpaz

AI总结:

DELTA是一款基于模拟器的根本原因分析工具,通过在设计空间探索中保留成功与失败的干预边构建设计记忆,可定位微架构设计的性能问题,在SPEC CPU2017工作负载上实现IPC提升并优化出高效预取器变体。

摘要:

架构师在性能优化工作中有两种成熟工具:自顶向下(Top-Down)分析可告知设计在何处损失流水线时隙,设计空间探索(Design-Space Exploration, DSE)可告知哪种配置表现最佳。但二者均无法解释搜索为何停止改进:为何受后端限制的设计会拒绝瓶颈标签推荐的预取器,或为何在一个配置中有效的容量增加会在另一个配置中产生负面影响。本文认为,回答此类问题所需的证据已在探索过程中产生却被丢弃。探索树中的每条父子边都是一次受控干预:仅修改一个参数,设计其余部分保持固定,周期级模拟器测量结果。当同一修改在一个父节点下有效而在另一个父节点下无效时,对齐两个父节点可定位决定其效果正负的交互作用。我们提出DELTA,这是一款基于模拟器的根本原因分析工具,它会在探索过程中构建此类干预的设计记忆,供架构师后续查询。每条记录存储完整的父配置、单次应用的修改、测量和预测的IPC、StallLens(我们在gem5中实现的Top-Down)的自顶向下分解结果及其谱系。与仅保留高分程序的进化大语言模型(LLM)搜索不同,DELTA会保留失败的边作为证据。该记忆还能提升探索效率:在四个SPEC CPU2017工作负载上,完整系统在22个模拟设计中将IPC提高55.5%,模型成本仅1.56美元,预测自身提案的IPC误差在3.3%以内,且在瓶颈引导搜索停滞后仍能持续改进。对记录历史的根本原因查询使我们得到了实用性受限的Best-Offset预取器变体,在匹配配置下其IPC比原始版本提高1.37%。

英文摘要:

Architects have two mature instruments for performance work. Top-Down analysis tells them where a design loses its pipeline slots, and design-space exploration (DSE) tells them which configuration scores best. Neither explains why a search stops improving: why a backend-bound design rejects a prefetcher that the bottleneck label recommends, or why a capacity increase that helped in one configuration hurts in the next. This paper argues that the evidence needed to answer such questions is already produced during exploration and then discarded. Every parent-child edge in an exploration tree is a controlled intervention: one knob changes, the rest of the design is held fixed, and a cycle-level simulator measures the outcome. When the same edit helps under one parent and hurts under another, aligning the two parents localizes the interaction that decides its sign. We present DELTA, a simulator-grounded root-cause analysis tool that builds a Design Memory of such interventions during exploration and lets an architect query it afterwards. Each record stores the full parent configuration, the single applied edit, the measured and predicted IPC, a Top-Down breakdown from StallLens, our gem5 implementation of Top-Down, and its lineage. Unlike evolutionary LLM search, which keeps only high-scoring programs, DELTA keeps failed edges as evidence. The same memory also makes exploration efficient: on four SPEC CPU2017 workloads, the full system raises IPC by 55.5% in 22 simulated designs for $1.56 of model cost, predicts the IPC of its own proposals to within 3.3%, and keeps improving after a bottleneck-guided search stalls. A root-cause query over the recorded history led us to a usefulness-throttled variant of the Best-Offset prefetcher that improves IPC by 1.37% over the original in matched configurations.

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

↑