skip to main content
10.1145/2745844.2745850acmconferencesArticle/Chapter ViewAbstractPublication PagesmetricsConference Proceedingsconference-collections
research-article

Transient and Steady-state Regime of a Family of List-based Cache Replacement Algorithms

Published:15 June 2015Publication History

ABSTRACT

In this paper we study the performance of a family of cache replacement algorithms. The cache is decomposed into lists. Items enter the cache via the first list. An item enters the cache via the first list and jumps to the next list whenever a hit on it occurs. The classical policies FIFO, RANDOM, CLIMB and its hybrids are obtained as special cases. We present explicit expressions for the cache content distribution and miss probability under the IRM model. We develop an algorithm with a time complexity that is polynomial in the cache size and linear in the number of items to compute the exact miss probability. We introduce lower and upper bounds on the latter that can be computed in a time that is linear in the cache size times the number of items.

We further introduce a mean field model to approximate the transient behavior of the miss probability and prove that this model becomes exact as the cache size and number of items tends to infinity. We show that the set of ODEs associated to the mean field model has a unique fixed point that can be used to approximate the miss probability in case the exact computation becomes too time consuming.

Using this approximation, we provide guidelines on how to select a replacement algorithm within the family considered such that a good trade-off is achieved between the cache reactivity and its steady-state hit probability. We simulate these cache replacement algorithms on traces of real data and show that they can outperform LRU. Finally, we also disprove the well-known conjecture that the CLIMB algorithm is the optimal finite-memory replacement algorithm under the IRM model.

