基于IRR信息的改进ARC算法.pdfVIP

  • 35
  • 0
  • 约1.35万字
  • 约 7页
  • 2020-06-08 发布于陕西
  • 举报
中国科技论文在线 基于 IRR 信息的改进 ARC 算法 汤茂杰,赵鹏,王瑀屏 (清华大学计算机科学与技术系 北京 100084) 摘要:缓存是增强计算机整体性能的一项重要技术,缓存替换算法作为核心技术更加重要。 通过深入研究多种数据访问模式下ARC (adaptive replacement cache )算法的性能,总结出 ARC 算法性能较差的数据访问模式及其原因。针对发现的不足提出了一种改进的缓存替换 算法,该算法通过引入IRR (inter reference recency )信息,提高了弱局部性访问模式下的缓 存命中率,改善了ARC 算法对不同数据访问模式的适应性。仿真实验结果表明,改进后的 算法提升了应对弱局部性访问模式的能力,增强了算法的灵活性。 关键词:缓存;缓存替换算法;ARC ;IRR 中图分类号:TP301.6; TP333 文献标识码:A An IRR-based improved ARC algorithm Tang Maojie, Zhao Peng, Wang Yuping (Department of Computer Science and Technology, Tsinghua University, Beijing 100084, China) Abstract: Cache is an important technology to improve the overall performance of computers. As its core technology, more importance is attached to cache replacement algorithm. Various data access patterns have been thoroughly studied, and the patterns that ARC (adaptive replacement cache) algorithm handles poorly and its cause are summed up. According to the weakness, an improved cache replacement algorithm is proposed. By introducing IRR (inter reference recency) information, the new algorithm improves cache hit rate of weak locality access pattern and makes ARC algorithm more adaptive. The simulation result shows that this algorithm can improve the ability to handle weak locality access pattern and enhance the flexibility of ARC algorithm. Key words: cache; cache replacement algorithm; adaptive replacement cache ;inter reference recency [1] 缓存技术是计算机领域十分经典且基础的研究领域 ,缓存替换算法作为缓存技术的核 心技术不断有新的研究成果出现。对目前已经提出的缓存替换算法可以进行如下划分。(1) 传统的缓存替换算法及其改进,典型的有LRU 、LFU 、2Q 、MQ[2]、Clock-Pro[3]等,这些算 法具有易于实现和被广泛应用等特点,但是也存在不可以随着应用程序数据访问模式的不同 而自适应调节的缺陷。(2) 充分挖掘数据访问模式的规律及缓存替换的历史信息以提高算法 性能的算法,具有代表性的有LIRS[4]、ARC[5

文档评论(0)

1亿VIP精品文档

相关文档