Parallelizing packet processing in container overlay networks

Jiaxin Lei, Manish Munikar, Kun Suo, Hui Lu, Jia Rao

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

18 Scopus citations

Abstract

Container networking, which provides connectivity among containers on multiple hosts, is crucial to building and scaling container-based microservices. While overlay networks are widely adopted in production systems, they cause significant performance degradation in both throughput and latency compared to physical networks. This paper seeks to understand the bottlenecks of in-kernel networking when running container overlay networks. Through profiling and code analysis, we find that a prolonged data path, due to packet transformation in overlay networks, is the culprit of performance loss. Furthermore, existing scaling techniques in the Linux network stack are ineffective for parallelizing the prolonged data path of a single network flow. We propose Falcon, a fast and balanced container networking approach to scale the packet processing pipeline in overlay networks. Falcon pipelines software interrupts associated with different network devices of a single flow on multiple cores, thereby preventing execution serialization of excessive software interrupts from overloading a single core. Falcon further supports multiple network flows by effectively multiplexing and balancing software interrupts of different flows among available cores. We have developed a prototype of Falcon in Linux. Our evaluation with both micro-benchmarks and real-world applications demonstrates the effectiveness of Falcon, with significantly improved performance (by 300% for web serving) and reduced tail latency (by 53% for data caching).

Original languageEnglish
Title of host publicationEuroSys 2021 - Proceedings of the 16th European Conference on Computer Systems
PublisherAssociation for Computing Machinery, Inc
Pages261-276
Number of pages16
ISBN (Electronic)9781450383349
DOIs
StatePublished - 21 Apr 2021
Event16th European Conference on Computer Systems, EuroSys 2021 - Virtual, Online, United Kingdom
Duration: 26 Apr 202128 Apr 2021

Publication series

NameEuroSys 2021 - Proceedings of the 16th European Conference on Computer Systems

Conference

Conference16th European Conference on Computer Systems, EuroSys 2021
Country/TerritoryUnited Kingdom
CityVirtual, Online
Period26/04/2128/04/21

Fingerprint

Dive into the research topics of 'Parallelizing packet processing in container overlay networks'. Together they form a unique fingerprint.

Cite this