节点文献

Cache替换算法LRU和2Q的深度分析

Depth Analysis of LRU and 2Q on Cache Replacement Algorithm

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 张恒瑞王红

【Author】 ZHANG Heng-rui;WANG Hong;School of Electronic and Information Engineering,Liaoning Technical University;

【机构】 辽宁工程技术大学电子与信息工程学院

【摘要】 Cache替换算法是内存和CPU交互时速度保证的关键,传统的LRU算法在处理偶然性数据访问时造成缓存污染严重,但其实现简单,命中率和效率尚可,故成为现今大多情况下使用的算法;2Q算法通过设置两个队列,A1队列通过暂存数据减弱偶发性数据的影响,实现同样简单且有不错的性能。通过编制的词法分析器分析程序代码得来的数据进行算法性能的比较。

【Abstract】 Cache replacement algorithm is the key to ensure the speed of memory and CPU interaction, the traditional LRU algorithm in dealing with accidental data access caused by cache pollution, but its implementation is simple and the hit rate and efficiency can be used now, in most cases the algorithm, the 2Q algorithm by setting two queue, queue A1 reduces the influence of sporadic data through the temporary storage of data, to achieve the same performance is simple and has good, through the use of lexical analyzer analysis program code to compare the performance of the data algorithm.

【关键词】 Cache替换算法LRU2Q命中率性能
【Key words】 Cache Replacement AlgorithmLRU2QHit RatePerformance
  • 【文献出处】 现代计算机(专业版) ,Modern Computer , 编辑部邮箱 ,2017年04期
  • 【分类号】TP333
  • 【被引频次】10
  • 【下载频次】176
节点文献中: 

本文链接的文献网络图示:

本文的引文网络