Network Message Processing with Many-to-One DPU Queue Mapping
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing DPU systems require a large number of queues to be set up, consuming significant hardware and software resources and complicating control plane design due to one-to-one mapping between server and DPU queues.
Innovation Solution
Implement a network message processing method that reduces the number of queues in the DPU by decoupling the one-to-one mapping relationship between server and DPU queues, using a queue mapping table to store messages in fewer DPU queues and employing a message distribution module to manage network message transmission.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a one-to-one mapping relationship between server queues and DPU queues is established, then network message forwarding can be implemented, but the number of DPU queues increases significantly, consuming large amounts of hardware and software resources
Solution Approach 1:
Multiple server queues are merged into a single DPU queue through many-to-one mapping. The patent implements this by establishing a correspondence relationship between server queues and DPU queues where multiple server queues map to fewer DPU queues, thereby reducing the total number of queues in the DPU while maintaining network message forwarding capability.
Solution Approach 2:
A single DPU queue is designed to handle messages from multiple server queues simultaneously. The patent achieves this by enabling the DPU queue to serve multiple functions - receiving and processing messages from different server queues through the established many-to-one mapping relationship, thus reducing resource consumption while maintaining functionality.
2Reliability
If a one-to-one mapping relationship between server queues and DPU queues is established, then network message forwarding can be implemented, but control plane design becomes more complex
Solution Approach 1:
The control plane complexity is reduced by merging multiple queue management functions into a unified approach. Instead of managing separate one-to-one mappings for each queue pair, the patent implements a unified many-to-one mapping mechanism that simplifies control plane design while maintaining network message forwarding capability.
Solution Approach 2:
The patent introduces a mapping relationship mechanism as an intermediary between server queues and DPU queues. This intermediary structure simplifies control plane design by providing a standardized many-to-one mapping approach, eliminating the need for complex one-to-one mapping management while preserving forwarding functionality.
3Quantity of substance
If the number of DPU queues is reduced, then hardware and software resource consumption decreases, but the mapping relationship between server and DPU queues becomes many-to-one, requiring additional management mechanisms
Solution Approach 1:
The patent implements a universal mapping mechanism that handles many-to-one relationships efficiently. By designing the queue mapping system to naturally accommodate multiple server queues mapping to fewer DPU queues, the patent reduces the need for additional complex management mechanisms while maintaining scalable resource allocation.
Solution Approach 2:
The patent uses a mapping table structure that copies and stores the relationship information between server queues and DPU queues. This copying mechanism simplifies management by pre-establishing and storing mapping relationships, allowing the system to handle many-to-one mappings without requiring complex real-time management logic.
Data Source
AI summary
A network message processing method includes: reading a first network message from a first queue maintained in a first server; querying a queue mapping table maintained in a data processing unit to determine a destination second queue to which the first network message is to be transmitted, and storing the first network message in the destination second queue, where the queue mapping table is used to record a mapping relationship between first queues maintained in the first server and second queues maintained in the data processing unit, and a quantity of the first queues is greater than a quantity of the second queues; and calling a message distribution module in the data processing unit, and reading, through the message distribution module, the first network message from the destination second queue and transmitting the first network message to a destination second server through a network.


