Marinos, I;
Watson, RNM;
Handley, M;
(2013)
Network stack specialization for performance.
In: Levine, D and Katti, S and Oran, D, (eds.)
HotNets-XII: Proceedings of the Twelfth ACM Workshop on Hot Topics in Networks.
Association for Computer Machinery (ACM): New York, USA.
Preview |
Text
Marinos_Network_stack_specialization_performance_Hotnets.pdf Download (749kB) | Preview |
Abstract
Contemporary network stacks are masterpieces of generality, supporting a range of edge-node and middle-node functions. This generality comes at significant performance cost: current APIs, memory models, and implementations drastically limit the effectiveness of increasingly powerful hardware. Generality has historically been required to allow individual systems to perform many functions. However, as providers have scaled up services to support hundreds of millions of users, they have transitioned toward many thousands (or even millions) of dedicated servers performing narrow ranges of functions. We argue that the overhead of generality is now a key obstacle to effective scaling, making specialization not only viable, but necessary. This paper presents Sandstorm, a clean-slate userspace network stack that exploits knowledge of web server semantics, improving throughput over current off-the-shelf designs while retaining use of conventional operating-system and programming frameworks. Based on Netmap, our novel approach merges application and network-stack memory models, aggressively amortizes stack-internal TCP costs based on application-layer knowledge, tightly couples with the NIC event model, and exploits low-latency hardware access. We compare our approach to the FreeBSD and Linux network stacks with nginx as the web server, demonstrating ∼3.5x throughput improvement, while experiencing low CPU utilization, linear scaling on multicore systems, and saturating current NIC hardware.
Type: | Proceedings paper |
---|---|
Title: | Network stack specialization for performance |
Event: | HotNets-XII: Twelfth ACM Workshop on Hot Topics in Networks, 21-22 November, 2013, College Park, Maryland, USA |
ISBN-13: | 9781450325967 |
Open access status: | An open access version is available from UCL Discovery |
DOI: | 10.1145/2535771.2535779 |
Publisher version: | https://doi.org/10.1145/2535771.2535779 |
Language: | English |
Additional information: | This version is the author accepted manuscript. For information on re-use, please refer to the publisher’s terms and conditions. |
Keywords: | Network stacks, network performance |
UCL classification: | UCL UCL > Provost and Vice Provost Offices > UCL BEAMS UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science |
URI: | https://discovery-pp.ucl.ac.uk/id/eprint/1521494 |
Archive Staff Only
View Item |