首页> 外文会议>IEEE International Symposium on High Performance Computer Architecture >Designing a Cost-Effective Cache Replacement Policy using Machine Learning
【24h】

Designing a Cost-Effective Cache Replacement Policy using Machine Learning

机译:使用机器学习设计经济高效的缓存替换策略

获取原文

摘要

Extensive research has been carried out to improve cache replacement policies, yet designing an efficient cache replacement policy that incurs low hardware overhead remains a challenging and time-consuming task. Given the surging interest in applying machine learning (ML) to challenging computer architecture design problems, we use ML as an offline tool to design a cost-effective cache replacement policy. We demonstrate that ML is capable of guiding and expediting the generation of a cache replacement policy that is competitive with state-of-the-art hand-crafted policies. In this work, we use Reinforcement Learning (RL) to learn a cache replacement policy. After analyzing the learned model, we are able to focus on a few critical features that might impact system performance. Using the insights provided by RL, we successfully derive a new cache replacement policy – Reinforcement Learned Replacement (RLR). Compared to the state-of-the-art policies, RLR has low hardware overhead, and it can be implemented without needing to modify the processor’s control and data path to propagate information such as program counter. On average, RLR improves single-core and four-core system performance by 3.25% and 4.86% over LRU, with an overhead of 16.75KB for 2MB last-level cache (LLC) and 67KB for 8MB LLC.
机译:已经进行了广泛的研究,以改善缓存替换策略,但设计有效的缓存替换策略,导致低硬件开销仍然是一个具有挑战性和耗时的任务。鉴于对应用机器学习(ML)的兴趣兴趣挑战计算机架构设计问题,我们使用ML作为脱机工具来设计成本效益的缓存替换策略。我们展示ML能够引导和加速产生与最先进的手工制作政策具有竞争力的缓存替换政策的产生。在这项工作中,我们使用强化学习(RL)来学习缓存替换策略。在分析学习模型后,我们能够专注于可能影响系统性能的一些关键功能。使用RL提供的洞察力,我们成功推出了新的缓存替换策略 - 强化学习替代(RLR)。与最先进的政策相比,RLR具有低硬件开销,并且可以在不需要修改处理器的控制和数据路径以传播诸如程序计数器的信息的情况下实现。平均而言,RLR通过LRU将单核和四核系统性能提高了3.25%和4.86%,具有16.75KB的2MB最后级缓存(LLC)和8MB LLC的67KB。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号