Bypass Container Overlay Networks with Transparent BPF-driven Socket Replacement
Authors:
- 1 July 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 134-143
Abstract
Containerization on the cloud offers several crucial benefits. However, these benefits are negated by the effects of virtual network stack and address encapsulation, especially for workloads that require intense communication. Socket replacement is a promising approach to breach this wall without changing the underlay infrastructure by replacing a nested network stack with a simple host network stack. Current state-of-the-art approaches perform this replacement by preloading the overridden socket library in a containerized process. However, the preloading approach requires user effort to modify the deploying manifests and a compromised security policy configuration of privileged containers to access the host namespace. This paper introduces a new replacement framework where a secured control plane agent performs the replacement by utilizing low-overhead BPF kernel tracing technology. As a result, containers can obtain host-native network performance and neither modification nor escalated privileges are required for user containers. Experiments on multiple benchmarks including iPerf, MPI, memslap, and GROMACS have been conducted to confirm efficacy.Keywords
This publication has 11 references indexed in Scilit:
- Fast Packet Processing with eBPF and XDPACM Computing Surveys, 2020
- Nested Virtualization Without the Nest2019
- Grafting sockets for fast container networking2018
- An Analysis and Empirical Study of Container Networks2018
- Performance of Container Networking Technologies2017
- Containerization and the PaaS CloudIEEE Cloud Computing, 2015
- Virtual eXtensible Local Area Network (VXLAN): A Framework for Overlaying Virtualized Layer 2 Networks over Layer 3 Networks2014
- High performance network virtualization with SR-IOVJournal of Parallel and Distributed Computing, 2012
- GROMACS: Fast, flexible, and freeJournal of Computational Chemistry, 2005
- IP in IP Tunneling1995