Disaggregating and Consolidating Network Functionalities with SuperNIC

Yizhou Shan, Will Lin, Ryan Kosta, Arvind Krishnamurthy, Yiying ZhangarXiv 2021

Abstract

As data center network speeds climb toward 400 Gbps, offloading network functions (NTs) to SmartNICs has become essential to overcome CPU bottlenecks. However, current SmartNICs fail to simultaneously provide high performance, programmability, and multi-tenancy. We introduce SuperNIC (sNIC), a hardware-based programmable SmartNIC designed for multi-tenant environments. SuperNIC utilizes a novel task chaining architecture and a hybrid space-time fair sharing algorithm to manage hardware resources dynamically. Our prototype achieves 100 Gbps line-rate performance with a scheduling overhead of only 196 ns, reducing task graph execution latency by up to 40% compared to existing solutions while significantly improving hardware area efficiency.

Introduction

The plateauing of Moore’s Law alongside skyrocketing network speeds has necessitated the offloading of complex network tasks—such as encryption, firewalls, and key-value store operations—to specialized hardware. Existing SmartNICs generally fall into three categories: flexible but slow SoC-based NICs, fast but rigid ASIC-based NICs, and programmable FPGA-based NICs. However, FPGA-based solutions have historically lacked the "OS-like" capabilities required to safely and fairly share resources among multiple independent tenants in a cloud environment. SuperNIC addresses this "trilemma" by providing a platform that is fast, programmable, and multi-tenant.

System Architecture

SuperNIC's architecture is designed to manage FPGA resources efficiently while supporting complex task sequences represented as Directed Acyclic Graphs (DAGs).

The SuperNIC architecture featuring a Central Scheduler, SoftCores for control, and reconfigurable NT regions.

The core of sNIC is the Central Scheduler, which coordinates the execution of Network Tasks (NTs) across multiple hardware regions. To avoid the resource-heavy crossbars typical of multi-tenant designs, sNIC groups tasks into sequential chains. A "skipping" mechanism allows packets to bypass unnecessary tasks in a chain, maintaining flexibility without the area overhead of a full crossbar. Control plane operations, including Partial Reconfiguration (PR) of hardware regions, are managed by on-FPGA SoftCores.

Scheduling and Parallelism

To maximize throughput and minimize latency, SuperNIC supports three levels of parallelism: DAG Parallelism (executing different branches of a task graph on separate hardware regions simultaneously), Instance Parallelism (replicating task chains to handle higher traffic volumes), and Task Chaining (optimizing for predictable sequences of network flows).

Scheduling strategies in SuperNIC, illustrating single chain sharing, DAG parallelism, and instance parallelism.

Resource allocation is handled via a hybrid fair sharing algorithm. It first applies Dominant Resource Fairness (DRF) to allocate physical FPGA "space" (regions) and then uses a modified DRFQ algorithm to manage "time" (bandwidth) within those regions. This dual-layered approach prevents "heavy" tenants from starving others of either logic gates or processing cycles.

Evaluation and Results

The researchers evaluated SuperNIC using six real-world NTs (e.g., AES, NAT, Firewall) and traffic traces based on Facebook's datacenter distribution. Key results include:

  • Performance: The FPGA prototype sustained 100 Gbps throughput with a minimal scheduling latency of 196 ns.
  • Efficiency: The chaining mechanism yielded a 2.81x improvement in performance-per-FPGA-area.
  • Latency: Compared to the state-of-the-art PANIC architecture, sNIC reduced execution latency by up to 40%.
  • Cost: In multi-tenant consolidation scenarios, sNIC achieved a 64% cost saving while ensuring performance isolation.

Conclusion

SuperNIC demonstrates that FPGA-based SmartNICs can provide the multi-tenancy and dynamic resource management typically associated with software, without sacrificing hardware-level performance. While the current implementation uses fixed-size regions, future work involves supporting dynamic region sizing and more sophisticated hardware compilers to further optimize DAG-to-chain mapping. Transitioning the core logic to an ASIC could potentially reduce scheduling latency to approximately 25 ns.

Summary updated

BibTeX
@misc{shan2021disaggregating,
  author = {Yizhou Shan and Will Lin and Ryan Kosta and Arvind Krishnamurthy and Yiying Zhang},
  title = {{Disaggregating and Consolidating Network Functionalities with SuperNIC}},
  year = {2021},
  eprint = {2109.07744},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.07744},
}
Figure