DDS: DPU-optimized Disaggregated Storage [Extended Report]

Qizhen Zhang, Philip A. Bernstein, Badrish Chandramouli, Jiasheng Hu, Yiming ZhengarXiv 2024 · DOI

TL;DR

This paper introduces DDS, a novel storage architecture that leverages Data Processing Units (DPUs) to significantly reduce the latency and CPU overhead of disaggregated storage in cloud-native data systems. By intelligently offloading read requests to DPUs and minimizing host involvement, DDS achieves an order of magnitude lower latency and saves substantial CPU resources, making disaggregated storage more efficient and cost-effective.

What Problem Does This Paper Address?

Modern cloud-native data systems, like databases and key-value stores, increasingly disaggregate storage from computation. This means data is stored on dedicated storage servers, and compute servers access it over the network. While this offers elasticity and scalability, it introduces significant latency and CPU overhead. This overhead stems from the network and file system stacks in the operating system, and even within the database itself. Existing solutions like kernel-bypass techniques offer only partial relief and often require substantial modifications to the data systems. The paper aims to tackle this challenge by proposing a new architecture that minimizes these costs by intelligently utilizing DPUs.

Methods

DDS introduces a new disaggregated storage architecture that offloads a significant portion of storage operations to DPUs. The core ideas include:

  • DPU Offloading: DPUs, which are programmable NICs with their own compute and memory, are used to process storage requests. DDS specifically offloads read requests to the DPU, as they are generally simpler and more frequent than writes.
  • Unified Storage Path: DDS creates a unified file access mechanism that spans both the host and the DPU. This allows the DPU to manage file metadata and mappings, enabling it to directly process requests without involving the host.
  • Traffic Director: A key component running on the DPU, the traffic director inspects incoming network packets. It uses user-defined "application signatures" and "offload predicates" to determine which requests can be handled by the DPU and which need to be forwarded to the host.
  • Offload Engine: This component on the DPU executes the offloaded storage functions. It leverages DMA, zero-copy techniques, and userspace I/O to minimize overhead.
  • Minimal Host Modification: DDS aims for easy adoption by requiring minimal changes to existing data systems. It provides a familiar file API on the host and uses custom offload functions to translate data system requests into DPU-executable operations.
  • Transport Transparency: To avoid breaking existing transport protocols like TCP, DDS implements a "bump-in-the-wire" approach using TCP splitting. This creates two TCP connections: one between the client and the DPU, and another between the DPU and the host, allowing the DPU to intercept and process requests without the client or host being aware of the split.

Datasets

Not discussed in the paper. The evaluation uses a custom disaggregated storage application and integrates DDS with existing production systems (Azure SQL Hyperscale and FASTER).

Key Insights and Ideas

  • DPUs are a game-changer for disaggregated storage: The paper convincingly demonstrates that DPUs, with their integrated compute and network capabilities, can fundamentally change the economics and performance of disaggregated storage.
  • Partial offloading is the sweet spot: Instead of trying to offload everything (which is limited by DPU compute power for writes), DDS focuses on offloading read requests. This strategy balances performance gains with practical limitations.
  • Minimizing host involvement is crucial: The most significant gains in latency and CPU reduction come from bypassing the host's OS and file system stacks entirely for offloaded requests.
  • A unified storage path is key to generality: By abstracting file operations and providing a consistent interface on both host and DPU, DDS can support a wide range of data systems with minimal application-specific code changes.
  • Zero-copy and DMA are essential for efficiency: The paper highlights how careful design of data movement between host and DPU, particularly using DMA-backed ring buffers and zero-copy techniques, is critical for achieving high throughput and low latency.

Key Results

  • Latency Reduction: DDS achieves an order of magnitude lower latency for read requests compared to traditional disaggregated storage. For example, a read benchmark showed latency dropping from 11 ms to 780 µs.
  • CPU Savings: DDS significantly reduces host CPU consumption. In production system integrations, it saved up to tens of CPU cores per storage server. For instance, a read benchmark showed a reduction from 10.7 cores to 6.5 cores when using the DDS library, and effectively zero host CPU consumption when fully offloading to the DPU.
  • Throughput Improvement: DDS can drive higher disaggregated storage throughput. In one benchmark, throughput increased from 390 K IOPS to 730 K IOPS with full DPU offloading.
  • Ease of Adoption: Integrating DDS into production systems like Azure SQL Hyperscale and FASTER required only hundreds of lines of code changes, demonstrating its practical applicability.

Limitations and Future Work

  • Write Offloading: DDS currently does not offload write operations, as they are often compute-intensive or require more memory than DPUs typically provide. Future work could explore offloading specific types of write operations or leveraging DPU hardware accelerators.
  • DPU Compute Limitations: While DPUs are powerful, they are still less powerful than host CPUs. For compute-intensive tasks, offloading might not be beneficial or could even degrade performance, as noted in the paper.
  • DPU Memory Limitations: DPUs have limited memory, which can be a constraint for caching large working sets.
  • Future Work: The authors suggest exploring offloading other DBMS functions (e.g., networking, query operators), utilizing DPU hardware accelerators for specific tasks (like encryption or compression), and further enhancing the DPU-based file system. They also mention the potential for DDS to support RDMA for even lower latency.

Summary updated

BibTeX
@misc{zhang2024dds,
  author = {Qizhen Zhang and Philip A. Bernstein and Badrish Chandramouli and Jiasheng Hu and Yiming Zheng},
  title = {{DDS: DPU-optimized Disaggregated Storage [Extended Report]}},
  year = {2024},
  eprint = {2407.13618},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.13618},
}
Figure