Paging and list update under bijective analysis

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 which 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 Martinez and Roura [TCS 2000] and Munro [ESA 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 paper we study these two fundamental online problems under the framework of bijective analysis [Angelopoulos, Dorrigiv and Lopez-Ortiz, SODA 2007 and LATIN 2008]. This is an intuitive technique which 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, Favrholdt and Giel [JCSS 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 algorithms.

[1]  Marek Chrobak,et al.  SIGACT news online algorithms column 8 , 2005, SIGA.

[2]  Anna R. Karlin,et al.  Markov Paging , 2000, SIAM J. Comput..

[3]  Neal E. Young,et al.  Bounding the diffuse adversary , 1998, SODA '98.

[4]  Frank Schulz Two New Families of List Update Algorithms , 1998, ISAAC.

[5]  Daniel S. Hirschberg,et al.  Self-organizing linear search , 1985, CSUR.

[6]  Marek Chrobak,et al.  LRU Is Better than FIFO , 1999, SODA '98.

[7]  Tjark Vredeveld,et al.  Probabilistic Analysis of Online Bin Coloring Algorithms Via Stochastic Comparison , 2008, ESA.

[8]  Eric Torng A Unified Analysis of Paging and Caching , 1998, Algorithmica.

[9]  Ran El-Yaniv,et al.  Online list accessing algorithms and their applications: recent empirical evidence , 1997, SODA '97.

[10]  Haim Kaplan,et al.  A simpler analysis of Burrows-Wheeler-based compression , 2007, Theor. Comput. Sci..

[11]  Allan Borodin,et al.  Competitive paging with locality of reference , 1991, STOC '91.

[12]  Allan Borodin,et al.  A new measure for the study of on-line algorithms , 2005, Algorithmica.

[13]  Abraham Silberschatz,et al.  Operating System Concepts , 1983 .

[14]  Susanne Albers,et al.  Average Case Analyses of List Update Algorithms, with Applications to Data Compression , 1996, Algorithmica.

[15]  Alejandro López-Ortiz,et al.  List Update with Locality of Reference , 2008, LATIN.

[16]  D. J. Wheeler,et al.  A Block-sorting Lossless Data Compression Algorithm , 1994 .

[17]  Luca Becchetti,et al.  Modeling Locality: A Probabilistic Analysis of LRU and FWF , 2004, ESA.

[18]  Anna R. Karlin,et al.  Competitive snoopy caching , 1986, 27th Annual Symposium on Foundations of Computer Science (sfcs 1986).

[19]  Joan Boyar,et al.  Theoretical Evidence for the Superiority of LRU-2 over LRU for the Paging Problem , 2006, WAOA.

[20]  Joan Boyar,et al.  The relative worst order ratio applied to paging , 2005, SODA '05.

[21]  Alejandro López-Ortiz,et al.  On the Separation and Equivalence of Paging Strategies and Other Online Algorithms , 2018, Algorithmica.

[22]  Neal E. Young,et al.  Thek-server dual and loose competitiveness for paging , 1994, Algorithmica.

[23]  Neal E. Young,et al.  On-Line File Caching , 2002, SODA '98.

[24]  Robert E. Tarjan,et al.  Amortized efficiency of list update and paging rules , 1985, CACM.

[25]  Neal E. Young,et al.  On-Line Paging Against Adversarially Biased Random Inputs , 2000, J. Algorithms.

[26]  Peter J. Denning,et al.  The working set model for program behavior , 1968, CACM.

[27]  Christos H. Papadimitriou,et al.  Beyond competitive analysis [on-line algorithms] , 1994, Proceedings 35th Annual Symposium on Foundations of Computer Science.

[28]  Alexander Souza,et al.  On adequate performance measures for paging , 2006, STOC '06.

[29]  Joan Boyar,et al.  The Accommodating Function: A Generalization of the Competitive Ratio , 2001, SIAM J. Comput..

[30]  Susanne Albers,et al.  On paging with locality of reference , 2002, STOC '02.

[31]  Allan Borodin,et al.  Online computation and competitive analysis , 1998 .

[32]  C. Kenyon Best-fit bin-packing with random order , 1996, SODA '96.

[33]  J. Ian Munro,et al.  On the Competitiveness of Linear Search , 2000, ESA.