P4COM: In-Network Computation with Programmable Switches

07/29/2021
by   Ge Chen, et al.
0

Traditionally, switches only provide forwarding services and have no credits on computation in distributed computing frameworks. The emerging programmable switches make in-network computing (INC) possible, i.e., offloading some computation to the switch data plane. While some proposals have attempted to offload computation onto special hardwares (e.g., NetFPGA), many practical issues have not been addressed. Therefore, we propose P4COM - a user-friendly, memory-efficient, and fault-tolerant framework realizing in-network computation (e.g., MapReduce) with programmable switches. P4COM consists of three modules. First, P4COM automatically translates application logic to switch data plane programs with a lightweight interpreter. Second, P4COM adopts a memory management policy to efficiently utilize the limited switch on-chip memory. Third, P4COM provides a cutting-payload mechanism to handle packet losses. We have built a P4COM prototype with a Barefoot Tofino switch and multiple commodity servers. Through a combination of testbed experiments and large-scale simulations, we show that P4COM is able to achieve line-rate processing at 10Gbps links, and can increase the data shuffling throughput by 2-5 times for the MapReduce-style applications.

READ FULL TEXT
research
03/05/2018

Programmable Switch as a Parallel Computing Device

Modern switches have packet processing capacity of up to multi-tera bits...
research
05/29/2020

Programmable In-Network Obfuscation of Traffic

Recent advances in programmable switch hardware offer a fresh opportunit...
research
07/01/2021

MIND: In-Network Memory Management for Disaggregated Data Centers

Memory-compute disaggregation promises transparent elasticity, high util...
research
07/24/2018

One for All, All for One: A Heterogeneous Data Plane for Flexible P4 Processing

The P4 community has recently put significant effort to increase the div...
research
01/17/2022

Efficient Data-Plane Memory Scheduling for In-Network Aggregation

As the scale of distributed training grows, communication becomes a bott...
research
04/06/2022

P4RROT: Generating P4 Code for the Application Layer

Throughput and latency critical applications could often benefit of perf...
research
07/05/2021

Lucid: A Language for Control in the Data Plane

Programmable switch hardware makes it possible to move fine-grained cont...

Please sign up or login with your details

Forgot password? Click here to reset