|
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 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 Martínez 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 López-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.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
S. Albers and M. Mitzenmacher. Average case analyses of list update algorithms, with applications to data compression. Algorithmica, 21(3):312--329, 1998.
|
| |
3
|
|
| |
4
|
S. Angelopoulos, R. Dorrigiv, and A. López-Ortiz. List update with locality of reference. In Proceedings of the 8th Latin American Theoretical Informatics Symposium, pages 399--410, 2008.
|
| |
5
|
L. Becchetti. Modeling locality: A probabilistic analysis of LRU and FWF. In Proceedings of the 12th European Symposium on Algorithms (ESA), pages 98--109, 2004.
|
| |
6
|
S. Ben-David and A. Borodin. A new measure for the study of on-line algorithms. Algorithmica, 11(1):73--91, 1994.
|
| |
7
|
|
| |
8
|
|
| |
9
|
J. Boyar, M. R. Ehmsen, and K. S. Larsen. 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), pages 95--107, 2006.
|
| |
10
|
|
| |
11
|
J. Boyar, S. Irani, and K. S. Larsen. A comparison of performance measures for online algorithms, 2008. Available from arXiv.org, number 0806.0983v1.
|
| |
12
|
|
| |
13
|
M. Burrows and D. J. Wheeler. A block-sorting lossless data compression algorithm. Technical Report 124, DEC SRC, 1994.
|
| |
14
|
M. Chrobak and J. Noga. LRU is better than FIFO. Algorithmica, 23(2):180--185, 1999.
|
 |
15
|
|
| |
16
|
R. Dorrigiv and A. López-Ortiz. 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, September 2005.
|
| |
17
|
A. Fiat and G. J. Woeginger. Online Algorithms---The State of the Art, volume 1442 of LNCS. Springer-Verlag, 1998.
|
 |
18
|
|
| |
19
|
|
| |
20
|
H. Kaplan, S. Landau, and E. Verbin. A simpler analysis of burrows-wheeler based compression. In Proceedings of the 17th Annual Symposium on Combinatorial Pattern Matching, pages 282--293, 2006.
|
| |
21
|
A. R. Karlin, M. S. Manasse, L. Rudolph, and D. D. Sleator. Competitive snoopy caching. Algorithmica, 3:77--119, 1988.
|
| |
22
|
|
| |
23
|
|
| |
24
|
|
| |
25
|
|
| |
26
|
|
 |
27
|
|
| |
28
|
|
| |
29
|
|
 |
30
|
|
| |
31
|
E. Torng. A unified analysis of paging and caching. Algorithmica, 20(2):175--200, 1998.
|
| |
32
|
I. H. Witten and T. Bell. The Calgary/Canterbury text compression corpus. Anonymous ftp from ftp://ftp.cpsc.ucalgary.ca/pub/projects/.
|
| |
33
|
N. E. Young. The k-server dual and loose competitiveness for paging. Algorithmica, 11(6):525--541, 1994.
|
| |
34
|
|
| |
35
|
|
| |
36
|
N. E. Young. On-line file caching. Algorithmica, 33(3):371--383, 2002.
|
|