Virtual Machine RDMA Interface Bypassing OS for Low Latency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In virtual computing environments, traditional RDMA data transfer methods introduce significant overhead due to the need for data to pass through virtual network devices, leading to increased latency and reduced bandwidth.

Innovation Solution

Implementing a Virtual Machine RDMA Interface (VMRI) that bypasses the operating system by directly transferring data between application memory spaces using RDMA-based protocols, such as Virtual Interface Architecture, Infiniband, or Remote Direct Data Placement, to establish queue pairs and facilitate direct data placement between virtual machines.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data transfer passes through virtual network devices in a virtualized environment, then data transfer between virtual machines is enabled, but overhead increases leading to increased latency and reduced bandwidth

Engineering Contradiction:
Improvedata transfer capabilityVSAvoidlatency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts the data transfer path from the virtual network device overhead by implementing RDMA operations that bypass the virtual switch and virtual network device processing layers. Direct RDMA connections are established between virtual machine network interfaces, removing the intermediate virtualization layer from the critical data path and eliminating its associated latency.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces a RDMA facilitator component that acts as an intermediary to manage and orchestrate direct RDMA connections between virtual machines. This facilitator handles connection setup, memory region registration, and queue pair management, enabling direct peer-to-peer data transfer while maintaining virtualization management capabilities.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If data transfer passes through virtual network devices, then virtual machine networking is achieved, but bandwidth is reduced due to intermediate buffering and processing

Engineering Contradiction:
Improvenetwork connectivityVSAvoidbandwidth
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent removes data from the traditional virtual network device processing path and enables direct memory-to-memory transfer between virtual machines using RDMA. This extraction eliminates intermediate buffering at the virtual switch and network device layers, allowing full network bandwidth to be utilized for direct peer-to-peer communication.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent replaces the mechanical data copying and processing system of virtual network devices with a direct memory access mechanism. Instead of physical data movement through multiple processing stages, RDMA enables direct memory space access between virtual machines, substituting the mechanical transfer process with optimized direct memory operations.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Productivity

If traditional RDMA is used without virtualization bypass, then direct memory access is achieved, but operating system involvement prevents true zero-copy performance

Engineering Contradiction:
Improvedata transfer throughputVSAvoidoperating system involvement
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent extracts the data transfer operation from operating system control by implementing RDMA connections that operate independently of the guest operating system's network stack. Data transfer is initiated and managed directly between virtual machine memory spaces through the RDMA protocol, bypassing OS processing layers and achieving true zero-copy performance.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments the network communication function into two distinct layers: the virtualization management layer (handled by the RDMA facilitator and hypervisor) and the data transfer layer (handled by direct RDMA operations). This segmentation allows OS-independent RDMA operations to coexist with virtualized environment management, enabling high-performance direct memory access without OS involvement in the critical data path.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11372680B2RDMA (remote direct memory access) data transfer in a virtual environment
Publication Date: 2022.06.28 INTEL CORP
  • US11372680B2 patent drawing
  • US11372680B2 patent drawing
  • US11372680B2 patent drawing

AI summary

In an embodiment, a method is provided. In an embodiment, the method provides determining that a message has been placed in a send buffer; and transferring the message to an application on a second virtual machine by bypassing use of an operating system to process the message by directly placing the message in an application memory space from which the application can retrieve the message.