COMPETITIVE PAGING-ALGORITHMS

被引:263
作者
FIAT, A
KARP, RM
LUBY, M
MCGEOCH, LA
SLEATOR, DD
YOUNG, NE
机构
[1] TEL AVIV UNIV,DEPT COMP SCI,IL-69978 TEL AVIV,ISRAEL
[2] UNIV CALIF BERKELEY,DEPT ELECT ENGN & COMP SCI,DIV COMP SCI,BERKELEY,CA 94720
[3] UNIV TORONTO,DEPT COMP SCI,TORONTO M6C 3B7,ONTARIO,CANADA
[4] AMHERST COLL,DEPT MATH & COMP SCI,AMHERST,MA 01002
[5] CARNEGIE MELLON UNIV,SCH COMP SCI,PITTSBURGH,PA 15213
[6] PRINCETON UNIV,DEPT COMP SCI,PRINCETON,NJ 08544
基金
加拿大自然科学与工程研究理事会; 美国国家科学基金会;
关键词
D O I
10.1016/0196-6774(91)90041-V
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The paging problem is that of deciding which pages to keep in a memory of k pages in order to minimize the number of page faults. We develop the marking algorithm, a randomized on-line algorithm for the paging problem. We prove that its expected cost on any sequence of requests is within a factor of 2Hk of optimum. (Where Hk is the kth harmonic number, which is roughly ln k.) The best such factor that can be achieved is Hk. This is in contrast to deterministic algorithms, which cannot be guaranteed to be within a factor smaller than k of optimum. An alternative to comparing an on-line algorithm with the optimum off-line algorithm is the idea of comparing it to several other on-line algorithms. We have obtained results along these lines for the paging problem. Given a set of on-line algorithms and a set of appropriate constants, we describe a way of constructing another on-line algorithm whose performance is within the appropriate constant factor of each algorithm in the set. © 1991.
引用
收藏
页码:685 / 699
页数:15
相关论文
共 17 条
[1]  
BERMAN P, 1990, 1ST P ANN ACM SIAM S, P280
[2]  
BORODIN A, 1987, 19TH P ANN ACM S THE, P373
[3]  
BORODIN A, IN PRESS J ACM
[4]   NEW RESULTS ON SERVER PROBLEMS [J].
CHROBAK, M ;
KARLOFF, H ;
PAYNE, T ;
VISHWANATHAN, S .
SIAM JOURNAL ON DISCRETE MATHEMATICS, 1991, 4 (02) :172-181
[5]   AN OPTIMAL ONLINE ALGORITHM FOR K-SERVERS ON TREES [J].
CHROBAK, M ;
LARMORE, LL .
SIAM JOURNAL ON COMPUTING, 1991, 20 (01) :144-148
[6]  
COPPERSMITH D, 1990, 22ND P ANN ACM S THE, P369
[7]  
FIAT A, 1990, 31ST P ANN S F COMP, P454
[8]  
KARLIN A, 1990, 1 ANN ACM SIAM S DIS, P301
[9]   COMPETITIVE SNOOPY CACHING [J].
KARLIN, AR ;
MANASSE, MS ;
RUDOLPH, L ;
SLEATOR, DD .
ALGORITHMICA, 1988, 3 (01) :79-119
[10]  
MANASSE M, 1988, 20TH P ACM STOC, P322