THE K-SERVER DUAL AND LOOSE COMPETITIVENESS FOR PAGING

被引:152
作者
YOUNG, N [1 ]
机构
[1] PRINCETON UNIV,DEPT COMP SCI,PRINCETON,NJ 08544
关键词
ONLINE ALGORITHMS; K-SERVER PROBLEM; LINEAR PROGRAMMING; APPROXIMATION ALGORITHMS; PAGING; CACHING; COMPETITIVE ANALYSIS;
D O I
10.1007/BF01189992
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Weighted caching is a generalization of paging in which the cost to evict an item depends on the item. We study both of these problems as restrictions of the well-known k-server problem, which involves moving servers in a graph in response to requests so as to minimize the distance traveled. We give a deterministic on-line strategy for weighted caching that, on any sequence of requests, given a cache holding k items, incurs a cost within a factor of k/(k - h + 1) of the minimum cost possible given a cache holding h items. The strategy generalizes ''least recently used,'' one of the best paging strategies in practice. The analysis is a primal-dual analysis, the first for an on-line problem, exploiting the linear programming structure of the k-server problem. We introduce loose competitiveness, motivated by Sleator and Tarjan's complaint [ST] that the standard competitive ratios for paging strategies are too high. A k-server strategy is loosely c(k)-competitive if, for any sequence, for almost all k, the cost incurred by the strategy with k servers either is no more than c(k) times the minimum cost or is insignificant. We show that certain paging strategies (including ''least recently used'' and ''first in first out'') that are k-competitive in the standard model are loosely c(k)-competitive provided c(k)/ln k --> infinity and both k/c(k) and c(k) are nondecreasing. We show that the marking algorithm, a randomized paging strategy that is THETA(ln k)-competitive in the standard model, is loosely c(k)-competitive provided k - 2 ln ln k --> infinity and both 2 ln k - c(k) and c(k) are nondecreasing.
引用
收藏
页码:525 / 541
页数:17
相关论文
共 18 条
[11]   COMPETITIVE ALGORITHMS FOR SERVER PROBLEMS [J].
MANASSE, MS ;
MCGEOCH, LA ;
SLEATOR, DD .
JOURNAL OF ALGORITHMS, 1990, 11 (02) :208-230
[12]  
McGeoch L.A., 1987, THESIS CARNEGIE MELL
[13]  
MCGEOCH LA, 1991, ALGORITHMICA, V6, P816, DOI 10.1007/BF01759073
[14]  
Sites R. L., 1988, 15th Annual International Symposium on Computer Architecture. Conference Proceedings (Cat. No.88CH2545-2), P186, DOI 10.1109/ISCA.1988.5228
[15]   AMORTIZED EFFICIENCY OF LIST UPDATE AND PAGING RULES [J].
SLEATOR, DD ;
TARJAN, RE .
COMMUNICATIONS OF THE ACM, 1985, 28 (02) :202-208
[16]  
Steiglitz, 1982, COMBINATORIAL OPTIMI
[17]  
YOUNG N, 1991, CSTR34891 COMP SCI D
[18]  
Young N.E., 1991, 2 ANN ACM SIAM S DIS, P241