Competitive analysis of randomized paging algorithms

被引:87
作者
Achlioptas, D
Chrobak, M
Noga, J [1 ]
机构
[1] Univ Calif Riverside, Dept Math, Riverside, CA 92521 USA
[2] Univ Toronto, Dept Comp Sci, Toronto, ON M5S 3G4, Canada
[3] Univ Calif Riverside, Dept Comp Sci, Riverside, CA 92521 USA
基金
美国国家科学基金会; 加拿大自然科学与工程研究理事会;
关键词
on-line algorithms; analysis of algorithms; competitive analysis; paging; randomized algorithms;
D O I
10.1016/S0304-3975(98)00116-9
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The paging problem is defined as follows: we are given a two-level memory system, in which one level is a fast memory, called cache, capable of holding k items, and the second level is an unbounded but slow memory. At each given time step, a request to an item is issued. Given a request to an item p, a miss occurs if p is not present in the fast memory. In response to a miss, we need to choose an item q in the cache and replace it by p. The choice of q needs to be made on-line, without the knowledge of future requests. The objective is to design a replacement strategy with a small number of misses. In this paper we use competitive analysis to study the performance of randomized on-line paging algorithms. Our goal is to show how the concept of work functions, used previously mostly for the analysis of deterministic algorithms, can also be applied, in a systematic fashion, to the randomized case. We present two results: we first show that the: competitive ratio of the marking algorithm is exactly 2H(k) - 1. Previously, it was known to be between H-k and 2(Hk). Then we provide a new, H-k-competitive algorithm for paging. Our algorithm, as well as its analysis, is simpler than the known algorithm by McGeoch and Sleator. Another advantage of our algorithm is that it can be implemented with complexity bounds independent of the number of past requests: O(k(2) log k) memory and O(k(2)) time per request. (C) 2000 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:203 / 218
页数:16
相关论文
共 23 条
[1]   COMPETITIVE PAGING WITH LOCALITY OF REFERENCE [J].
BORODIN, A ;
IRANI, S ;
RAGHAVAN, P ;
SCHIEBER, B .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1995, 50 (02) :244-258
[2]  
Borodin Allan, 1991, P TWENTYTHIRD ANN AC, P249
[3]   AN OPTIMAL ONLINE ALGORITHM FOR K-SERVERS ON TREES [J].
CHROBAK, M ;
LARMORE, LL .
SIAM JOURNAL ON COMPUTING, 1991, 20 (01) :144-148
[4]   GENEROSITY HELPS OR AN 11-COMPETITIVE ALGORITHM FOR 3 SERVERS [J].
CHROBAK, M ;
LARMORE, LL .
JOURNAL OF ALGORITHMS, 1994, 16 (02) :234-263
[5]  
CHROBAK M, 1992, PROCEEDINGS OF THE THIRD ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, P196
[6]  
CHROBAK M, 1992, UNPUB METRICAL SERVI
[7]  
CHROBAK M, 1992, IN PRESS J ALGORITHM
[8]   COMPETITIVE PAGING-ALGORITHMS [J].
FIAT, A ;
KARP, RM ;
LUBY, M ;
MCGEOCH, LA ;
SLEATOR, DD ;
YOUNG, NE .
JOURNAL OF ALGORITHMS, 1991, 12 (04) :685-699
[9]  
IRANI S, 1992, 3 ANN ACM SIAM S DIS, P228
[10]  
IRANI S, 1995, P 4 WORKSH ALG DAT S, P159