An optimality proof of the LRU- K page replacement algorithm

Author:

O'Neil Elizabeth J.1,O'Neil Patrick E.1,Weikum Gerhard2

Affiliation:

1. Univ. of Massachusetts, Boston

2. Univ. of Saarlaud, Saarvlaud, Austria

Abstract

This paper analyzes a recently published algorithm for page replacement in hierarchical paged memory systems [O'Neil et al. 1993]. The algorithm is called the LRU- K method, and reduces to the well-known LRU (Least Recently Used) method for K = 1. Previous work [O'Neil et al. 1993; Weikum et al. 1994; Johnson and Shasha 1994] has shown the effectiveness for K > 1 by simulation, especially in the most common case of K = 2. The basic idea in LRU- K is to keep track of the times of the last K references to memory pages, and to use this statistical information to rank-order the pages as to their expected future behavior. Based on this the page replacement policy decision is made: which memory-resident page to replace when a newly accessed page must be read into memory. In the current paper, we prove, under the assumptions of the independent reference model, that LRU- K is optimal. Specifically we show: given the times of the (up to) K most recent references to each disk page, no other algorithm A making decisions to keep pages in a memory buffer holding n - 1 pages based on this infomation can improve on the expected number of I/Os to access pages over the LRU- K algorithm using a memory buffer holding n pages. The proof uses the Bayesian formula to relate the space of actual page probabilities of the model to the space of observable page numbers on which the replacement decision is acutally made.

Publisher

Association for Computing Machinery (ACM)

Subject

Artificial Intelligence,Hardware and Architecture,Information Systems,Control and Systems Engineering,Software

Reference13 articles.

1. Principles of Optimal Page Replacement

2. A study of replacement algorithms for virtual storage computers;BELADY L.A.;IBM Syst. J.,1966

3. COFFMAN JR. E. G. AND DENNING P.J. 1973. Operating Systems Theory. Prentice-Hall Englewood Cliffs N.J. COFFMAN JR. E. G. AND DENNING P.J. 1973. Operating Systems Theory. Prentice-Hall Englewood Cliffs N.J.

4. The working set model for program behavior

Cited by 53 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. An Associativity Threshold Phenomenon in Set-Associative Caches;Proceedings of the 35th ACM Symposium on Parallelism in Algorithms and Architectures;2023-06-17

2. A New Proposed Hybrid Page Replacement Algorithm (HPRA) in Real Time Systems.;2023 5th International Conference on Smart Systems and Inventive Technology (ICSSIT);2023-01-23

3. Bibliography;Storage Systems;2022

4. Introduction;Storage Systems;2022

5. RUE: A caching method for identifying and managing hot data by leveraging resource utilization efficiency;Software: Practice and Experience;2021-03-09

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3