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
54 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. An Enhanced Short Video Caching Strategy Based on User Behaviour and Time Factors;2023 4th International Conference on Information Science and Education (ICISE-IE);2023-12-15
2. An Associativity Threshold Phenomenon in Set-Associative Caches;Proceedings of the 35th ACM Symposium on Parallelism in Algorithms and Architectures;2023-06-17
3. 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
4. Bibliography;Storage Systems;2022
5. Introduction;Storage Systems;2022