Concorde:基于组合式分析与机器学习融合的快速且准确的CPU性能建模
Concorde: Fast and Accurate CPU Performance Modeling with Compositional Analytical-ML Fusion
AI总结:
提出Concorde性能建模方法,利用分析模型估计性能边界并融合机器学习,比传统模拟器快五个数量级且CPI误差约2%,实现快速设计空间探索。
摘要:
诸如gem5之类的周期级模拟器被广泛应用于微架构设计中,但对于大规模设计空间探索而言,其速度慢得令人望而却步。我们提出了Concorde,一种用于学习快速且准确的微架构性能模型的新方法。与模拟每条指令的现有模拟器和学习方法不同,Concorde基于捕获不同微架构组件影响的紧凑性能分布来预测程序的行为。它使用简单的分析模型推导这些性能分布,这些模型估计每个微架构组件引起的性能边界,从而在庞大的微架构参数空间中提供程序性能特征的简单而丰富的表示。实验表明,Concorde比参考周期级模拟器快五个数量级以上,在一系列SPEC、开源和专有基准测试中,平均每指令周期数(CPI)预测误差约为2%。这使得目前不可行的快速设计空间探索和性能敏感性分析成为可能,例如,在大约一小时内,我们对不同程序集进行了首创的针对不同微架构组件的细粒度性能归因,这需要近1.5亿次CPI评估。
英文摘要:
Cycle-level simulators such as gem5 are widely used in microarchitecture design, but they are prohibitively slow for large-scale design space explorations. We present Concorde, a new methodology for learning fast and accurate performance models of microarchitectures. Unlike existing simulators and learning approaches that emulate each instruction, Concorde predicts the behavior of a program based on compact performance distributions that capture the impact of different microarchitectural components. It derives these performance distributions using simple analytical models that estimate bounds on performance induced by each microarchitectural component, providing a simple yet rich representation of a program's performance characteristics across a large space of microarchitectural parameters. Experiments show that Concorde is more than five orders of magnitude faster than a reference cycle-level simulator, with about 2% average Cycles-Per-Instruction (CPI) prediction error across a range of SPEC, open-source, and proprietary benchmarks. This enables rapid design-space exploration and performance sensitivity analyses that are currently infeasible, e.g., in about an hour, we conducted a first-of-its-kind fine-grained performance attribution to different microarchitectural components across a diverse set of programs, requiring nearly 150 million CPI evaluations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。