References

  1. O. I. Aven, L. B. Boguslavsky, and Y. A. Kogan. Some results on distribution-free analysis of paging algorithms. IEEE Transactions on Computers, 25(7):737--745, July 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. O. I. Aven, E. G. Coffman, Jr., and Y. A. Kogan. Stochastic Analysis of Computer Storage. Kluwer Academic Publishers, Norwell, MA, USA, 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. O. Babaoglu and D. Ferrari. Two-level replacement decisions in paging stores. IEEE Trans. Comput., 32(12):1151--1159, Dec. 1983. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. M. Benaím and J. Le Boudec. A class of mean field interaction models for computer and communication systems. Performance Evaluation, 65(11--12):823--838, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. D. S. Berger, P. Gland, S. Singla, and F. Ciucu. Exact analysis of TTL cache networks. Performance Evaluation, 79:2--23, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. J.-Y. L. Boudec. The stationary behaviour of fluid limits of reversible processes is concentrated on stationary points. arXiv:1009.5021, 2010.Google ScholarGoogle Scholar
  7. L. Breslau, P. Cao, L. Fan, G. Phillips, and S. Shenker. Web caching and Zipf-like distributions: Evidence and implications. In INFOCOM'99, volume 1, pages 126--134. IEEE, 1999.Google ScholarGoogle ScholarCross RefCross Ref
  8. H. Che, Y. Tung, and Z. Wang. Hierarchical web caching systems: modeling, design and experimental results. IEEE J.Sel. A. Commun., 20(7):1305--1314, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. A. Dan and D. Towsley. An approximate analysis of the LRU and FIFO buffer replacement schemes. SIGMETRICS Perform. Eval. Rev., 18(1):143--152, Apr. 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. R. Fagin and T. G. Price. Efficient calculation of expected miss ratios in the independent reference model. SIAM J. Comput., 7:288--296, 1978.Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. N. C. Fofack, P. Nain, G. Neglia, and D. Towsley. Analysis of TTL-based cache networks. In Valuetools 2012, pages 1--10. IEEE, 2012.Google ScholarGoogle Scholar
  12. C. M. Fortuin, P. W. Kasteleyn, and J. Ginibre. Correlation inequalities on some partially ordered sets. Communications in Mathematical Physics, 22(2):89--103, 1971.Google ScholarGoogle ScholarCross RefCross Ref
  13. C. Fricker, P. Robert, and J. Roberts. A versatile and accurate approximation for lru cache performance. In Proceedings of the 24th International Teletraffic Congress, ITC '12, pages 8:1--8, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. M. Gallo, B. Kauffmann, L. Muscariello, A. Simonian, and C. Tanguy. Performance evaluation of the random replacement policy for networks of caches. Performance Evaluation, 72(0):16--36, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. E. Gelenbe. A unified approach to the evaluation of a class of replacement algorithms. IEEE Trans. Comput., 22(6):611--618, June 1973. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. J. H. Hester and D. S. Hirschberg. Self-organizing linear search. ACM Comput. Surv., 17(3):295--311, Sept. 1985. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. R. Hirade and T. Osogami. Analysis of page replacement policies in the fluid limit. Oper. Res., 58:971--984, July 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. P. Jelenkovic. Asymptotic approximation of the move-to-front search cost distribution and least-recently used caching fault probabilities. Ann. Appl. Probab., 9(2):430--464, May 1999.Google ScholarGoogle ScholarCross RefCross Ref
  19. S. Jiang and X. Zhang. LIRS: An efficient low inter-reference recency set replacement policy to improve buffer cache performance. SIGMETRICS Perform. Eval. Rev., 30(1):31--42, June 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. T. Johnson and D. Shasha. 2Q: A low overhead high performance buffer management replacement algorithm. In VLDB '94, pages 439--450, San Francisco, CA, USA, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. J. Jung, A. W. Berger, and H. Balakrishnan. Modeling TTL-based internet caches. In INFOCOM 2003, volume 1, pages 417--426. IEEE, 2003.Google ScholarGoogle ScholarCross RefCross Ref
  22. W. F. King III. Analysis of demand paging algorithms. In IFIP Congress (1), pages 485--490, 1971.Google ScholarGoogle Scholar
  23. N. Laoutaris, H. Che, and I. Stavrakakis. The LCD interconnection of LRU caches and its analysis. Perform. Eval., 63(7):609--634, July 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. A. W. Marshall and I. Olkin. Inequalities: theory of majorization and its applications. Academic Press, New York, 1979.Google ScholarGoogle Scholar
  25. V. Martina, M. Garetto, and E. Leonardi. A unified approach to the performance analysis of caching systems. In INFOCOM 2014, pages 2040--2048, 2014.Google ScholarGoogle ScholarCross RefCross Ref
  26. E. J. Rosensweig, J. Kurose, and D. Towsley. Approximate models for general cache networks. In INFOCOM'10, pages 1100--1108, Piscataway, NJ, USA, 2010. IEEE Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. D. Starobinski and D. Tse. Probabilistic methods for web caching. Perform. Eval., 46(2-3):125--137, Oct. 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. N. Tsukada, R. Hirade, and N. Miyoshi. Fluid limit analysis of FIFO and RR caching for independent reference models. Perform. Eval., 69(9):403--412, Sept. 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. J. van den Berg and A. Gandolfi. LRU is better than FIFO under the independent reference model. Journal of Applied Probability, 29(1):pp. 239--243, 1992.Google ScholarGoogle ScholarCross RefCross Ref
  30. J. van den Berg and D. F. Towsley. Properties of the miss ratio for a 2-level storage model with LRU or FIFO replacement strategy and independent references. IEEE Trans. Computers, 42(4):508--512, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. S. Vanichpun and A. M. Makowski. Comparing strength of locality of reference -- popularity, majorization, and some folk theorems. In INFOCOM, 2004.Google ScholarGoogle ScholarCross RefCross Ref
  32. S. Vanichpun and A. M. Makowski. The output of a cache under the independent reference model: Where did the locality of reference go? SIGMETRICS Perform. Eval. Rev., 32(1):295--306, June 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. R. D. Yates. A framework for uplink power control in cellular radio systems. Selected Areas in Communications, IEEE Journal on, 13(7):1341--1347, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. M. Zink, K. Suh, Y. Gu, and J. Kurose. Characteristics of YouTube network traffic at a campus network - measurements, models, and implications. Comput. Netw., 53(4):501--514, Mar. 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Transient and Steady-state Regime of a Family of List-based Cache Replacement Algorithms

          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 '15: Proceedings of the 2015 ACM SIGMETRICS International Conference on Measurement and Modeling of Computer Systems
            June 2015
            488 pages
            ISBN:9781450334860
            DOI:10.1145/2745844

            Copyright © 2015 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 the author(s) 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: 15 June 2015

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • research-article

            Acceptance Rates

            SIGMETRICS '15 Paper Acceptance Rate32of239submissions,13%Overall Acceptance Rate459of2,691submissions,17%

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader