skip to main content
research-article

Paging and list update under bijective analysis

Published: 03 May 2013 Publication History

Abstract

It has long been known that for the paging problem in its standard form, competitive analysis cannot adequately distinguish algorithms based on their performance: there exists a vast class of algorithms that achieve the same competitive ratio, ranging from extremely naive and inefficient strategies (such as Flush-When-Full), to strategies of excellent performance in practice (such as Least-Recently-Used and some of its variants). A similar situation arises in the list update problem: in particular, under the cost formulation studied by Martínez and Roura [2000] and Munro [2000] every list update algorithm has, asymptotically, the same competitive ratio. Several refinements of competitive analysis, as well as alternative performance measures have been introduced in the literature, with varying degrees of success in narrowing this disconnect between theoretical analysis and empirical evaluation.
In this article, we study these two fundamental online problems under the framework of bijective analysis [Angelopoulos et al. 2007, 2008]. This is an intuitive technique that is based on pairwise comparison of the costs incurred by two algorithms on sets of request sequences of the same size. Coupled with a well-established model of locality of reference due to Albers et al. [2005], we show that Least-Recently-Used and Move-to-Front are the unique optimal algorithms for paging and list update, respectively. Prior to this work, only measures based on average-cost analysis have separated LRU and MTF from all other algorithms. Given that bijective analysis is a fairly stringent measure (and also subsumes average-cost analysis), we prove that in a strong sense LRU and MTF stand out as the best (deterministic) algorithms.

References

[1]
Albers, S., Favrholdt, L. M., and Giel, O. 2005. On paging with locality of reference. J. Comput. Syst. Sci. 70, 2, 145--175.
[2]
Albers, S. and Lauer, S. 2008. On list update with locality of reference. In Proceedings of the 35th International Colloquium on Automata, Languages and Programming (ICALP). 96--107.
[3]
Albers, S. and Mitzenmacher, M. 1998. Average case analyses of list update algorithms, with applications to data compression. Algorithmica 21, 3, 312--329.
[4]
Angelopoulos, S., Dorrigiv, R., and López-Ortiz, A. 2007. On the separation and equivalence of paging strategies. In Proceedings of the 18th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA). 229--237.
[5]
Angelopoulos, S., Dorrigiv, R., and López-Ortiz, A. 2008. List update with locality of reference. In Proceedings of the 8th Latin American Theoretical Informatics Symposium (LATIN). 399--410.
[6]
Angelopoulos, S. and Schweitzer, P. 2009. Paging and list update under bijective analysis. In Proceedings of the 20th ACM-SIAM Symposium on Discrete Algorithms (SODA). 1137--1145.
[7]
Bachrach, R. and El-Yaniv, R. 1997. Online list accessing algorithms and their applications: Recent empirical evidence. In Proceedings of the 8th Annual ACM-SIAM Symposium on Discrete Mathematics (SODA). 53--62.
[8]
Bachrach, R., El-Yaniv, R., and Reinstädler, M. 2002. On the competitive theory and practice of online list accessing algorithms. Algorithmica 32, 2, 201--245.
[9]
Becchetti, L. 2004. Modeling locality: A probabilistic analysis of LRU and FWF. In Proceedings of the 12th Annual European Symposium on Algorithms (ESA). 98--109.
[10]
Ben-David, S. and Borodin, A. 1994. A new measure for the study of on-line algorithms. Algorithmica 11, 1, 73--91.
[11]
Bentley, J. L. and McGeoch, C. C. 1985. Amortized analyses of self-organizing sequential search heuristics. Comm. ACM 28, 4, 404--411.
[12]
Borodin, A. and El-Yaniv, R. 1998. Online Computation and Competitive Analysis. Cambridge University Press.
[13]
Borodin, A., Irani, S., Raghavan, P., and Schieber, B. 1995. Competitive paging with locality of reference. J. Comput. Syst. Sci. 50, 2, 244--258.
[14]
Boyar, J., Ehmsen, M. R., and Larsen, K. S. 2006. Theoretical evidence for the superiority of LRU-2 over LRU for the paging problem. In Proceedings of the 4th International Workshop on Approximation and Online Algorithms (WAOA). 95--107.
[15]
Boyar, J., Favrholdt, L. M., and Larsen, K. S. 2007. The relative worst-order ratio applied to paging. J. Comput. Syst. Sci. 73, 5, 818--843.
[16]
Boyar, J., Irani, S., and Larsen, K. S. 2008. A comparison of performance measures for online algorithms. arXiv.org, number 0806.0983v1.
[17]
Boyar, J., Larsen, K. S., and Nielsen, M. N. 2001. The accommodating function: A generalization of the competitive ratio. SIAM J. Comput 31, 1, 233--258.
[18]
Burrows, M. and Wheeler, D. J. 1994. A block-sorting lossless data compression algorithm. Tech. rep. 124, DEC SRC.
[19]
Chrobak, M. and Noga, J. 1999. LRU is better than FIFO. Algorithmica 23, 2, 180--185.
[20]
Denning, P. J. 1968. The working set model for program behaviour. Comm. ACM 11, 5, 323--333.
[21]
Dorrigiv, R. and López-Ortiz, A. 2005. A survey of performance measures for on-line algorithms. SIGACTN: SIGACT News (ACM Special Interest Group on Automata and Computability Theory) 36, 3, 67--81.
[22]
Fiat, A. and Woeginger, G. J. 1998. Online Algorithms—The State of the Art. Lecture Notes in Computer Science, vol. 1442, Springer-Verlag.
[23]
Hester, J. H. and Hirschberg, D. S. 1985. Self-organizing linear search. ACM Comput. Surv. 17, 3, 295--311.
[24]
Hiller, B. and Vredeveld, T. 2008. Probabilistic analysis of online bin coloring algorithms via stochastic comparison. In Proceedings of the 16th Annual European Symposium on Algorithms (ESA). 528--539.
[25]
Kaplan, H., Landau, S., and Verbin, E. 2006. A simpler analysis of burrows-wheeler based compression. In Proceedings of the 17th Annual Symposium on Combinatorial Pattern Matching (CPM). 282--293.
[26]
Karlin, A. R., Manasse, M. S., Rudolph, L., and Sleator, D. D. 1988. Competitive snoopy caching. Algorithmica 3, 77--119.
[27]
Karlin, A. R., Phillips, S. J., and Raghavan, P. 2000. Markov paging. SIAM J. Comput. 30, 3, 906--922.
[28]
Kenyon, C. 1996. Best-fit bin-packing with random order. In Proceedings of the 7th ACM-SIAM Symposium on Discrete Algorithms (SODA). 359--364.
[29]
Koutsoupias, E. and Papadimitriou, C. 2000. Beyond competitive analysis. SIAM J. Comput. 30, 300--317.
[30]
Martínez, C. and Roura, R. 2000. The competitiveness of the move-to-front rule. Theoret. Comput. Sci. 1--2, 242, 313--325.
[31]
Munro, J. I. 2000. On the competitiveness of linear search. In Proceedings of the 8th Annual European Symposium on Algorithms (ESA). 338--325.
[32]
Panagiotou, K. and Souza, A. 2006. On adequate performance measures for paging. In Proceedings of the 38th Annual ACM Symposium on Theory of Computing. 487--496.
[33]
Rivest, R. L. 1976. On self-organizing sequential search heuristics. Comm. ACM 19, 2, 63--67.
[34]
Schulz, F. 1998. Two new families of list update algorithms. In Proceedings of the 9th International Symposium on Algorithms and Computation (ISAAC). 99--108.
[35]
Silberschatz, A., Galvin, P. B., and Gagne, G. 2001. Operating System Concepts. Wiley & New York.
[36]
Sleator, D. D. and Tarjan, R. E. 1985. Amortized efficiency of list update and paging rules. Comm. ACM 28, 202--208.
[37]
Torng, E. 1998. A unified analysis of paging and caching. Algorithmica 20, 2, 175--200.
[38]
Witten, I. H. and Bell, T. The Calgary/Canterbury text compression corpus. ftp://ftp.cpsc.ucalgary.ca/pub/projects/.
[39]
Young, N. E. 1994. The k-server dual and loose competitiveness for paging. Algorithmica 11, 6, 525--541.
[40]
Young, N. E. 1998. Bounding the diffuse adversary. In Proceedings of the 9th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA). 420--425.
[41]
Young, N. E. 2000. On-line paging against adversarially biased random inputs. J. Algor. 37, 1, 218--235.
[42]
Young, N. E. 2002. On-line file caching. Algorithmica 33, 3, 371--383.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Journal of the ACM
Journal of the ACM  Volume 60, Issue 2
April 2013
237 pages
ISSN:0004-5411
EISSN:1557-735X
DOI:10.1145/2450142
Issue’s Table of Contents
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: 03 May 2013
Accepted: 01 January 2013
Revised: 01 November 2010
Received: 01 January 2009
Published in JACM Volume 60, Issue 2

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Research-article
  • Research
  • Refereed

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)25
  • Downloads (Last 6 weeks)1
