RoCEv2 Packet Transmission via Source Port Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improverouting simplicityVSAvoideffective bandwidth
Core Design Contradiction:
Ease of operationVSProductivity

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.

Inventive Principle:
Principle #1Segmentation

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

Engineering Contradiction:
Improvepacket order stabilityVSAvoidnetwork throughput
Core Design Contradiction:
Stability of the object's compositionVSProductivity

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.

Inventive Principle:
Principle #15Dynamics

3Productivity

If source port number is changed for traffic balancing, then path distribution improves, but packet reordering occurs requiring additional processing

Engineering Contradiction:
Improvetraffic balanceVSAvoidpacket processing complexity
Core Design Contradiction:
ProductivityVSDevice complexity

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.

Inventive Principle:
Principle #10Preliminary action

4Productivity

If packets are sent individually with different source ports, then path balancing is achieved, but encapsulation overhead increases

Engineering Contradiction:
Improveroute balanceVSAvoidencapsulation complexity
Core Design Contradiction:
ProductivityVSDevice complexity

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.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11716409B2Packet transmission method and apparatus
Publication Date: 2023.08.01 HUAWEI TECH CO LTD
  • US11716409B2 patent drawing
  • US11716409B2 patent drawing
  • US11716409B2 patent drawing

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.