首页> 外文会议>Annual European Symposium on Algorithms(ESA 2004); 20040914-17; Bergen(NO) >Modeling Locality: A Probabilistic Analysis of LRU and FWf
【24h】

Modeling Locality: A Probabilistic Analysis of LRU and FWf

机译:建模地点:LRU和FWf的概率分析

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

摘要

In this paper we explore the effects of locality on the performance of paging algorithms. Traditional competitive analysis fails to explain important properties of paging assessed by practical experience. In particular, the competitive ratios of paging algorithms that are known to be efficient in practice (e.g. LRU) are as poor as those of naive heuristics (e.g. FWF). It has been recognized that the main reason for these discrepancies lies in an unsatisfactory modelling of locality of reference exhibited by real request sequences. Following, we explicitely address this issue, proposing an adversarial model in which the probability of requesting a page is also a function of the page's age. In this way, our approach allows to capture the effects of locality of reference. We consider several families of distributions and we prove that the competitive ratio of LRU becomes constant as locality increases, as expected. This result is strengthened when the distribution satisfies a further concavity/convexity property: in this case, the competitive ratio of LRU is always constant. We also propose a family of distributions parametrized by locality of reference and we prove that the performance of FWF rapidly degrades as locality increases, while the converse happens for LRU. We think, our results provide one contribution to explaining the behaviours of these algorithms in practice.
机译:在本文中,我们探讨了局部性对分页算法性能的影响。传统的竞争分析无法解释根据实际经验评估的传呼的重要属性。特别地,在实践中已知有效的寻呼算法(例如,LRU)的竞争率与幼稚启发式算法(例如,FWF)的竞争率一样差。已经认识到这些差异的主要原因在于真实请求序列所呈现的参考位置的建模不令人满意。接下来,我们明确地解决此问题,提出一种对抗模型,在该模型中,请求页面的概率也是页面年龄的函数。通过这种方式,我们的方法可以捕获参考位置的影响。我们考虑了多个分布族,并且证明了LRU的竞争率随地区的增加而保持不变,正如预期的那样。当分布满足进一步的凹凸特性时,此结果将得到增强:在这种情况下,LRU的竞争率始终是恒定的。我们还提出了一个由参考位置参数化的分布族,我们证明FWF的性能会随着位置增加而迅速下降,而LRU则相反。我们认为,我们的结果为在实践中解释这些算法的行为做出了贡献。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号