首页 | 本学科首页   官方微博 | 高级检索  
     

一种基于LRU算法改进的缓存方案研究与实现
引用本文:廖鑫.一种基于LRU算法改进的缓存方案研究与实现[J].电子工程师,2008,34(7):46-48.
作者姓名:廖鑫
作者单位:同济大学微电子中心,上海市,200092
摘    要:LRU(最近最少使用)替换算法在单处理器结构的许多应用中被广泛使用。然而在多处理器结构中,传统LRU算法对降低共享缓存的缺失率并不是最优的。文中研究了基本的缓存块替换算法,在分析LRU算法的基础上,提出基于LRU算法及访问概率改进的缓存方案,综合考虑最近使用次数和访问频率来决定候选的替换块,增强了替换算法对多处理器的适应性。

关 键 词:缓存  LRU  替换算法  多处理器

Study and Implementation of an Improved Cache Concept Based on LRU Algorithm
LIAO Xin.Study and Implementation of an Improved Cache Concept Based on LRU Algorithm[J].Electronic Engineer,2008,34(7):46-48.
Authors:LIAO Xin
Affiliation:LIAO Xin (Microelectronic Centre, Tongji University, Shanghai 200092, China)
Abstract:The LRU (least recently used) replacement algorithm is widely used in many applications of single microprocessor architecture. However, in multiprocessor architecture, the traditional LRU algorithm is not optimal to reduce the shared cache misses. In this paper, basic cache lines replacement algorithms are dis- cussed. Upon a detailed analysis of the LRU algorithm, an improved cache concept based on LRU algorithm combined with access probability, where the recency and frequency are considered for choosing cache lines for the adaptability of the replacement algorithm for muhiprocessors.
Keywords:LRU
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号