Adaptive disk spindown via optimal rent-to-buy in probabilistic environments

被引:23
作者
Krishnan, P
Long, PM
Vitter, JS
机构
[1] AT&T Bell Labs, Holmdel, NJ 07733 USA
[2] Natl Univ Singapore, ISCS Dept, Singapore 119260, Singapore
[3] Duke Univ, Dept Comp Sci, Durham, NC 27708 USA
关键词
mobile computing; on-line algorithms; machine learning; power conservation; disk spindown; rent-to-buy; multiprocessor spin/block; IP-over-ATM; virtual circuit holding time;
D O I
10.1007/PL00009249
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In the single rent-to-buy decision problem, without a priori knowledge of the amount of time a resource will be used we need to decide when to buy the resource, given that we can rent the resource for $1 per unit time or buy it once and for all for $c. In this paper we study algorithms that make a sequence of single rent-to-buy decisions, using the assumption that the resource use times are independently drawn from an unknown probability distribution. Our study of this rent-to-buy problem is motivated by important systems applications, specifically, problems arising from deciding when to spindown disks to conserve energy in mobile computers [4], [13], [15], thread blocking decisions during lock acquisition in multiprocessor applications [7], and virtual circuit holding times in IP-over-ATM networks [11], [19]. We develop a provably optimal and computationally efficient algorithm for the rent-to-buy problem. Our algorithm uses O (root t) time and space, and its expected cost for the tth resource use converges to optimal as O (root logt/t), for any bounded probability distribution on the resource use times. Alternatively, using O(1) time and space, the algorithm almost converges to optimal. We describe the experimental results for the application of our algorithm to one of the motivating systems problems: the question of when to spindown a disk to save power in a mobile computer. Simulations using disk access traces obtained from an HP workstation environment suggest that our algorithm yields significantly improved power/response time performance over the nonadaptive 2-competitive algorithm which is optimal in the worst-case competitive analysis model.
引用
收藏
页码:31 / 56
页数:26
相关论文
共 23 条
[1]  
BLUMER A, 1989, J ACM OCT
[2]  
Devroye L., 1996, A probabilistic theory of pattern recognition
[3]  
DOUGLIS F, 1995, COMPUTING SYSTEMS, V8
[4]  
DOUGLIS F, 1995, ADAPTIVE DISK SPINDO, V8
[5]  
DOUGLIS F, 1994, P 1994 WINT USENIX C
[6]  
GREENWALL P, 1994, P S MOD SIM COMP TEL
[7]  
HELMBOLD DP, P MOBICOM 96
[8]  
*HEWL PACK, 1993, 59614343 HP
[9]  
Karlin A., 1990, P 1 ACM SIAM S DISCR
[10]  
KARLIN AR, 1992, P 33 ANN IEEE C FDN