期刊文献+

基于顺序检测的双队列缓存替换算法 被引量:2

Dual queues cache replacement algorithm based on sequentiality detection
原文传递
导出
摘要 缓存技术是提高存储性能最有效的技术之一,在存储系统中得到了广泛应用.由于缓存容量有限,替换算法在缓存策略中占据了重要地位.当前,缓存替换算法的研究工作主要集中在如何提高缓存系统命中率,忽略了通过降低缓存失效开销来提高缓存系统性能方面的研究.针对这一问题,本文提出了一种基于顺序检测的双队列缓存替换算法:本算法优先淘汰缓存中的顺序页面,保留随机页面,从而大大减少后续请求对磁盘进行随机访问的次数,能够显著降低缓存系统的失效开销.同时,本算法使用两个队列分别维护新加入页面和待淘汰页面,遵循时间局部性原理,保证了缓存命中率.实验结果表明,本算法在多种缓存大小及工作负载下,可以达到比LRU和ARC算法更优的性能. Caching is one of the most effective and commonly used mechanisms to improve performance of storage servers.Replacement policies play a critical role in the cache design due to the limited cache capacity. Recent researchers devote themselves to achieve high hit ratios,but rarely pay attention to reducing miss penalty during the design of a replacement policy.To address the issue,this paper presents a novel algorithm,called dual queues cache replacement algorithm based on sequentiality detection,which prefers to drop sequential blocks and protect random blocks.The buffer cache can serve more subsequent random read requests,so the cache miss penalty decreases significantly.Moreover,the algorithm makes use of two queues separately maintaining new blocks and old blocks to avoid the degradation of hit ratios.Our trace-driven simulation results show that it performs better than LRU and ARC for a wide range of cache sizes and workloads.
出处 《中国科学:信息科学》 CSCD 2011年第4期429-439,共11页 Scientia Sinica(Informationis)
基金 国家自然科学基金(批准号:60736013 60903040 61025009) 教育部新世纪优秀人才支持计划(批准号:NCET08-0145) 国家高技术研究发展计划(批准号:863-2006AA01A106)资助项目
关键词 缓存技术 替换策略 命中率 失效开销 顺序检测 caching mechanism replacement policy hit ratio miss penalty sequentiality detection
  • 相关文献

参考文献20

  • 1Aho A V,Denning P J,Ullman J D.Principles of optimal page replacement. Journal of the ACM . 1971
  • 2Zhao Y J,Xiao N.Bargain cache:using file-system metadata to reduce the cache miss penalty. Proceedings of the 9th PDCAT Conference . 2008
  • 3Wong T M,Wilkes J.My cache or yours-making storage more exclusive. Proceedings of the USENIX Annual Technical Conference . 2002
  • 4Gill B S.On multi-level exclusive caching:o-ine optimality and why promotions are better than demotions. Proceedings of the6th FAST Conference . 2008
  • 5Gill B S,Modha D S.SARC:sequential prefetching in adaptive replacement cache. Proceedings of the USENIX Annual Technical Conference . 2005
  • 6D.Muntz,P.Honeyman.Multi-level Caching in Distributed File Systems or Your cache ain‘t nuthin‘ but trash. Proceedings of the USENIX Winter Conference . 1992
  • 7Yiming Hu,Tycho Nightingale,Qing Yang.RAPID-Cache - A Reliable and Inexpensive Write Cache for High Performance Storage Systems. IEEE Transactions on Parallel and Distributed Systems . 2002
  • 8Adel’son-Vel’skii,G.M.,Landis,E.M.An information organisation algorithm. Doklady Akad. Nauk SSSR . 1962
  • 9Chu Rui,Xiao NongLju,Yuhao.Distributed Paging RAM Grid System for Wide-area Memory Sharing. 20th International Parallel and Distributed Processing Symposium.2006 (IEEE IPDPS) . 2006
  • 10Megiddo N,Modha D S.ARC:A self-tuning,low overhead replacement cache. Proceedings of the FAST‘03 Conference on File and Storage Technologies . 2003

同被引文献20

  • 1罗益辉,谢长生,张成峰.存储系统的集中式Cache替换算法[J].华中科技大学学报(自然科学版),2006,34(11):41-43. 被引量:5
  • 2Glass G, Cao Pei. Adaptive page replacement based on mem- ory reference behavior[C] // Proc of 1997 ACM SIGMET- RICS, 1997:115-126.
  • 3Smaragdakis Y, Kaplan S, Wilson P. Eelru: Simple and ef- fective adaptive page replacement[R]. Austin: University of Texas at Austin, 1998.
  • 4Kim J M, Choi J, Kim J, et al. A low-overhead high per- formance unified buffer management scheme that exploits se- quential and looping references[C]//Proc of the 4th Confer ence on Symposium on Operating System Design & Imple- mentation, 2000 : 9.
  • 5Choi J, Noh S H, Min S L, et al. Towards application/file- level characterization of block references: A case for fine- grained buffer management[C]// Proe of 2000 ACM SIG- METRICS, 2000 : 286-295.
  • 6Zhou Yuan-yuan, Philbin J, Li Kai. The multi-queue replace- ment algorithm for second level buffer caches[C] // Proc of the General Track: 2002 USENIX Annual Technical Confer- enee, 2001:91-104.
  • 7Robinson J T, Devarakonda M V. Data cache management using frequency-based replaeement[C]//Proc of 1990 ACM SIGMETRICS Conference on Measurement and Modeling of Computer Systems, 1990 : 134-142.
  • 8Megiddo N, Modha D S. ARC: A self-tuning, low overhead replacement cache[C] //Proe of the 2nd USENIX Conference on File and Storage Technologies, 2003:115-130.
  • 9Lee D, Choi J, Kim J H, et al. LRFU: A spectrum of poli- cies that subsumes the least recently used and least frequent- ly used polieies[J]. IEEE Transactions on Computer, 2001, 50(12) : 1352-1361.
  • 10Wood T, Tarasuk-Levin G, Shenoy P, et al. Memory bud- dies:Exploiting page sharing for smart colocation in virtual- ized data centers[C]//Proc of 2009 ACM SIGPLAN/SIG-OPS International Conference on Virtual Execution Envi- ronments, 2009 : 31-40.

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部