RoCEv2 Packet Transmission via Source Port Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The RoCEv2 protocol experiences network congestion and packet loss due to unbalanced traffic distribution in multipath networks, leading to decreased effective bandwidth and increased network delay, as the current path selection based on hash values of 5-tuple information results in uneven traffic loads across paths.
Innovation Solution
The proposed method involves encapsulating data segments into packets with varying source port number information, allowing them to be transmitted on different paths, and including a write address header for direct memory access at the destination, enabling optimized routing and reducing congestion by distributing traffic more evenly across the network.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If path selection is based on hash value of 5-tuple information, then routing is simplified and deterministic, but traffic distribution becomes unbalanced causing network congestion
Solution Approach 1:
The patent segments the 5-tuple information by extracting only the source port number to create a simplified hash key, rather than using all five tuple elements. This segmentation reduces the complexity of path selection while still achieving traffic distribution across multiple paths, thereby balancing load without sacrificing routing simplicity.
2Stability of the object's composition
If all packets in a group use the same source port number, then packet ordering is maintained, but traffic concentration on single path increases causing congestion
Solution Approach 1:
The patent dynamically adjusts the source port number for different packets within the same group, making the port selection variable rather than static. By changing source ports based on packet sequence or other criteria, the system achieves both load balancing across paths and maintains packet ordering through sequence number tracking at the destination.
3Productivity
If source port number is changed for traffic balancing, then path distribution improves, but packet reordering occurs requiring additional processing
Solution Approach 1:
The patent incorporates sequence numbers in the packet headers before transmission. This preliminary action at the source allows the destination to reorder packets correctly even when they arrive out of sequence due to different path selections. The sequence numbers are prepared in advance, eliminating the need for complex reordering logic and reducing processing complexity at the destination.
4Productivity
If packets are sent individually with different source ports, then path balancing is achieved, but encapsulation overhead increases
Solution Approach 1:
The patent merges multiple data segments into a single encapsulated packet while varying the source port number in the outer header. This combining approach reduces the number of separate encapsulation operations needed while still achieving path balancing through source port variation. The merged packet structure maintains efficiency by reducing per-packet processing overhead while implementing load balancing.
Data Source
AI summary
In a packet transmission method and an apparatus for implementing the method, packets in different groups have different source port information, and a header carried in each packet carries a write address of the packet in a memory in a destination server. In this way, the to-be-sent packets are forwarded on different paths.


