...
首页> 外文期刊>IEEE Transactions on Computers >Cache replacement algorithms with nonuniform miss costs
【24h】

Cache replacement algorithms with nonuniform miss costs

机译:具有不均匀丢失成本的缓存替换算法

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

摘要

Cache replacement algorithms originally developed in the context of uniprocessors executing one instruction at a time implicitly assume that all cache misses have the same cost. However, in modern systems, some cache misses are more expensive than others. The cost may be latency, penalty, power consumption, bandwidth consumption, or any other ad hoc numerical property attached to a miss. We call the class of replacement algorithms designed to minimize a nonuniform miss cost function "cost-sensitive replacement algorithms". In this paper, we first introduce and analyze an optimum cost-sensitive replacement algorithm (CSOPT) in the context of multiple nonuniform miss costs. CSOPT can significantly improve the cost function over OPT (the replacement algorithm minimizing miss count) in large regions of the design space. Although CSOPT is an offline and unrealizable replacement policy, it serves as a lower bound on the achievable cost by realistic cost-sensitive replacement algorithms. Using the practical example of latency cost in CC-NUMA multiprocessors, we demonstrate that there is a lot of room left to improve current replacement algorithms in many situations beyond the promise of OPT. Next, we introduce three practical extensions of LRU inspired by CSOPT and we compare their performance to LRU, OPT, and CSOPT. Finally, as a practical application, we evaluate these realizable cost-sensitive replacement algorithms in the context of the second-level caches of a CC-NUMA multiprocessor with superscalar processors, using the miss latency as the cost function. By applying simple replacement policies sensitive to the latency of misses, we can improve the execution time of some parallel applications by up to 18 percent.
机译:最初在单处理器一次执行一条指令的上下文中开发的高速缓存替换算法隐式地假定所有高速缓存未命中具有相同的成本。但是,在现代系统中,某些高速缓存未命中比其他高速缓存未命中更为昂贵。代价可能是等待时间,损失,功耗,带宽消耗或附加到未命中的任何其他临时数字属性。我们将旨在最小化非均匀错过成本函数的替代算法类别称为“成本敏感型替代算法”。在本文中,我们首先介绍并分析了在多个非均匀错过成本情况下的最优成本敏感替代算法(CSOPT)。在设计空间的较大区域中,CSOPT可以大大优于OPT(使遗漏计数最小化的替换算法)提高成本函数。尽管CSOPT是一种离线且无法实现的替换策略,但它通过实际的成本敏感型替换算法充当了可实现成本的下限。使用CC-NUMA多处理器中延迟成本的实际示例,我们证明了在超出OPT承诺的许多情况下,仍有很多空间可以改进当前的替换算法。接下来,我们介绍受CSOPT启发的LRU的三个实用扩展,并将它们的性能与LRU,OPT和CSOPT进行比较。最后,在实际应用中,我们将未实现延迟作为代价函数,在具有超标量处理器的CC-NUMA多处理器的二级缓存中评估这些可实现的,对成本敏感的替换算法。通过应用对丢失等待时间敏感的简单替换策略,我们可以将某些并行应用程序的执行时间缩短18%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号