Skip to main content
QUICK REVIEW

[Paper Review] PsPIN: A high-performance low-power architecture for flexible in-network compute

Salvatore Di Girolamo, Andreas Kurth|arXiv (Cornell University)|Oct 7, 2020
Software-Defined Networks and 5GComputer Science47 references4 citations
TL;DR

PsPIN is an open-source, RISC-V-based in-network compute accelerator designed for high-performance, low-power packet processing at 400 Gbit/s. It implements the sPIN programming model, enabling user-defined C/C++ handlers to execute on packets in parallel across lightweight processing clusters, achieving 26 ns latency for 64 B packets with 18.5 mm² area (22 nm FDSOI).

ABSTRACT

The capacity of offloading data and control tasks to the network is becoming increasingly important, especially if we consider the faster growth of network speed when compared to CPU frequencies. In-network compute alleviates the host CPU load by running tasks directly in the network, enabling additional computation/communication overlap and potentially improving overall application performance. However, sustaining bandwidths provided by next-generation networks, e.g., 400 Gbit/s, can become a challenge. sPIN is a programming model for in-NIC compute, where users specify handler functions that are executed on the NIC, for each incoming packet belonging to a given message or flow. It enables a CUDA-like acceleration, where the NIC is equipped with lightweight processing elements that process network packets in parallel. We investigate the architectural specialties that a sPIN NIC should provide to enable high-performance, low-power, and flexible packet processing. We introduce PsPIN, a first open-source sPIN implementation, based on a multi-cluster RISC-V architecture and designed according to the identified architectural specialties. We investigate the performance of PsPIN with cycle-accurate simulations, showing that it can process packets at 400 Gbit/s for several use cases, introducing minimal latencies (26 ns for 64 B packets) and occupying a total area of 18.5 mm 2 (22 nm FDSOI).

Motivation & Objective

  • Address the growing performance gap between network speeds (e.g., 400 Gbit/s) and CPU processing capabilities in modern datacenters.
  • Enable flexible, high-throughput, and low-latency packet processing by offloading application logic directly to the network interface card (NIC).
  • Design an architecture that supports programmable, user-defined handlers for packets while maintaining low power and area overhead.
  • Demonstrate feasibility of achieving line-rate processing at 400 Gbit/s using a modular, scalable RISC-V-based design.

Proposed method

  • Design a multi-cluster RISC-V architecture with lightweight processing elements to execute packet handlers in parallel.
  • Implement the sPIN programming model, allowing users to define C/C++ handlers for specific packet flows or messages.
  • Integrate dedicated memory subsystems with separate banks for packet buffers and handler data, minimizing contention and enabling high throughput.
  • Use cycle-accurate simulation to evaluate performance across multiple workloads, including serialization, checksums, and key-value operations.
  • Optimize for area and power by minimizing control logic and leveraging FDSOI technology (22 nm), with 87% of area dedicated to memory.
  • Enable scalability through modular cluster design, supporting future expansion to higher line rates via additional clusters or wider data paths.

Experimental results

Research questions

  • RQ1Can a RISC-V-based in-NIC accelerator sustain 400 Gbit/s line-rate packet processing with minimal latency and low power consumption?
  • RQ2How do architectural choices—such as memory partitioning, cluster organization, and processing element specialization—affect performance and efficiency?
  • RQ3To what extent does the sPIN programming model enable flexible, application-specific packet processing compared to fixed-function or FPGA-based solutions?
  • RQ4What is the impact of handler complexity and packet size on performance bottlenecks, and how can they be mitigated through architectural scaling?
  • RQ5How does PsPIN compare in area and power efficiency to existing solutions like eBPF, P4, or FPGA-based accelerators?

Key findings

  • PsPIN achieves line-rate processing at 400 Gbit/s for multiple workloads, including serialization, checksum, and key-value operations.
  • The system introduces a minimal latency of 26 ns for 64-byte packets, demonstrating low-latency in-network processing.
  • The total area of the design is 18.5 mm² using 22 nm FDSOI technology, with 87% of the area consumed by memory subsystems.
  • Power consumption is dominated by memory (52%), indicating that memory optimization is critical for future scaling.
  • Handler critical times (HCT) for different packet sizes (256 B, 1024 B, 4096 B) were analyzed, showing that core count and line rate scaling must be balanced to avoid bottlenecks.
  • The modular cluster architecture allows for scalable workload handling without becoming a performance bottleneck, supporting future extension to 1 Tbit/s with wider data paths or multiple accelerators.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.