skip to main content
10.1145/511334.511340acmconferencesArticle/Chapter ViewAbstractPublication PagesmetricsConference Proceedingsconference-collections
Article

LIRS: an efficient low inter-reference recency set replacement policy to improve buffer cache performance

Published:01 June 2002Publication History

ABSTRACT

Although LRU replacement policy has been commonly used in the buffer cache management, it is well known for its inability to cope with access patterns with weak locality. Previous work, such as LRU-K and 2Q, attempts to enhance LRU capacity by making use of additional history information of previous block references other than only the recency information used in LRU. These algorithms greatly increase complexity and/or can not consistently provide performance improvement. Many recently proposed policies, such as UBM and SEQ, improve replacement performance by exploiting access regularities in references. They only address LRU problems on certain specific and well-defined cases such as access patterns like sequences and loops. Motivated by the limits of previous studies, we propose an efficient buffer cache replacement policy, called Low Inter-reference Recency Set (LIRS). LIRS effectively addresses the limits of LRU by using recency to evaluate Inter-Reference Recency (IRR) for making a replacement decision. This is in contrast to what LRU does: directly using recency to predict next reference timing. At the same time, LIRS almost retains the same simple assumption of LRU to predict future access behavior of blocks. Our objectives are to effectively address the limits of LRU for a general purpose, to retain the low overhead merit of LRU, and to outperform those replacement policies relying on the access regularity detections. Conducting simulations with a variety of traces and a wide range of cache sizes, we show that LIRS significantly outperforms LRU, and outperforms other existing replacement algorithms in most cases. Furthermore, we show that the additional cost for implementing LIRS is trivial in comparison with LRU.

References

  1. L. A. Belady, R. A. Nelson, and G. S. Shedler, "An Anomaly in Space-Time Characteristics of Certain Programs Running in a Paging Machine", Communication of the ACM, Vol. 12, June 1969, pp. 349-353.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. E. G. Coffman and P. J. Denning, "Operating Systems Theory", Prentice-Hall, 1973]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. P. Cao, E. W. Felten and K. Li, "Application-Controlled File Caching Policies", Proceedings of the USENIX Summer 1994 Technical Conference, 1994, pp. 171-182.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. J. Choi, S. H. Noh, S. L. Min, and Y. Cho, "Towards Application/File-Level Characterization of Block References: A Case for Fine-Grained Buffer Management", Proceedings of 2000 ACM SIGMETRICS Conference on Measuring and Modeling of Computer Systems, June 2000, pp. 286-295.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. J. Choi, S. H. Noh, S. L. Min, Y. Cho, "An Implementation Study of a Detection-Based Adaptive Block Replacement Scheme", Proceedings of the 1999 Annual USENIX Technical Conference, 1999, pp. 239-252.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. P. J. Denning, "The Working Set Model for Program Behavior", Communications of the ACM, Vol. 11, No. 5, May, 1968, pp. 323-333.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. P. J. Denning, "Virtual Memory", Computer Survey Vol. 2, No. 3, 1970, pp. 153-189.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. W. Effelsberg and T. Haerder, "Principles of Database Buffer Management", ACM Transaction on Database Systems, Dec, 1984, pp. 560-595.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. G. Glass and P. Cao, "Adaptive Page Replacement Based on Memory Reference Behavior", Proceedings of 1997 ACM SIGMETRICS Conference on Measuring and Modeling of Computer Systems, May 1997, pp. 115-126.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. T. Johnson and D. Shasha, "2Q: A Low Overhead High Performance Buffer Management Replacement Algorithm", Proceedings of the 20th International Conference on VLDB, 1994, pp. 439-450.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. J. M. Kim, J. Choi, J. Kim, S. H. Noh, S. L. Min, Y. Cho, and C. S. Kim "A Low-Overhead, High-Performance Unified Buffer Management Scheme that Exploits Sequential and Looping References", Proceedings of the 4th USENIX Symposium on Operating System Design and Implementation, October 2000, pp. 119-134.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. D. Lee, J. Choi, J.-H. Kim, S. H. Noh, S. L. Min, Y. Cho and C. S. Kim, "On the Existence of a Spectrum of Policies that Subsumes the Least Recently Used (LRU) and Least Frequently Used (LFU) Policies", Proceeding of 1999 ACM SIGMETRICS Conference on Measuring and Modeling of Computer Systems, May 1999, pp. 134-143.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. T. C. Mowry, A. K. Demke and O. Krieger, "Automatic Compiler-Inserted I/O Prefetching for Out-of-Core Application", Proceedings of the Second USENIX Symposium on Operating Systems Design and Implementation, 1993, pp. 297-306.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. E. J. O'Neil, P. E. O'Neil, and G. Weikum, "The LRU-K Page Replacement Algorithm for Database Disk Buffering", Proceedings of the 1993 ACM SIGMOD Conference, 1993, pp. 297-306.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. V. Phalke and B. Gopinath, "An Inter-Reference Gap Model for Temporal Locality in Program Behavior", Proceeding of 1995 ACM SIGMETRICS Conference on Measuring and Modeling of Computer Systems, 1995, pp. 291-300.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. R. H. Patterson, G. A. Gibson, E. Ginting, D. Stodolsky and J. Zelenka, "Informed Prefetching and Caching", Proceedings of the 15th Symposium on Operating System Principles, 1995, pp. 79-95.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. J. T. Robinson and M. V. Devarakonda, "Data Cache Management Using Frequency-Based Replacement", Proceeding of 1990 ACM SIGMETRICS Conference on Measuring and Modeling of Computer Systems, May 1990, pp. 134-142.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Y. Smaragdakis, S. Kaplan, and P. Wilson, "EELRU: Simple and Effective Adaptive Page Replacement", Proceedings of 1999 ACM SIGMETRICS Conference on Measuring and Modeling of Computer Systems, May 1999, pp. 122-133.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. J. R. Spirn, "Distance String Models for Program Behavior", IEEE Computer, Vol. 9, 1976, pp.14-20.]]Google ScholarGoogle ScholarDigital LibraryDigital Library
  1. LIRS: an efficient low inter-reference recency set replacement policy to improve buffer cache performance

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      SIGMETRICS '02: Proceedings of the 2002 ACM SIGMETRICS international conference on Measurement and modeling of computer systems
      June 2002
      299 pages
      ISBN:1581135319
      DOI:10.1145/511334
      • cover image ACM SIGMETRICS Performance Evaluation Review
        ACM SIGMETRICS Performance Evaluation Review  Volume 30, Issue 1
        Measurement and modeling of computer systems
        June 2002
        286 pages
        ISSN:0163-5999
        DOI:10.1145/511399
        Issue’s Table of Contents

      Copyright © 2002 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 1 June 2002

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      SIGMETRICS '02 Paper Acceptance Rate23of170submissions,14%Overall Acceptance Rate459of2,691submissions,17%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader