Performance Issues in WWW Servers (Extended Abstract)

This paper evaluates performance issues in WWW servers on UNIXstyle platforms. While other work has focused on reducing the use of kernel primitives, we consider ways in which the operating system and the network protocol stack can improve support for highperformance WWW servers. We study techniques in 3 categories: new socket functions, per-byte optimizations, and per-connection optimizations. We examine two proposed socket functions, acceptex()and send file(), comparing send file()’s effectiveness with an mmap()/writev()combination. We show how send file()provides the necessary semantic support to eliminate copies and checksums in the kernel, and quantify the utility of the function’s header and close options. We also present mechanisms to reduce the number of packetsexchangedin an HTTP transaction, both increasing server performance and reducing network utilization, without compromising interoperability. We evaluate these issues with a high-performance WWW server, using IBM AIX workstations connected over 100 mbps Ethernet, driven by the WebStone and SURGE WWW server workload generators. Microbenchmark results using WebStone show that our combination of mechanisms can improve server throughput by up to 53 percent, and can eliminate up to 33 percent of the packets in an HTTP exchange. Macrobenchmark results with SURGE show an aggregate increase in server throughput of 25 percent.

[1]  Douglas C. Schmidt,et al.  Measuring the impact of event dispatching and concurrency models on Web server performance over high-speed networks , 1997, GLOBECOM 97. IEEE Global Telecommunications Conference. Conference Record.

[2]  Paul Barford,et al.  Generating representative Web workloads for network and server performance evaluation , 1998, SIGMETRICS '98/PERFORMANCE '98.

[3]  Qing Yang,et al.  Measurement, analysis and performance improvement of the Apache Web server , 1999, 1999 IEEE International Performance, Computing and Communications Conference (Cat. No.99CH36305).

[4]  Vivek Sadananda Pai IO-LITE: a copy-free UNIX I/O system , 1997 .

[5]  Carey L. Williamson,et al.  Internet Web servers: workload characterization and performance implications , 1997, TNET.