Rethinking Inter-Process Communication with Memory Operation Offloading
Misun Park, Richi Dubey, Yifan Yuan, Nam Sung Kim, Ada Gavrilovska
TL;DR
The paper tackles the IPC data-movement bottleneck in data-intensive workloads by proposing Rocket, a unified IPC runtime that orchestrates hardware memory offload (notably Intel DSA) with shared-memory IPC. It analyzes hardware/software integration challenges, designs a flexible IPC stack with sync, async, and pipelined execution modes, and demonstrates end-to-end benefits—up to $22\%$ fewer instructions, up to $2.1\times$ throughput, and up to $72\%$ latency reduction—across diverse benchmarks. Key contributions include system-level bottleneck analysis, a configurable protocol design, and comprehensive experimental evaluation on real hardware, illustrating when and how offload-aware IPC improves performance. The work suggests that treating memory offloading as a first-class system capability can yield tangible gains in data-intensive, intra-node contexts, guiding future hardware/software co-design for memory movement.
Abstract
As multimodal and AI-driven services exchange hundreds of megabytes per request, existing IPC runtimes spend a growing share of CPU cycles on memory copies. Although both hardware and software mechanisms are exploring memory offloading, current IPC stacks lack a unified runtime model to coordinate them effectively. This paper presents a unified IPC runtime suite that integrates both hardware- and software-based memory offloading into shared-memory communication. The system characterizes the interaction between offload strategies and IPC execution, including synchronization, cache visibility, and concurrency, and introduces multiple IPC modes that balance throughput, latency, and CPU efficiency. Through asynchronous pipelining, selective cache injection, and hybrid coordination, the system turns offloading from a device-specific feature into a general system capability. Evaluations on real-world workloads show instruction count reductions of up to 22%, throughput improvements of up to 2.1x, and latency reductions of up to 72%, demonstrating that coordinated IPC offloading can deliver tangible end-to-end efficiency gains in modern data-intensive systems.
