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

RISC-V设计的精确性能建模

Towards Accurate Performance Modeling of RISC-V Designs

Odysseas Chatzopoulos, George-Marios Fragkoulis, George Papadimitriou, Dimitris Gizopoulos

摘要:

微处理器设计、调试和验证的研究和开发越来越多地基于不同抽象层的建模和仿真。微体系结构级仿真器已经成为最常用的性能评估工具,由于其高的仿真吞吐量,相比较低的抽象层次,但通常是在损失的硬件精度的代价。因此,微体系结构仿真器的实现、速度和准确性对于研究人员和微处理器架构师来说变得越来越重要。微体系结构模拟器的一个最关键的方面是它能够准确地表达设计标准,因为在设计细化期间微体系结构的各个方面发生了变化。另一方面,现代微处理器模型依赖于专用硬件实现,使得设计空间探索成为一个耗时的过程,可以使用各种方法来执行,从高级模型到硬件原型。因此,模拟速度和准确性之间的权衡可能会有很大差异,并且应用程序的性能测量也不确定。在本文中,我们提出了一个微体系结构级的仿真建模研究,使尽可能准确的RISC-V的顺序超标量微处理器内核的性能建模。通过努力调整几个重要的微体系结构参数的广泛使用的gem 5模拟器,我们调查的挑战,准确的性能建模的微体系结构级仿真相比,目标设计的RTL仿真的准确性和低仿真吞吐量。此外,我们证明了主要的错误来源,防止高精度水平的微体系结构级建模。

英文摘要:

Microprocessor design, debug, and validation research and development are increasingly based on modeling and simulation at different abstraction layers. Microarchitecture-level simulators have become the most commonly used tools for performance evaluation, due to their high simulation throughput, compared to lower levels of abstraction, but usually come at the cost of loss of hardware accuracy. As a result, the implementation, speed, and accuracy of microarchitectural simulators are becoming more and more crucial for researchers and microprocessor architects. One of the most critical aspects of a microarchitectural simulator is its ability to accurately express design standards as various aspects of the microarchitecture change during design refinement. On the other hand, modern microprocessor models rely on dedicated hardware implementations, making the design space exploration a time-consuming process that can be performed using a variety of methods, ranging from high-level models to hardware prototyping. Therefore, the tradeoff between simulation speed and accuracy, can be significantly varied, and an application's performance measurements uncertain. In this paper, we present a microarchitecture-level simulation modeling study, which enables as accurate as possible performance modeling of a RISC-V out-of-order superscalar microprocessor core. By diligently adjusting several important microarchitectural parameters of the widely used gem5 simulator, we investigate the challenges of accurate performance modeling on microarchitecture-level simulation compared to accuracy and low simulation throughput of RTL simulation of the target design. Further, we demonstrate the main sources of errors that prevent high accuracy levels of the microarchitecture-level modeling.

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

↑