Reflects downloads up to 03 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2023)Best-of-Both-Worlds Analysis of Online SearchAlgorithmica10.1007/s00453-023-01165-585:12(3766-3792)Online publication date: 1-Dec-2023
  • (2021)Analysis of threat based algorithm using different performance measuresRAIRO - Operations Research10.1051/ro/202009255(S2393-S2401)Online publication date: 2-Mar-2021
  • (2020)Exact distributional analysis of online algorithms with lookahead4OR10.1007/s10288-020-00442-1Online publication date: 21-May-2020
  • (2019)Stochastic Dominance and the Bijective Ratio of Online AlgorithmsAlgorithmica10.1007/s00453-019-00638-wOnline publication date: 29-Oct-2019
  • (2019)On the Separation and Equivalence of Paging Strategies and Other Online AlgorithmsAlgorithmica10.1007/s00453-018-0461-281:3(1152-1179)Online publication date: 1-Mar-2019
  • (2019)Lossless Image Compression Using List Update AlgorithmsString Processing and Information Retrieval10.1007/978-3-030-32686-9_2(16-34)Online publication date: 7-Oct-2019
  • (2018)Quantifying Competitiveness in Paging with Locality of ReferenceAlgorithmica10.5555/3288645.328867480:12(3563-3596)Online publication date: 1-Dec-2018
  • (2018)Quantifying Competitiveness in Paging with Locality of ReferenceAlgorithmica10.1007/s00453-018-0406-980:12(3563-3596)Online publication date: 23-Jan-2018
  • (2015)Quantifying Competitiveness in Paging with Locality of ReferenceAutomata, Languages, and Programming10.1007/978-3-662-47672-7_3(26-38)Online publication date: 20-Jun-2015

View Options

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media