首页> 外文会议>International symposium on computer architecture >High Performance Cache Replacement Using Re-Reference Interval Prediction (RRIP)
【24h】

High Performance Cache Replacement Using Re-Reference Interval Prediction (RRIP)

机译:使用重新参考间隔预测(RRIP)进行高性能缓存替换

获取原文

摘要

Practical cache replacement policies attempt to emulate optimal replacement by predicting the re-reference interval of a cache block. The commonly used LRU replacement policy always predicts a near-immediate re-reference interval on cache hits and misses. Applications that exhibit a distant re-reference interval perform badly under LRU. Such applications usually have a working-set larger than the cache or have frequent bursts of references to non-temporal data (called scans). To improve the performance of such workloads, this paper proposes cache replacement using Re-reference Interval Prediction (RRIP). We propose Static RRIP (SRRIP) that is scan-resistant and Dynamic RRIP (DRRIP) that is both scan-resistant and thrash-resistant. Both RRIP policies require only 2-bits per cache block and easily integrate into existing LRU approximations found in modern processors. Our evaluations using PC games, multimedia, server and SPEC CPU2006 workloads on a single-core processor with a 2MB last-level cache (LLC) show that both SRRIP and DRRIP outperform LRU replacement on the throughput metric by an average of 4% and 10% respectively. Our evaluations with over 1000 multi-programmed workloads on a 4-core CMP with an 8MB shared LLC show that SRRIP and DRRIP outperform LRU replacement on the throughput metric by an average of 7% and 9% respectively. We also show that RRIP outperforms LFU, the state-of the art scan-resistant replacement algorithm to-date. For the cache configurations under study, RRIP requires 2X less hardware than LRU and 2.5Xless hardware than LFU.
机译:实际缓存替换策略尝试通过预测缓存块的重新参考间隔来模拟最佳替代。常用的LRU替换策略始终预测高速缓存命中和未命中的近立即再参考间隔。在LRU下表现出遥远的再参考间隔的应用。此类应用程序通常具有比高速缓存更大的工作集,或者对非时间数据(称为扫描)的引用频繁突发。为了提高这种工作负载的性能,本文使用重新参考间隔预测(RRIP)提出了缓存替换。我们提出了静态Rrip(SRRIP),其是耐扫描和动态RRIP(DRRIP),其既耐扫描和抗捶打。 rrip策略每个缓存块只需要2位,并且很容易集成到现代处理器中找到的现有LRU近似值。我们的评估使用PC游戏,多媒体,服务器和规范CPU2006在单核处理器上工作负载,具有2MB的最后级别缓存(LLC)显示SRRIP和DRRIP均优于吞吐量的LRU更换,平均为4%和10 % 分别。我们的评估具有超过1000个多程序工作负载的4核CMP,带有8MB的共享LLC显示SRRIP和DRRIP优于吞吐量的替代品,平均分别为7%和9%。我们还表明RRIP优于LFU,最新的禁用替换算法到目前为止。对于研究下的缓存配置,RRIP需要比LRU和2.5xless硬件更少的硬件比LFU更少。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号