Size-based scheduling to improve web performance

被引:152
作者
Harchol-Balter, M [1 ]
Schroeder, B [1 ]
Bansal, N [1 ]
Agrawal, M [1 ]
机构
[1] Carnegie Mellon Univ, Dept Comp Sci, Pittsburgh, PA 15213 USA
来源
ACM TRANSACTIONS ON COMPUTER SYSTEMS | 2003年 / 21卷 / 02期
关键词
performance; algorithms; design; experimentation; measurement; conservation law; networking; scheduling; SRPT; SJF; system performance and design; web servers;
D O I
10.1145/762483.762486
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Is it possible to reduce the expected response time of every request at a web server, simply by changing the order in which we schedule the requests? That is the question we ask in this paper. This paper proposes a method for improving the performance of web servers servicing static HTTP requests. The idea is to give preference to requests for small files or requests with short remaining file size, in accordance with the SRPT (Shortest Remaining Processing Time) scheduling policy. The implementation is at the kernel level and involves controlling the order in which socket buffers are drained into the network. Experiments are executed both in a LAN and a WAN environment. We use the Linux operating system and the Apache and Flash web servers. Results indicate that SRPT-based scheduling of connections yields significant reductions in delay at the web server. These result in a substantial reduction in mean response time and mean slowdown for both the LAN and WAN environments. Significantly, and counter to intuition, the requests for large files are only negligibly penalized or not at all penalized as a result of SRPT-based scheduling.
引用
收藏
页码:207 / 233
页数:27
相关论文
共 39 条
[1]  
ALMEIDA J, 1998, P 1 WORKSH INT SERV
[2]  
ALMESBERGER W, 1999, DIFFERENTIATED SERVI
[3]  
Almesberger Werner, 1999, LINUX NETWORK TRAFFI
[4]  
[Anonymous], 2001, WEB PROTOCOLS PRACTI
[5]  
ARLITT M, 1999, ACM SIGMETRICS PERFO, V27, P25
[6]   Measuring the capacity of a Web server under realistic loads [J].
Banga G. ;
Druschel P. .
World Wide Web, 1999, 2 (1-2) :69-83
[7]  
BANGA G, 1998, ACM SIGMETRICS PERFO, V26, P23
[8]  
BANGA G, 1999, WORLD WIDE WEB, V2, P1
[9]  
Bansal N., 2001, ACM SIGMETRICS PERFO, V29, P279
[10]  
Barford P., 1998, Performance Evaluation Review, V26, P151, DOI 10.1145/277858.277897