NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Streaming message interface: high-performance distributed memory programming on reconfigurable hardware

Tiziano De Matteis, Johannes de Fine Licht, Jakub Beránek, Torsten Hoefler

Abstract

As High-Performance Computing (HPC) increasingly adopts reconfigurable hardware like FPGAs for energy-efficient acceleration, scaling these devices from single nodes to large clusters remains a significant challenge. Traditional communication methods force a choice between high-latency host-based messaging and rigid, non-portable direct hardware links. This paper presents the Streaming Message Interface (SMI), a unified communication model and API that brings the flexibility of MPI-style message passing to FPGA clusters. By integrating communication directly into hardware pipelines through transient channels, SMI enables developers to achieve near-peak hardware bandwidth and ultra-low latency. Our evaluation on the Noctua cluster demonstrates that SMI achieves 91% of peak bandwidth and reduces latency by 45x compared to host-based implementations, while consuming less than 2% of FPGA logic resources.

Introduction

The slowing of Moore’s Law has pushed the HPC community toward application-specific acceleration, with FPGAs emerging as a leading candidate for energy-efficient computation. However, the difficulty of programming distributed FPGA systems has hindered their widespread adoption. Currently, developers must choose between two suboptimal communication strategies:

  1. Host-based communication: Data is routed from the FPGA through the PCIe bus to the CPU, then across a standard network (e.g., InfiniBand). This path introduces massive latency and creates bottlenecks at the host memory subsystem.
  2. Direct streaming: FPGAs are connected via high-speed serial links (QSFP). While this offers high performance, it requires developers to manually "wire" hardware connections, making complex communication patterns difficult to implement and the resulting code nearly impossible to port across different cluster topologies.

SMI addresses this gap by providing a model that combines the programmability of message passing with the performance of direct hardware streaming.

The SMI Model and Architecture

The core innovation of SMI is the concept of streaming messages through transient channels. Unlike the standard Message Passing Interface (MPI), which typically assumes bulk data transfers where buffers must be fully populated before transmission, SMI allows data to be pushed and popped on a cycle-by-cycle basis. This allows communication to overlap perfectly with computation within deeply pipelined High-Level Synthesis (HLS) designs.

API and Transport Layer

SMI provides a familiar interface for HPC programmers, including:

  • Point-to-point primitives: SMI_Push and SMI_Pop for direct data movement.
  • Collective operations: Support for SMI_Bcast and SMI_Reduce to handle group communications.

Underpinning this API is a hardware-based routing engine that utilizes packet switching. This allows multiple logical communication channels to share the same physical wires, effectively decoupling the application logic from the physical network topology. To simplify development, the authors created a toolchain—including a Clang-based metadata extractor and a code generator—that automates the generation of the hardware "glue" logic required to connect application kernels to network ports.

Experimental Evaluation

The SMI framework was evaluated on the Noctua cluster, utilizing Intel Stratix 10 FPGAs. The evaluation focused on raw performance and real-world application scaling.

Microbenchmarks

SMI achieved 91% of the peak hardware bandwidth, reaching approximately 32 Gbit/s on a 40 Gbit/s link for large messages. More significantly, for small messages, SMI recorded a latency of just 0.8 µs. In comparison, a traditional host-based MPI+OpenCL implementation recorded 36.6 µs, representing a 45x improvement in latency.

Application Kernels

  • GESUMMV (Matrix-Vector Multiplication): Transitioning to a distributed SMI version required changing only eight lines of code. The implementation achieved a near-perfect 2x speedup by doubling the available memory bandwidth across two FPGAs.
  • 2D Stencil: This kernel, common in fluid dynamics and weather simulations, requires frequent "halo exchanges" between neighboring nodes. Using SMI, the application scaled to 8 FPGAs, achieving a 23.1x speedup over a single-memory-bank baseline.

Key Insights

  • Zero-Copy Streaming: By utilizing transient channels, SMI eliminates the need for large intermediate buffers. Data flows directly from one FPGA's processing pipeline into the network and into the next FPGA's pipeline without unnecessary copies.
  • Resource Efficiency: The SMI communication stack is remarkably lean, consuming less than 2% of the total logic resources on a high-end Stratix 10 chip, leaving the vast majority of the hardware available for application logic.
  • Topology Independence: Because the transport layer handles routing, programmers define communication by "Ranks" rather than physical pins. This makes FPGA-accelerated code portable across different cluster shapes and sizes.

Discussion and Future Work

While SMI represents a significant leap forward, there are areas for further development. The current implementation of collective operations uses a linear scheme that may lead to congestion in very large clusters; future iterations will explore tree-based collectives. Additionally, while the SMI interface is vendor-neutral, the current transport layer is optimized for Intel architectures. Finally, the system currently uses static routing tables generated at compile-time. While these can be updated at runtime, moving toward fully adaptive routing would allow the system to bypass network congestion dynamically.

In conclusion, SMI provides the necessary abstraction layer to make distributed FPGA computing both high-performance and accessible, bridging the gap between hardware efficiency and software programmability.

Summary updated

BibTeX
@inproceedings{matteis2019streaming,
  author = {Tiziano De Matteis and Johannes de Fine Licht and Jakub Beránek and Torsten Hoefler},
  title = {{Streaming message interface: high-performance distributed memory programming on reconfigurable hardware}},
  booktitle = {SC},
  year = {2019},
  doi = {10.1145/3295500.3356201},
}
Figure