Queue-Pair Management with Dynamic RC/DC Connections

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

High-performance computing systems face challenges in optimizing latency and memory consumption due to the complexities of queue pair (QP) management, particularly in managing reliably connected (RC) and dynamically connected (DC) QPs, which affect real-world applications like artificial intelligence and computationally-complex tasks.

Innovation Solution

A system and method that adapts to network behavior by monitoring access rates and counts to peers using DC QPs, identifying frequently accessed peers, and establishing RC QPs for those peers to optimize memory usage and reduce latency, switching between RC and DC QPs based on communication patterns.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If RC QPs are used to establish dedicated persistent connections for reliable communication, then communication reliability and stability are improved, but memory consumption increases due to dedicated resources required for each connection

Engineering Contradiction:
Improvecommunication reliabilityVSAvoidmemory consumption
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The system dynamically transitions QPs between DC and RC states based on communication patterns. Frequently accessed peers that initially used DC QPs are automatically upgraded to RC QPs after meeting access thresholds, while infrequently accessed RC QPs are downgraded back to DC QPs. This dynamic adaptation allows the system to optimize memory usage while maintaining reliability for active connections.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the state parameter of QPs from DC to RC based on monitored access metrics. By tracking access counts and rates, the system modifies the connection type parameter to match actual communication needs, transforming memory-intensive RC connections into lightweight DC connections when appropriate, and vice versa for active connections.

Inventive Principle:
Principle #35Parameter changes

2Quantity of substance

If DC QPs are used to share resources dynamically among multiple peers, then memory consumption is reduced, but latency increases due to additional overhead in managing transient connections

Engineering Contradiction:
Improvememory consumptionVSAvoidlatency
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The system dynamically selects between DC and RC QP modes based on real-time access patterns. For frequently accessed peers, the system transitions to RC QPs to eliminate the latency overhead of dynamic connection management. For less frequent accesses, DC QPs are maintained to minimize memory consumption. This dynamic selection optimizes the balance between latency and memory usage.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system monitors access metrics (access counts and rates) as feedback to determine when to transition between DC and RC QP states. This feedback mechanism ensures that RC QPs are established only when the latency benefits justify the memory cost, while DC QPs are used when memory efficiency is more critical.

Inventive Principle:
Principle #23Feedback

3Reliability

If RC QPs are established for all peers to ensure reliable communication, then communication stability is improved, but device complexity increases due to managing large numbers of persistent connections

Engineering Contradiction:
Improvecommunication stabilityVSAvoidconnection management complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system applies different connection qualities to different peers based on their access patterns. Instead of uniformly using RC QPs for all peers, the system locally optimizes each peer's connection type - using RC QPs only for frequently accessed peers where stability is critical, and DC QPs for less frequent accesses where the complexity overhead would be unjustified.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system dynamically adjusts the number and type of active connections based on actual usage patterns. By monitoring access metrics over time windows, the system automatically transitions connections between DC and RC states, reducing the overall complexity of connection management while maintaining stability for active communications.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS12443547B2Queue-pair management
Publication Date: 2025.10.14 MELLANOX TECHNOLOGIES LTD(IL)
  • US12443547B2 patent drawing
  • US12443547B2 patent drawing
  • US12443547B2 patent drawing

AI summary

A system is described which monitors accesses to one or more peers using queue pairs (QPs). Each access is associated with a respective peer of the one or more peers. The system identifies, based on one or more of a rate and a count of the monitored accesses to the one or more QPs, a first peer of the one or more peers. In response to identifying the first peer, a reliable connection QP is established for the first peer of the one or more peers.