...
首页> 外文期刊>Microprocessors and microsystems >An effectiveness-based adaptive cache replacement policy
【24h】

An effectiveness-based adaptive cache replacement policy

机译:基于效果的自适应缓存替换策略

获取原文
获取原文并翻译 | 示例

摘要

Belady's optimal cache replacement policy is an algorithm to work out the theoretical minimum number of cache misses, but the rationale behind it was too simple. In this work, we revisit the essential function of caches to develop an underlying analytical model. We argue that frequency and recency are the only two affordable attributes of cache history that can be leveraged to predict a good replacement. Based on those two properties, we propose a novel replacement policy, the Effectiveness-Based Replacement policy (EBR) and a refinement. Dynamic EBR (D-EBR), which combines measures of recency and frequency to form a rank sequence inside each set and evict blocks with lowest rank. To evaluate our design, we simulated all 30 applications from SPEC CPU2006 for uni-core system and a set of combinations for 4-core systems, for different cache sizes. The results show that EBR achieves an average miss rate reduction of 12.4%. With the help of D-EBR, we can tune the weight ratio between 'frequency' and 'recency' dynamically. D-EBR can nearly double the miss reduction achieved by EBR alone. In terms of hardware overhead, EBR requires half the hardware overhead of real LRU and even compared with Pseudo LRU the overhead is modest.
机译:Belady的最佳高速缓存替换策略是一种算法,可以计算出理论上的高速缓存未命中最小数量,但是其背后的原理太简单了。在这项工作中,我们将重访缓存的基本功能以开发基础分析模型。我们认为,频率和新近度是可以用来预测良好替换的缓存历史记录的仅有的两个可承受的属性。基于这两个属性,我们提出了一种新颖的替换策略,即基于效果的替换策略(EBR)和改进。动态EBR(D-EBR),结合了新近度和频率的度量,以在每个集合内形成等级序列,并逐出最低等级的块。为了评估我们的设计,我们针对不同的缓存大小,模拟了SPEC CPU2006中用于单核系统的所有30个应用程序以及用于4核系统的一组组合。结果表明,EBR的平均未命中率降低了12.4%。借助D-EBR,我们可以动态调整“频率”和“新近度”之间的权重比。 D-EBR几乎可以将仅EBR所实现的遗漏减少量增加一倍。在硬件开销方面,EBR要求的是实际LRU硬件开销的一半,即使与伪LRU相比,开销也很小。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号