DesynchLRU: An Ecient Page Replacement Algorithm with Desynchronized Cache and RAM *

In this paper, we present DesynchLRU, a new page replacement algorithm. DesynchLRU is a modified version of the celebrated LRU (Least Recently Used) page replacement algorithm. The basic distinction between LRU and DesynchLRU is that, in the former, the pages in cache and RAM always remain synchronized, whereas, in the latter, they can be desynchronized. Here, we show that the page fault rate in DesynchLRU is always smaller than that of LRU. We further analyze the average cost for a page request and establish conditions for which DesynchLRU would always perform better than LRU.

[1]  Robert C. Daley,et al.  The Multics virtual memory , 1972, Commun. ACM.

[2]  John S. Liptay,et al.  Structural Aspects of the System/360 Model 85 II: The Cache , 1968, IBM Syst. J..

[3]  Gururaj S. Rao,et al.  Performance Analysis of Cache Memories , 1978, JACM.

[4]  Michael A. Bender,et al.  The Worst Page-Replacement Policy , 2007, Theory of Computing Systems.

[5]  Henry M. Levy,et al.  Segmented FIFO page replacement , 1981, SIGMETRICS '81.

[6]  Donald B. Innes Exploiting the least recently used page replacement algorithm , 1977, Softw. Pract. Exp..

[7]  Alfred V. Aho,et al.  Principles of Optimal Page Replacement , 1971, J. ACM.

[8]  Peter J. Denning Virtual Memory , 1996, ACM Comput. Surv..

[9]  Sang Lyul Min,et al.  LRFU: A Spectrum of Policies that Subsumes the Least Recently Used and Least Frequently Used Policies , 2001, IEEE Trans. Computers.

[10]  Gerhard Weikum,et al.  An optimality proof of the LRU-K page replacement algorithm , 1999, JACM.

[11]  Sami Khuri,et al.  Visualizing the CPU scheduler and page replacement algorithms , 1999, SIGCSE '99.

[12]  Ben H. H. Juurlink,et al.  Approximating the optimal replacement algorithm , 2004, CF '04.

[13]  Jaafar Alghazo,et al.  SF-LRU cache replacement algorithm , 2004 .

[14]  William D. Strecker Cache memories for PDP-11 family computers , 1976, ISCA.

[15]  Richard Y. Kain,et al.  How to evaluate page replacement algorithms , 1975, SOSP.

[16]  R. S. Fabry,et al.  MIN—an optimal variable-space page replacement algorithm , 1976, CACM.

[17]  Dale H. Grit Global LRU Page Replacement in a Multiprogrammed Environment , 1977, Int. CMG Conference.