Abstract
As cloud data volumes surge, general-purpose CPUs are increasingly burdened by the "CPU tax" associated with data movement and management. We present DPDPU, a software platform designed to offload data-intensive tasks to Data Processing Units (DPUs). By providing specialized engines for compute, networking, and storage, DPDPU bridges the gap between low-level hardware and high-level data systems, significantly reducing host CPU overhead and improving processing efficiency.
Introduction
In the modern cloud, we are hitting a "performance wall." While network and storage speeds have skyrocketed, general-purpose CPU improvements have plateaued. This creates a massive overhead: simply moving data through a network stack or managing I/O can consume a significant portion of a server's CPU power, leaving less room for actual application logic.
Data Processing Units (DPUs)—essentially "computers on a NIC"—offer a solution by providing dedicated Arm cores and hardware accelerators (ASICs) for tasks like compression and encryption. However, DPUs are notoriously difficult to use due to abstraction mismatches, resource diversity, and vendor heterogeneity.
System Architecture
The DPDPU framework acts as an intermediary between the data system and the DPU hardware, consisting of three core modules:
- Compute Engine (CE): Introduces "DP Kernels"—portable, specialized functions. Users write "stored procedures" (sprocs) that call these kernels. If a DPU has a hardware accelerator for a task (like RegEx), the CE uses it; if not, it automatically falls back to the DPU’s CPU or the host CPU.
- Network Engine (NE): Offloads the heavy lifting of TCP/IP and RDMA stacks to the DPU. It uses lock-free ring buffers to allow the host application to "fire and forget" network requests, which the DPU then processes asynchronously.
- Storage Engine (SE): Allows the DPU to talk directly to SSDs via PCIe peer-to-peer communication. This allows the DPU to serve data requests from remote clients without ever involving the host server’s CPU.
Key Insights
The "secret sauce" of DPDPU is the DP Kernel abstraction. By defining a standard interface for common data tasks (compression, encryption, filtering), the framework decouples the intent of the code from the underlying hardware. Furthermore, DPDPU enables bypassing the host entirely for remote storage requests. By giving the DPU ownership of the file mapping, it can serve data directly from the SSD to the network. Finally, pipelined composability allows the output of one engine to be streamed directly into another within the DPU's onboard memory, minimizing expensive data movement.
Evaluation and Results
The paper evaluates DPDPU using micro-benchmarks focused on compression and I/O throughput.
Hardware Acceleration Benefits
A key finding is that a DPU’s dedicated compression accelerator can outperform high-end CPUs (like AMD EPYC) by an order of magnitude in terms of latency. As shown in the comparison below, the DPU Compression Accelerator maintains significantly lower latency across various data sizes compared to general-purpose Arm and x86 cores.
Reclaiming CPU Cores
Micro-benchmarks revealed that accessing SSDs at high throughput (450k pages/sec) can consume up to 2.7 host CPU cores. By offloading these tasks, DPDPU's storage engine reclaims these cores for application use. In empirical studies with Azure SQL Hyperscale, the DPU-optimized storage server (DDS) saved up to 10s of CPU cores per storage server by offloading remote requests.
Limitations and Future Work
Despite its advantages, DPDPU faces challenges. DPUs typically have limited RAM (e.g., 16 GB), making large-scale caching difficult. Additionally, perfectly balancing tasks between weak Arm cores and rigid ASICs remains an open research problem. Finally, providing fair multi-tenant access to hardware accelerators without native virtualization support is a significant hurdle for future cloud deployments.
Summary updated