首页> 外文期刊>Performance evaluation review >Transient and Steady-state Regime of a Family of List-based Cache Replacement Algorithms
【24h】

Transient and Steady-state Regime of a Family of List-based Cache Replacement Algorithms

机译:基于列表的缓存替换算法家族的瞬态和稳态机制

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

摘要

In this paper we study the performance of a family of cache replacement algorithms. The cache is decomposed into lists. Items enter the cache via the first list. An item enters the cache via the first list and jumps to the next list whenever a hit on it occurs. The classical policies FIFO, RANDOM, CLIMB and its hybrids are obtained as special cases. We present explicit expressions for the cache content distribution and miss probability under the IRM model. We develop an algorithm with a time complexity that is polynomial in the cache size and linear in the number of items to compute the exact miss probability. We introduce lower and upper bounds on the latter that can be computed in a time that is linear in the cache size times the number of items. We further introduce a mean field model to approximate the transient behavior of the miss probability and prove that this model becomes exact as the cache size and number of items tends to infinity. We show that the set of ODEs associated to the mean field model has a unique fixed point that can be used to approximate the miss probability in case the exact computation becomes too time consuming. Using this approximation, we provide guidelines on how to select a replacement algorithm within the family considered such that a good trade-off is achieved between the cache reactivity and its steady-state hit probability. We simulate these cache replacement algorithms on traces of real data and show that they can outperform LRU. Finally, we also disprove the well-known conjecture that the CLIMB algorithm is the optimal finite-memory replacement algorithm under the IRM model.
机译:在本文中,我们研究了一系列缓存替换算法的性能。缓存被分解成列表。项目通过第一个列表进入缓存。一个项目通过第一个列表进入高速缓存,并且每当发生命中时都跳到下一个列表。作为特殊情况,可以获得经典策略FIFO,RANDOM,CLIMB及其混合。我们为IRM模型下的缓存内容分配和未命中率提供了明确的表达式。我们开发了一种算法,它的时间复杂度是高速缓存大小的多项式,而项数是线性的,以计算确切的未命中概率。我们在后者上引入了上下限,可以在缓存大小乘以项目数成线性的时间内计算出上下限。我们进一步引入均值场模型来近似未命中概率的瞬态行为,并证明随着高速缓存大小和项目数趋于无穷大,该模型变得精确。我们表明,与平均场模型相关的ODE集合具有唯一的固定点,在精确的计算变得太耗时的情况下,可以将其用于近似未命中概率。使用该近似值,我们提供了有关如何在所考虑的系列中选择替换算法的准则,以便在缓存反应性与其稳态命中概率之间取得良好的折衷。我们在真实数据的痕迹上模拟了这些缓存替换算法,并证明它们可以胜过LRU。最后,我们也证明了众所周知的猜测,即CLIMB算法是IRM模型下的最佳有限内存替换算法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号