Introduction
In-network computing has evolved beyond simple packet forwarding, with programmable switching ASICs like the Barefoot Tofino enabling applications to run directly on the data plane. However, these ASICs are designed for line-rate speed, resulting in extremely limited memory and rigid compute models. Modern applications—such as multi-dimensional network monitoring, intrusion detection, and processing encrypted traffic—require resources that standard switches cannot provide.
While external accelerators like FPGAs, SmartNICs, and Processing-in-Memory (PIM) devices exist, a significant "ecosystem-level disconnect" hinders their adoption. Developers must rewrite code for each new device, hardware vendors lack standard interfaces, and network operators lack principled methods for hardware selection. This paper proposes a strategic roadmap to create a "future-proof" ecosystem that bridges these gaps.
A Co-Designed Ecosystem Framework
The authors propose a framework involving three key stakeholders: hardware designers, application developers, and network operators.
Hardware Designers: Integration Tiers
The design space for integrating external data planes is categorized into three tiers:
- On-chip: High performance via 3D stacking, but low extensibility.
- Off-chip, On-chassis: Balanced performance and flexibility using PCIe or custom interconnects.
- Off-chassis: Maximum extensibility via Ethernet, allowing for modular hardware updates.
Application Developers: Unified Programming Workflow
To decouple logic from specific hardware, the authors propose a platform-agnostic programming workflow. Developers write high-level programs using a library of domain-expert functions.
As illustrated above, a source-to-source compiler automatically splits the logic, directing control flow to the switch and heavy-duty processing to the accelerator (using HLS or C++).
Network Operators: Principled Provisioning
The authors introduce a "What-if" analysis model based on Integer Linear Programming (ILP) to help operators find the mathematically optimal hardware configuration for their needs.
By inputting traffic volume and cost budgets, operators can determine the best mix of hardware to meet their specific performance and extensibility goals.
Key Insights and Results
A central insight is the "Synchronous Trap": while switches are built for synchronous processing, many advanced applications can be performed asynchronously. This allows memory-rich accelerators to assist the switch effectively.
Performance Evaluation
The framework was tested using multi-dimensional sketching on CAIDA packet traces (1.43 Mpps). Key findings include:
- Switch Bottlenecks: The Tofino ASIC could only support 3 sketch instances, while the target application required 10.
- Bandwidth Efficiency: The required memory bandwidth (342.2 MB/s) is easily handled by PIM or FPGAs, whereas standard switches struggle with the necessary random memory access patterns.
- Optimization: The ILP-based model successfully demonstrated trade-offs between capital cost and performance when selecting between FPGA and PIM-enabled data planes.
Future Directions
Future research must address the increased fragility of distributed data planes through improved fault tolerance. Additionally, moving from static resource allocation to dynamic runtime management and maturing hardware-agnostic languages remain critical challenges for the community.
Summary updated