北京邮电大学学报

  • EI核心期刊

北京邮电大学学报 ›› 2016, Vol. 39 ›› Issue (3): 44-48,53.doi: 10.13190/j.jbupt.2016.03.007

• 论文 • 上一篇    下一篇

自适应访问模式的缓存替换策略

黄智濒, 周锋, 马华东   

  1. 北京邮电大学 智能通信软件与多媒体北京市重点实验室, 北京 100876
  • 收稿日期:2015-11-19 出版日期:2016-06-28 发布日期:2016-06-27
  • 作者简介:黄智濒(1978-),男,讲师,博士,E-mail:huangzb@bupt.edu.cn.
  • 基金资助:

    智能通信软件与多媒体北京市重点实验室开放课题(ITSM201303);中国博士后基金项目(2014M550662);IBM2015共享大学计划项目

A Cache Replacement Policy Adapting to the Request Access Pattern

HUANG Zhi-bin, ZHOU Feng, MA Hua-dong   

  1. Beijing Key Laboratory of Intelligent Telecommunication Software and Multimedia, Beijing University of Posts and Telecommunications, Beijing 100876, China
  • Received:2015-11-19 Online:2016-06-28 Published:2016-06-27

摘要:

针对组竞争仅考虑访问请求序列的替换结果而没有考虑请求的访存特征这个问题,提出了基于堆栈距离频度的复杂加权法在线识别访问模式的方法以及自适应访问模式的缓存管理替换算法,基本思想是依据在线识别的访问请求模式特征自动调整其插入策略.在Simics中,对选自SPEC CPU2000/2006的18个测试程序及组合负载的实验结果表明,该算法的缺失率相对于DIP、RRIP、TADIP和PIPP都有显著降低.

关键词: 访问模式, 替换算法, 多核共享末级缓存, 组竞争

Abstract:

Many proposals about the optimization of cache management policies depend on set dueling, and they choose policies according to the results of miss rates. However, they are facing challenges in multicore since they have lower accuracy and higher storage overhead. The main reason is that they only consider the results of cache replacement policies rather than the characteristic of cache access sequences (or access pattern). Therefore, an online access pattern identification method, complex stack distance weighting method was proposed, and an adaptive cache replacement policy, least recently used-C (LRU-C), was put forward. Its basic idea is to adjust the insertion position according to the result of the online access pattern identification. Experiment in the full-system Simics running 18 benchmarks from SPEC CPU2000/2006 shows that the performance of LRU-C is better than those of dynamic insertion policy,re-reference interval prediction,thread aware dynamic insertion policy and promotion/insertion pseudo-partitioning.

Key words: access pattern, replacement policy, last-level-cache, set dueling

中图分类号: