PIFS-Rec: Process-In-Fabric-Switch for Large-Scale Recommendation System Inferences
Pingyi Huo, Anusha Devulapally, Hasan Al Maruf, Minseo Park, Krishnakumar Nair, Meena Arunachalam, Gulsum Gudukbay Akbulut, Mahmut Taylan Kandemir, Vijaykrishnan Narayanan
TL;DR
This work addresses the bandwidth bottlenecks of large-scale DLRMs by embedding near-data processing inside a CXL fabric switch through the PIFS-Rec architecture. It combines hardware innovations (a lightweight processing core, on-switch buffer, and accelerated accumulation) with software strategies (page-granular management, global hotness detection, and embedding spreading) to exploit memory bandwidth across multi-node CXL fabrics. Key results show latency reductions of $3.89\times$ over Pond and $2.03\times$ over BEACON, along with favorable TCO and energy efficiency, demonstrating strong potential for scalable, memory-bandwidth-bound inference workloads. The approach offers broad applicability beyond DLRMs by providing a near-data compute framework tightly integrated with CXL fabric switches, enabling scalable acceleration for embedding-heavy models in datacenters.
Abstract
Deep Learning Recommendation Models (DLRMs) have become increasingly popular and prevalent in today's datacenters, consuming most of the AI inference cycles. The performance of DLRMs is heavily influenced by available bandwidth due to their large vector sizes in embedding tables and concurrent accesses. To achieve substantial improvements over existing solutions, novel approaches towards DLRM optimization are needed, especially, in the context of emerging interconnect technologies like CXL. This study delves into exploring CXL-enabled systems, implementing a process-in-fabric-switch (PIFS) solution to accelerate DLRMs while optimizing their memory and bandwidth scalability. We present an in-depth characterization of industry-scale DLRM workloads running on CXL-ready systems, identifying the predominant bottlenecks in existing CXL systems. We, therefore, propose PIFS-Rec, a PIFS-based scheme that implements near-data processing through downstream ports of the fabric switch. PIFS-Rec achieves a latency that is 3.89x lower than Pond, an industry-standard CXL-based system, and also outperforms BEACON, a state-of-the-art scheme, by 2.03x.
