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

计算机工程 ›› 2013, Vol. 39 ›› Issue (4): 78-81. doi: 10.3969/j.issn.1000-3428.2013.04.019

• 体系结构与软件技术 • 上一篇    下一篇

多级缓存模式下的数据块替换优化算法

兰 丽   

  1. (兰州交通大学电子与信息工程学院,兰州 730070)
  • 收稿日期:2012-05-09 出版日期:2013-04-15 发布日期:2013-04-12
  • 作者简介:兰 丽(1978-),女,讲师、硕士,主研方向:计算机体系结构,并行处理,智能计算

Data Block Replacement Optimization Algorithm in Multi-level Cache Mode

LAN Li   

  1. (School of Electronic and Information Engineering, Lanzhou Jiaotong University, Lanzhou 730070, China)
  • Received:2012-05-09 Online:2013-04-15 Published:2013-04-12

摘要: 多数处理器中采用多级包含的cache存储层次,现有的末级cache块替换算法带来的性能开销较大。针对该问题,提出一种优化的末级cache块替换算法PLI,在选择丢弃块时考虑其在上级cache的访问频率,以较小的代价选出最优的LLC替换块。在时钟精确模拟器上的评测结果表明,该算法较原算法性能平均提升7%。

关键词: cache替换算法, LRU算法, PLI算法, 多级cache, 末级cache, 包容cache

Abstract: Most processor adopts the inclusive cache hierarchy, which requires that the contents of the upper level cache are resident in last level cache. In-depth tests show that the Last-level Cache(LLC) block replacement algorithm has great performance impact on memory system performance. This paper proposes a new LLC cache replacement algorithm, called PLI, to select the best Least Recently Used(LRU) replacement block. Simulation results show that PLI has average 7% performance speedup over traditional approach.

Key words: cache replacement algorithm, Least Recently Used(LRU) algorithm, PLI algorithm, multi-level cache, Last-level Cache(LLC), inclusive-cache

中图分类号: