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

SAGA:一种由流特性制导的微处理器高速缓存分配策略
引用本文:陈彧,林隽民,乔林,汤志忠.SAGA:一种由流特性制导的微处理器高速缓存分配策略[J].计算机学报,2008,31(11).
作者姓名:陈彧  林隽民  乔林  汤志忠
作者单位:清华大学计算机科学与技术系,北京,100084
基金项目:国家自然科学基金,国家高技术研究发展计划(863计划)
摘    要:传统的缓存替换策略,如广泛使用的LRU算法,在程序工作集大于缓存容量的情况下,不能有效开发流式数据的重用性,导致缓存性能很差.文中提出一种流特性制导的缓存分配策略(SAGA).该策略利用流检测引擎来发掘程序中的流特性信息,进而动态地在发生缓存缺失时指导是否为缺失数据分配缓存块,最终提高数据缓存的性能.实验表明,对于SPEC2000FP程序集,在1MB缓存上,比较于LRU策略,使用SAGA策略时缓存的缺失平均减少了31%,程序平均CPI降低4%.

关 键 词:高速缓存  替换策略  

SAGA: A Stream Attribute Guided Cache Allocation Policy for Microprocessors
CHEN Yu,LIN Jun-Min,QIAO Lin,TANG Zhi-Zhong.SAGA: A Stream Attribute Guided Cache Allocation Policy for Microprocessors[J].Chinese Journal of Computers,2008,31(11).
Authors:CHEN Yu  LIN Jun-Min  QIAO Lin  TANG Zhi-Zhong
Abstract:Traditional cache replacement schemes such as the commonly used LRU policy often fail to exploit reuse of stream data when the working set size of the application is bigger than the cache size,resulting in poor cache performance.In this paper,the data cache performance is improved by enhancing LRU policy with a novel Stream Attribute Guided Cache Allocation(SAGA) policy,which dynamically utilizes streaming information in applications detected by stream engines on microprocessors to guide whether allocate a new cache line or not when a cache miss occurs.Experiments show that SAGA outperforms LRU by 31% in terms of cache misses and 4% in terms of CPI for SPEC2000FP benchmark on a 1MB cache.
Keywords:cache  replacement policy  stream
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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