【24h】

Adaptive Caches

机译:自适应缓存

获取原文

摘要

We present and evaluate the idea of adaptive processor cache management. Specifically, we describe a novel and general scheme by which we can combine any two cache management algorithms (e.g., LRU, LFU, FIFO, Random) and adaptively switch between them, closely tracking the locality characteristics of a given program. The scheme is inspired by recent work in virtual memory management at the operating system level, which has shown that it is possible to adapt over two replacement policies to provide an aggregate policy that always performs within a constant factor of the better component policy. A hardware implementation of adaptivity requires very simple logic but duplicate tag structures. To reduce the overhead, we use partial tags, which achieve good performance with a small hardware cost. In particular, adapting between LRU and LFU replacement policies on an 8-way 512KB L2 cache yields a 12.7% improvement in average CPI on applications that exhibit a non-negligible L2 miss ratio. Our approach increases total cache storage by 4.0%, but it still provides slightly better performance than a conventional 10-way setassociative 640KB cache which requires 25% more storage.
机译:我们提出并评估自适应处理器缓存管理的想法。具体而言,我们描述了一种新颖且通用的方案,通过该方案,我们可以组合任意两种高速缓存管理算法(例如LRU,LFU,FIFO,随机),并在它们之间进行自适应切换,从而密切跟踪给定程序的位置特征。该方案的灵感来自操作系统级别的虚拟内存管理方面的最新工作,该工作表明,可以对两个替换策略进行调整,以提供始终在更好的组件策略的恒定因子内执行的聚合策略。适应性的硬件实现需要非常简单的逻辑,但是需要重复的标签结构。为了减少开销,我们使用了部分标签,这些标签以较低的硬件成本实现了良好的性能。特别是,在表现出不可忽略的L2丢失率的应用程序上,在8路512KB L2高速缓存上在LRU和LFU替换策略之间进行调整可以使平均CPI提高12.7%。我们的方法将总的缓存存储量增加了4.0%,但与传统的10路setassociative 640KB缓存(其需要的存储量增加25%)相比,其性能仍然略有提高。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号