DPU-Based RPC with Direct Memory Transfer to Cut Read/Write Delay

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing RPC process for DPU-based virtual machines is complex, consuming CPU time and causing read/write delays and reducing the forwarding capability of the DPU due to serialization, data compression, and data copying between user and kernel modes.

Innovation Solution

A DPU-based remote procedure call method that caches metadata and data in memory, using memory pointer information to transmit directly to a network port in user mode, eliminating the need for serialization, data compression, and data copying from user to kernel mode.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the traditional RPC process with serialization and data compression is used, then data can be transmitted between user and kernel modes, but CPU time is consumed and read/write delay increases

Engineering Contradiction:
Improvedata transmission reliabilityVSAvoidread/write delay
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts and eliminates the serialization and data compression steps from the traditional RPC process. By directly transmitting metadata and data between user mode and kernel mode without these intermediate processing steps, the system maintains data transmission reliability while significantly reducing CPU time consumption and read/write delay.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent performs preliminary actions by pre-preparing metadata structures and caching data in memory before transmission. The metadata includes essential information such as target write addresses, which are prepared in advance, allowing the actual data transmission to proceed without additional processing delays.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If the traditional RPC process with data copying between user and kernel modes is used, then data can be transmitted, but CPU time is consumed and forwarding capability is reduced

Engineering Contradiction:
Improvedata transmission integrityVSAvoidforwarding capability
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent removes the data copying step between user and kernel modes from the transmission path. By using shared memory or direct memory access mechanisms, data can be transmitted directly without being copied multiple times, thereby maintaining data integrity while significantly improving forwarding capability and reducing CPU overhead.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces an intermediary mechanism in the form of a shared memory buffer or direct memory access interface that allows data to be transmitted between user mode and kernel mode without copying. This intermediary enables efficient data transfer while maintaining transmission integrity.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If the complex RPC process with serialization and compression is used, then data can be transmitted between modes, but CPU time consumption increases causing bottlenecks

Engineering Contradiction:
Improvedata transmission accuracyVSAvoidCPU time consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent extracts and eliminates the CPU-intensive serialization and data compression steps from the transmission process. By transmitting data in its original format with accompanying metadata, the system maintains transmission accuracy while dramatically reducing CPU time consumption and avoiding bottlenecks.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of serializing and compressing data, the patent uses a copying approach where metadata structures are created to describe the data being transmitted. This metadata includes information such as target addresses and data lengths, allowing the system to transmit data efficiently without the overhead of serialization and compression operations.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20250225009A1DPU-based remote procedure call method, device, and storage medium
Publication Date: 2025.07.10 BEIJING VOLCANO ENGINE TECH CO LTD
  • US20250225009A1 patent drawing
  • US20250225009A1 patent drawing
  • US20250225009A1 patent drawing

AI summary

Embodiments of the present disclosure provide a DPU-based remote procedure call method, a device, and a storage medium. In a read/write process of remote procedure call based on a DPU, serialization/deserialization, data compression/decompression, and data copying between a user mode and a kernel mode are not required, a large amount of CPU time in the DPU is saved, the forwarding capability of the DPU for serving an upper layer is significantly improved, single-path read/write delay is reduced, the forwarding capability and the throughput capability of a single core can be effectively improved, and a bottleneck problem caused when the CPU capability of the DPU is limited is also effectively avoided.