作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (21): 253-256. doi: 10.3969/j.issn.1000-3428.2012.21.067

• 工程应用技术与实现 • 上一篇    下一篇

一种TLB结构优化方法

何 军,张晓东,郭 勇   

  1. (上海高性能集成电路设计中心,上海 201204)
  • 收稿日期:2011-12-29 出版日期:2012-11-05 发布日期:2012-11-02
  • 作者简介:何 军(1980-),男,博士研究生、CCF会员,主研方向:微处理器设计;张晓东、郭 勇,硕士

An Optimization Method of TLB Architecture

HE Jun, ZHANG Xiao-dong, GUO Yong   

  1. (Shanghai High Performance IC Design Centre, Shanghai 201204, China)
  • Received:2011-12-29 Online:2012-11-05 Published:2012-11-02

摘要: 针对国产处理器地址代换旁路缓冲(TLB)性能不足的问题,通过对现有的虚实地址代换流程进行分析,提出设置独立第三级页表基址虚实映射缓存,对数据TLB结构进行优化的方法,减少低级页表虚实映射关系对高级页表虚实映射关系的挤占淘汰。SPEC CPU2000测试结果表明,近一半的课题能减少60%以上数据TLB的DM次数,少数课题甚至能减少90%以上,有效减少数据TLB缺失率。

关键词: 地址代换旁路缓冲, 缺失率, 多级页表, 页表, 虚页号, 物理页号

Abstract: Aiming at the problem of the inefficiency of the Translation Look-aside Buffer(TLB) of a homegrown microprocessor, based on the analysis of current virtual to real address mapping program, a method of TLB architecture optimization is put forward, which is to setup a separate virtual to real address mapping cache of the base address of third level page tables, decreasing the occurrence of replacement of higher level page table entries by lower level ones. After evaluation using SPEC CPU2000 benchmark, the Double Miss(DM) rate of the data TLB of almost half of the benchmarks is dropped down by 60% at least and some of the benchmarks are decreased by 90% above, such optimization can reduce data TLB miss rate effectively.

Key words: Translation Look-aside Buffer(TLB), miss rate, multilevel page table, page table, virtual page number, physical page number

中图分类号: