Host Channel Adapter Doorbells for Low-Latency PCIe Messaging

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Intra-node communications over communication buses, such as PCIe, suffer from increased overhead and latency due to the use of Queue Pairs (QPs), which can reduce the benefits of workload offloading and make many-to-one communication inefficient.

Innovation Solution

Utilizing a Host Channel Adapter (HCA) to facilitate low latency communications by writing short 'doorbell' messages to indicate tasks, which the HCA then converts into Completion Queue Entries (CQEs) for devices on the bus, allowing direct task execution.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If Queue Pairs (QPs) are used for intra-node communications, then communication between devices can be established, but overhead and latency increase significantly

Engineering Contradiction:
Improvecommunication establishmentVSAvoidlatency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts the latency-inducing Queue Pair mechanism from the communication path and replaces it with a direct doorbell register write approach. By removing the QP abstraction layer, communications can proceed directly through simple register writes to the target device, eliminating the overhead associated with QP management while maintaining reliable device-to-device communication.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent uses a completion queue that stores copies of doorbell messages for later processing. Instead of requiring complex real-time handshake protocols, the system writes doorbell messages to a completion queue structure, and the target device processes these copied messages at its convenience, reducing latency while ensuring reliable delivery.

Inventive Principle:
Principle #26Copying

2Reliability

If Queue Pairs (QPs) are used for intra-node communications, then device communication is possible, but communication overhead increases

Engineering Contradiction:
Improvedevice communicationVSAvoidcommunication overhead
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent removes the complex Queue Pair management overhead by extracting only the essential communication function. Instead of managing QP states, memory regions, and completion events, the system simplifies communication to direct doorbell register writes, eliminating unnecessary protocol layers while preserving reliable device communication.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The target device autonomously monitors its doorbell register and completion queue without requiring coordinated management from the initiating device. This self-service approach eliminates the need for complex QP state synchronization and handshaking protocols, reducing communication overhead while maintaining reliable device-to-device communication.

Inventive Principle:
Principle #25Self-service

3Adaptability or versatility

If traditional Queue Pairs are used, then communication protocol is established, but many-to-one communication becomes inefficient

Engineering Contradiction:
Improvecommunication protocolVSAvoidmany-to-one communication efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent merges multiple doorbell messages from different source devices into a single shared completion queue structure. Instead of requiring separate QP management for each communicating pair, multiple devices can write doorbell messages to the same completion queue, which are then processed by the target device in a unified manner, greatly improving many-to-one communication efficiency.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The completion queue structure serves as a universal communication interface that can receive doorbell messages from any number of source devices simultaneously. This multi-functional approach allows the same data structure to handle one-to-one, one-to-many, and many-to-one communication patterns efficiently, eliminating the need for specialized QP configurations for different communication scenarios.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS20250254137A1Low latency communication channel over a communications bus using a host channel adapter
Publication Date: 2025.08.07 MELLANOX TECHNOLOGIES LTD(IL)
  • US20250254137A1 patent drawing
  • US20250254137A1 patent drawing
  • US20250254137A1 patent drawing

AI summary

Embodiments of the present disclosure are directed to utilizing a Host Channel Adapter (HCA) to facility low latency intra-node communications over a communications bus such as a Peripheral Component Interconnect express (PCIe) bus, for example. Generally speaking, hardware devices coupled with the communications bus can write short, “doorbell” messages to the HCA. The messages can indicate tasks to be performed by another device also coupled with the communications bus. The HCA in turn can write a Completion Queue Entry (CQE) based on the received message to a Completion Queue (CQ) of the other device. The other device can then read the CQE from the CQ and perform the indicated task.