arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1610.02094cs.AR
收藏

在体系结构研究中验证简化的处理器模型

Validating Simplified Processor Models in Architectural Studies

Sizhuo Zhang, Andrew Wright, Daniel Sanchez, Arvind

摘要:

对具有复杂微架构的多核进行周期精确的软件仿真通常非常缓慢。人们使用简化的核心模型来获得模拟速度。然而,一个持续的问题是,在何种程度上从一个简化的核心模型得出的结果可以用来描述一个真正的机器的行为。我们提出了一种新的方法来验证简化的仿真模型,它侧重于跨基准和架构的度量值的趋势,而不是绝对度量值的误差。为了说明这种方法,我们进行了一个案例研究,使用FPGA加速周期准确的全系统仿真器。我们评估了三个高速缓存替换策略的10阶段的顺序核心模型,然后重新进行所有的实验,取代1-IPC核心模型的10阶段的核心模型。我们发现,1-IPC核心模型一般产生定性相同的结果,准确的核心模型,除了一些不匹配。我们认为,大多数观察到的不匹配是无法区分的实验噪声或对应的情况下,即使在准确的模型中的政策差异显示出不确定的结果。我们认为,一旦理解了简化的影响,使用简化的核心模型来研究特征是公平的。对分支预测器和多线程基准的缩放特性的其他研究加强了我们的论点。然而,简化模型的验证需要详细的循环精确模型!

英文摘要:

Cycle-accurate software simulation of multicores with complex microarchitectures is often excruciatingly slow. People use simplified core models to gain simulation speed. However, a persistent question is to what extent the results derived from a simplified core model can be used to characterize the behavior of a real machine. We propose a new methodology of validating simplified simulation models, which focuses on the trends of metric values across benchmarks and architectures, instead of errors of absolute metric values. To illustrate this methodology, we conduct a case study using an FPGA-accelerated cycle-accurate full system simulator. We evaluated three cache replacement polices on a 10-stage in-order core model, and then re-conducted all the experiments by substituting a 1-IPC core model for the 10-stage core model. We found that the 1-IPC core model generally produces qualitatively the same results as the accurate core model except for a few mismatches. We argue that most observed mismatches were either indistinguishable from experimental noise or corresponded to the cases where the policy differences even in the accurate model showed inconclusive results. We think it is fair to use simplified core models to study a feature once the influence of the simplification is understood. Additional studies on branch predictors and scaling properties of multithread benchmarks reinforce our argument. However, the validation of a simplified model requires a detailed cycle-accurate model!

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

↑