Multi-Tenant SmartNICs for In-Network Preprocessing of Recommender Systems

Wenqi Jiang, Yu Zhu, Wenqi Jiang 0001, Gustavo AlonsoarXiv 2025 · DOI

Abstract

Modern deep learning recommender models (DLRMs) are increasingly bottlenecked by the data preprocessing stage, known as Extract-Transform-Load (ETL). While GPUs have drastically accelerated the training phase, the CPU-based ETL process often lags behind, leading to significant GPU underutilization. This paper introduces PipeRec, a hardware-accelerated engine that offloads ETL tasks to FPGAs. By utilizing a streaming dataflow and Peer-to-Peer (P2P) DMA to transfer preprocessed data directly to GPU memory, PipeRec eliminates data stalls and boosts GPU utilization from approximately 10% to over 90%, achieving a 10x reduction in end-to-end training time.

Introduction: The ETL Bottleneck

In large-scale recommender systems, such as those used for content ranking or targeted advertising, the training pipeline consists of two primary stages: ETL and model training. The ETL stage involves ingesting raw logs—often containing a mix of categorical IDs and numerical values—and performing transformations like normalization, one-hot encoding, and vocabulary mapping. These operations are computationally irregular and involve heavy string parsing and hash table lookups.

The ETL bottleneck in CPU-based pipelines: (a) pipeline schematic, (b) stage runtimes showing CPU ETL is ~13x slower, and (c) resource utilization showing saturated CPUs vs underutilized GPU.

As shown in Figure 1, production environments typically rely on CPU clusters for ETL. However, the performance gap between CPUs and modern GPUs (like the NVIDIA A100) has created a severe imbalance. Empirical analysis reveals that CPU-based ETL can be 11–13x slower than the training stage itself. This results in "data stalls," where the GPU remains idle for up to 90% of the runtime, waiting for the next batch of processed tensors. Simply adding more CPU cores yields diminishing returns due to power constraints and interconnect overhead.

PipeRec: System Architecture

To address this imbalance, PipeRec proposes a co-designed ETL engine and training loop that leverages FPGA-based acceleration. The system moves the ETL logic closer to the data source, processing it in a streaming fashion before it even reaches the host CPU's main memory.

Overview of the DLRM pipeline architecture, from data sources through the distributed ETL engine to GPU training.

The architecture of PipeRec is built upon several key innovations:

  1. Training-Aware ETL Abstraction: PipeRec provides a high-level compilation flow. It maps common software-defined operators (e.g., Clamp, Logarithm, VocabMap) into optimized, reconfigurable FPGA dataflows.
  2. Streaming FPGA-GPU Dataflow: Unlike traditional pipelines that move data from storage to CPU DRAM before sending it to the GPU, PipeRec intercepts data from the network or storage and processes it on the fly.
  3. Zero-Copy Ingest via P2P DMA: A specialized "format-aware packer" on the FPGA organizes the processed features into training-ready batches. These batches are then pushed directly into GPU memory via Peer-to-Peer DMA, completely bypassing the host CPU and DRAM.
  4. vFPGA I/O Subsystem: To support multi-tenant environments, PipeRec includes a virtualized I/O subsystem, allowing multiple independent ETL pipelines to share the same FPGA hardware efficiently.

Experimental Evaluation

The performance of PipeRec was evaluated using three representative datasets:

  • Dataset-I (Criteo Kaggle): A standard real-world advertising dataset with 45 million entries.
  • Dataset-II (Synthetic): A high-dimensional dataset designed to stress-test feature scaling and memory intensity.
  • Dataset-III (Criteo 1TB): An industrial-scale dataset sharded into over 1000 Parquet files to evaluate I/O performance.

Key Results

The implementation of PipeRec yielded dramatic improvements across several metrics:

  • Throughput and Speedup: PipeRec achieved 10x to 100x higher throughput compared to multi-core CPU pipelines. It also outperformed state-of-the-art GPU-based ETL solutions (such as NVIDIA NVTabular) by up to 17x.
  • GPU Utilization: By eliminating data stalls, GPU utilization soared from 10–15% in CPU-based setups to 64–91% with PipeRec.
  • End-to-End Efficiency: The total training time was reduced to less than 10% of the baseline. Furthermore, PipeRec demonstrated superior power efficiency, consuming 2.9x–6.4x less power than GPU-based ETL and providing up to 1100x better performance-per-watt than CPUs.

Conclusion and Future Work

PipeRec demonstrates that offloading irregular ETL tasks to FPGAs is a highly effective strategy for balancing modern deep learning pipelines. By treating ETL as an in-network or in-storage streaming task, PipeRec unlocks the full potential of high-performance GPUs. While currently optimized for DLRMs, the underlying principles of streaming ETL and P2P data transfer hold promise for other data-intensive applications, including large language model (LLM) inference and real-time analytics. Future work will focus on overcoming storage I/O bounds and further simplifying the programming model for FPGA-based data processing.

Summary updated

BibTeX
@misc{jiang2025multi,
  author = {Wenqi Jiang and Yu Zhu and Wenqi Jiang and Gustavo Alonso},
  title = {{Multi-Tenant SmartNICs for In-Network Preprocessing of Recommender Systems}},
  year = {2025},
  eprint = {2501.12032},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.12032},
}
Figure