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

基于可配置TLB体系的RISC-V虚拟内存研究

Enabling Virtual Memory Research on RISC-V with a Configurable TLB Hierarchy for the Rocket Chip Generator

Nikolaos Charalampos Papadopoulos, Vasileios Karakostas, Konstantinos Nikas, Nectarios Koziris, Dionisios N. Pnevmatikatos

摘要:

Rocket Chip Generator使用一系列参数化处理器组件来生产基于RISC-V的SoC。它是一个强大的工具,可以产生各种各样的处理器设计,从微型嵌入式处理器到复杂的多核系统。在本文中,我们扩展了火箭芯片生成器的存储管理单元的功能,特别是TLB层次结构。TLB在性能方面是必不可少的,因为它们减轻了频繁的页表遍历的开销,但是由于它们的大小和/或关联性,可能损害处理器的关键路线。在原始的Rocket Chip实现中,L1指令/数据TLB是完全关联的,而共享的L2 TLB是直接映射的。我们解除这些限制,设计和实现可配置的,集关联L1和L2 TLB模板,可以创建任何组织从直接映射到全关联,以实现所需的性能和资源利用率,特别是对于较大的TLB。我们评估不同的TLB配置和目前的性能,面积和频率的结果,我们的设计使用基准测试从SPEC 2006套件的Xilinx ZCU 102 FPGA。

英文摘要:

The Rocket Chip Generator uses a collection of parameterized processor components to produce RISC-V-based SoCs. It is a powerful tool that can produce a wide variety of processor designs ranging from tiny embedded processors to complex multi-core systems. In this paper we extend the features of the Memory Management Unit of the Rocket Chip Generator and specifically the TLB hierarchy. TLBs are essential in terms of performance because they mitigate the overhead of frequent Page Table Walks, but may harm the critical path of the processor due to their size and/or associativity. In the original Rocket Chip implementation the L1 Instruction/Data TLB is fully-associative and the shared L2 TLB is direct-mapped. We lift these restrictions and design and implement configurable, set-associative L1 and L2 TLB templates that can create any organization from direct-mapped to fully-associative to achieve the desired ratio of performance and resource utilization, especially for larger TLBs. We evaluate different TLB configurations and present performance, area, and frequency results of our design using benchmarks from the SPEC2006 suite on the Xilinx ZCU102 FPGA.

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

↑