计算机工程与应用 ›› 2011, Vol. 47 ›› Issue (29): 56-59.

• 研发、设计、测试 • 上一篇    下一篇

一种步长自适应二级cache预取机制

靳 强,郭 阳,鲁建壮   

  1. 国防科学技术大学 计算机学院,长沙 410073
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2011-10-11 发布日期:2011-10-11

Stride adaptive prefetching scheme on secondary cache

JIN Qiang,GUO Yang,LU Jianzhuang   

  1. School of Computer,National University of Defense Technology,Changsha 410073,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-10-11 Published:2011-10-11

摘要: 随着集成电路制造工艺的快速发展,片上实现大容量的cache成为可能,这从很大程度上降低了cache的失效率,与此同时,大容量的cache发生失效时的开销也更加显著。通过分析cache失效行为,设计了一种新的二级cache步长自适应预取机制,该机制充分利用了二级cache对指令地址不可见的特点,使用失效地址作为索引检查预取表。通过分析测试结果,选择了合适的结构参数,有效提高了cache性能。

关键词: 预取, 步长自适应, 二级cache, 信心系统机制

Abstract: With the rapid development of VLSI technology,it is possible to implement large cache on chip,which can effectively reduce the rate of cache miss.However,the large cache also makes the penalty larger than before when cache miss occurs.By analyzing the feature of cache miss,a new stride adaptive prefetching scheme on secondary cache is proposed.And the scheme uses the miss address as index to check prefetching table,because the instruction address is invisible to secondary cache.By analyzing the testing result,the appropriate structure parameters are selected,which greatly improves the cache performance.

Key words: prefetch, stride adaptive, secondary cache, confidence system