RDMA Write Exchange Rendezvous Flow for NIC Synchronization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

RDMA technologies face challenges in synchronizing send and receive operations, leading to bottlenecks due to the need for out-of-band address resolution and potential retries, especially in MPI operations, which can result in inefficiencies and increased latency.

Innovation Solution

The implementation of a rendezvous flow with RDMA write exchange using work queue buffers and NICs, where a send device and receive device communicate through RDMA write operations, with a work queue buffer managing WQEs that include send and receive buffer addresses, and using fences to prevent overflow and ensure synchronization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If out-of-band address resolution is used for RDMA operations, then send and receive operations can be synchronized, but latency increases and bottlenecks occur

Engineering Contradiction:
Improvesynchronization of send and receive operationsVSAvoidlatency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts the address resolution process from the traditional out-of-band communication path and integrates it directly into the RDMA work queue buffer. The receive buffer address is stored directly in the WQE at the memory location specified by the send buffer address, eliminating the need for separate address resolution communications and reducing latency while maintaining synchronization.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The work queue buffer acts as an intermediary structure that directly links send and receive operations. By storing the receive buffer address within the WQE in the work queue buffer, the system creates a direct mapping between send and receive operations without requiring external communication, thus reducing latency while ensuring proper synchronization.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If RDMA write operations are used for data transfer, then throughput increases, but synchronization challenges arise leading to retries

Engineering Contradiction:
Improvedata transfer throughputVSAvoidsynchronization of send and receive operations
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent applies preliminary action by pre-storing the receive buffer address in the work queue buffer before the actual data transfer occurs. The WQE is prepared with all necessary address information in advance, allowing the RDMA write operation to proceed directly without synchronization challenges or retries, thus maintaining both high throughput and reliability.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If work queue buffers are used to manage RDMA operations, then operation efficiency improves, but complexity of managing work queue occupancy increases

Engineering Contradiction:
ImproveRDMA operation efficiencyVSAvoidwork queue occupancy management
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent merges the address resolution function with the work queue buffer structure. By combining the send buffer address, receive buffer address, and work queue management into a single integrated WQE structure, the system simplifies occupancy management while maintaining high operation efficiency. The fence mechanism is integrated directly into the buffer structure, reducing the complexity of separate management systems.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS12141093B1Rendezvous flow with RDMA (remote direct memory access) write exchange
Publication Date: 2024.11.12 INTEL OVERSEAS FUNDING CORP
  • US12141093B1 patent drawing
  • US12141093B1 patent drawing
  • US12141093B1 patent drawing

AI summary

A system includes a first processing device and a second processing device, each of which is coupled to a NIC implemented with an RDMA interface. The NICs are capable of rendezvous flows of RDMA write exchange. In an example where the first NIC is at the sender side and the second NIC is at the receiver side, a rendezvous flow is initiated by an execution of a RDMA write operation by the second NIC. The second NIC provides at least an address of a buffer in the second processing device to the first NIC through the RDMA write operation. Then the first NIC initiates a RDMA write operation to send data in a buffer in the first processing device to the second NIC. The second NIC may acknowledge receipt of the data with the second NIC. The second NIC can update a CI of the WQE based on the acknowledgement.