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

RecSSD: Near Data Processing for Solid State Drive Based Recommendation Inference

Mark Wilkening, Udit Gupta, Samuel Hsia, Caroline Trippel, Carole-Jean Wu, David Brooks, Gu-Yeon Wei

Introduction

Deep learning recommendation models (DLRMs) are the backbone of modern web services, enabling personalized content delivery at scale. These models rely on massive embedding tables to map categorical features into dense numerical vectors. However, the sheer size of these tables—often reaching terabytes—makes DRAM-only storage prohibitively expensive. While Solid State Drives (SSDs) offer a high-capacity, low-cost alternative, they typically suffer from high latency due to the overhead of transferring small, random data chunks over the PCIe bus.

The RecSSD Architecture

To address these challenges, we introduce RecSSD, a Near Data Processing (NDP) architecture that offloads embedding table operations directly to the SSD controller. By moving computation closer to the data, RecSSD minimizes the performance bottleneck associated with data movement.

RecSSD offloads embedding table operations (gather-reduce) to the NDP-SSD, reducing data movement across the PCIe bus.

The core of RecSSD is the integration of "gather-sum" logic within the Flash Translation Layer (FTL) firmware. When a host CPU initiates an inference request, the SSD's internal microprocessor identifies the required vectors in flash, performs the aggregation internally, and returns only the final reduced vector. This significantly reduces PCIe traffic. Furthermore, RecSSD employs a hybrid caching strategy: host-side DRAM caches "hot" vectors to exploit power-law access patterns, while SSD-side DRAM accelerates internal lookups.

Evaluation and Results

RecSSD was evaluated using the DeepRecInfra suite, which includes models from Facebook, Google, and Alibaba. Performance was measured against both DRAM-based systems and Commercial Off-The-Shelf (COTS) SSDs.

Comparison of execution time between DRAM and SSD-based inference across various recommendation models.

The results indicate that RecSSD achieves a 2x speedup in end-to-end latency compared to COTS SSDs and a 4x speedup for individual embedding operations. As illustrated in the performance comparison across models, compute-heavy models (such as NCF, WND, and DIN) show negligible performance degradation when using SSDs compared to DRAM, with overheads ranging from only 1% to 9%. This demonstrates that SSDs, when paired with NDP, are a viable storage tier for production-scale recommendation models.

Conclusion

RecSSD demonstrates that for memory-bound recommendation workloads, data proximity is more impactful than raw processing power. By offloading aggregation tasks to the SSD, RecSSD enables the use of high-capacity storage without sacrificing the low latency required for real-time inference. Future research will explore faster internal processors and the application of NDP to online learning environments.

Summary updated

BibTeX
@inproceedings{wilkening2021recssd,
  author = {Mark Wilkening and Udit Gupta and Samuel Hsia and Caroline Trippel and Carole-Jean Wu and David Brooks and Gu-Yeon Wei},
  title = {{RecSSD: Near Data Processing for Solid State Drive Based Recommendation Inference}},
  booktitle = {ASPLOS},
  year = {2021},
  doi = {10.1145/3445814.3446763},
}
Figure