PipeDevice: A Hardware-Software Co-Design Approach to Intra-Host Container Communication

5Citations
Citations of this article
10Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Containers are prevalently adopted due to the deployment and performance advantages over virtual machines. For many containerized data-intensive applications, however, bulky data transfers may pose performance issues. In particular, communication across co-located containers on the same host incurs large overheads in memory copy and the kernel's TCP stack. Existing solutions such as shared-memory networking and RDMA have their own limitations, including insufficient memory isolation and limited scalability. This paper presents PipeDevice, a new system for low overhead intra-host container communication. PipeDevice follows a hardware-software co-design approach - - it offloads data forwarding entirely onto hardware, which accesses application data in hugepages on the host, thereby eliminating CPU overhead from memory copy and TCP processing. PipeDevice preserves memory isolation and scales well to connections, making it deployable in public clouds. Isolation is achieved by allocating dedicated memory to each connection from hugepages. To achieve high scalability, PipeDevice stores the connection states entirely in host DRAM and manages them in software. Evaluation with a prototype implementation on commodity FPGA shows that for delivering 80 Gbps across containers PipeDevice saves 63.2% CPU compared to kernel TCP stack, and 40.5% over FreeFlow. PipeDevice provides salient benefits to applications. For example, we port baidu-allreduce to PipeDevice and obtain ∼2.2× gains in allreduce throughput.

Cite

CITATION STYLE

APA

Su, Q., Wang, C., Niu, Z., Shu, R., Cheng, P., Xiong, Y., … Xu, H. (2022). PipeDevice: A Hardware-Software Co-Design Approach to Intra-Host Container Communication. In CoNEXT 2022 - Proceedings of the 18th International Conference on emerging Networking EXperiments and Technologies (pp. 126–139). Association for Computing Machinery, Inc. https://doi.org/10.1145/3555050.3569118

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free