Evaluating the performance of user-space and kernel-space web servers

  • Authors:
  • Amol Shukla;Lily Li;Anand Subramanian;Paul A. S. Ward;Tim Brecht

  • Affiliations:
  • School of Computer Science, University of Waterloo;Department of Electrical and Computer Engineering, University of Waterloo;School of Computer Science, University of Waterloo;Department of Electrical and Computer Engineering, University of Waterloo;School of Computer Science, University of Waterloo

  • Venue:
  • CASCON '04 Proceedings of the 2004 conference of the Centre for Advanced Studies on Collaborative research
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

There has been much debate over the past few years about the practice of moving traditional user-space applications, such as web servers, into the kernel for better performance. Recently, the user-space userver web server has shown promising performance for delivering static content. In this paper we first describe how we augmented the userver to enable it to serve dynamic content. We then evaluate the performance of the userver and the kernel-space TUX web server, using the SPECweb99 workload generator under a variety of static and dynamic workloads. We demonstrate that the gap in the performance of the two servers becomes less significant as the proportion of dynamic-content requests increases. In fact, for workloads with a majority of dynamic requests, the µserver outperforms TUX. We conclude that a well-designed user-space web server can compete with an in-kernel server on performance, while retaining the reliability and security benefits that come from operating in user space. The results presented in this paper will help system developers and administrators in choosing between the in-kernel and the user-space approach for web servers.