# US 2012/0259940 A1 · Rdma (remote direct memory access) data transfer in a virtual environment

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0259940 A1
- Document ID: US20120259940A1
- Status: Published application
- Kind: A1
- Application number: 13/523,505
- Filed: 2012-06-14
- Published: 2012-10-11
- Earliest claimed: 2006-12-14
- Assignees: Intel Corporation
- Inventors: William R. Magro; Robert J. Woodruff; Jianxin Xiong
- Web page: https://patentgrep.com/patent/US20120259940A1

## CPC

- G06F 9/5016: {the resource being the memory}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/546: {Message passing systems or structures, e.g. queues}
- G06F 15/17331: {Distributed shared memory [DSM], e.g. remote direct memory access [RDMA]}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2209/548: Queue
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

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.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method comprising:
determining, using circuitry, that a message has been placed in a send buffer, the message being from a first application in a first virtual machine, the first virtual machine including a first virtual processor to execute a first operating system to be comprised in the first virtual machine; and
transferring the message to a second application in a second virtual machine, the second virtual machine including a second virtual processor to execute a second operating system to be comprised in the second virtual machine, the transferring comprising bypassing use of the operating systems to place the message in an application memory space in the second virtual machine from which the second application is to retrieve the message, the bypassing comprising using an interface of the virtual machine monitor to directly place the message in the application memory space, the interface being implemented, at least in part, in hardware.

### Claim 22 (depends on 21)

The method of claim 21, wherein:
the interface comprises a remote direct memory access (RDMA) interface of the virtual machine monitor; and
the RDMA interface is implemented, at least in part, in the hardware.

### Claim 23 (depends on 21)

The method of claim 21, wherein:
the virtual machine monitor is to establish respective corresponding queue pairs in the first and second virtual machines to facilitate the transferring of the message from the first application to the second application.

### Claim 24 (depends on 21)

The method of claim 21, wherein:
placing the message in the application memory space comprises:
determining a corresponding receive queue from which a receive buffer in the application memory space may be determined; and
copying the message from the send buffer to the receive buffer.

### Claim 25 (depends on 21)

The method of claim 21, wherein:
the bypassing comprises using a virtual machine remote direct memory access interface (VMRI) to directly place the message in the application memory space;
the VMRI is comprised in the virtual machine monitor; and
the virtual machine monitor is to virtualize hardware resources into the virtual machines.

### Claim 26 (depends on 25)

The method of claim 25, wherein:
the VMRI complies, at least in part, with RDMA semantics.

### Claim 27 (depends on 21)

The method of claim 21, wherein:
the virtual machine monitor is to comprise a queue pair table that permits the virtual machine monitor to match a send queue with a corresponding receive queue, the send queue being in the first virtual machine and being to include a send request that references the send buffer, the corresponding receive queue being in the second virtual machine and being to include a receive request that references a receive buffer accessible by the second application.

### Claim 28

An apparatus comprising:
logic that includes circuitry, the logic being capable of:
determining that a message has been placed in a send buffer, the message being from a first application in a first virtual machine, the first virtual machine including a first virtual processor to execute a first operating system to be comprised in the first virtual machine; and
transferring the message to a second application in a second virtual machine, the second virtual machine including a second virtual processor to execute a second operating system to be comprised in the second virtual machine, the transferring comprising bypassing use of the operating systems to place the message in an application memory space in the second virtual machine from which the second application is to retrieve the message, the bypassing comprising using an interface of the virtual machine monitor to directly place the message in the application memory space, the interface being implemented, at least in part, in hardware.

### Claim 29 (depends on 28)

The apparatus of claim 28, wherein:
the interface comprises a remote direct memory access (RDMA) interface of the virtual machine monitor; and
the RDMA interface is implemented, at least in part, in the hardware.

### Claim 30 (depends on 28)

The apparatus of claim 28, wherein:
the virtual machine monitor is to establish respective corresponding queue pairs in the first and second virtual machines to facilitate the transferring of the message from the first application to the second application.

### Claim 31 (depends on 28)

The apparatus of claim 28, wherein:
placing the message in the application memory space comprises:
determining a corresponding receive queue from which a receive buffer in the application memory space may be determined; and
copying the message from the send buffer to the receive buffer.

### Claim 32 (depends on 28)

The apparatus of claim 28, wherein:
the bypassing comprises using a virtual machine remote direct memory access interface (VMRI) to directly place the message in the application memory space;
the VMRI is comprised in the virtual machine monitor; and
the virtual machine monitor is to virtualize hardware resources into the virtual machines.

### Claim 33 (depends on 32)

The apparatus of claim 32, wherein:
the VMRI complies, at least in part, with RDMA semantics.

### Claim 34 (depends on 28)

The apparatus of claim 28, wherein:
the virtual machine monitor is to comprise a queue pair table that permits the virtual machine monitor to match a send queue with a corresponding receive queue, the send queue being in the first virtual machine and being to include a send request that references the send buffer, the corresponding receive queue being in the second virtual machine and being to include a receive request that references a receive buffer accessible by the second application.

### Claim 35

Machine-accessible memory storing instructions that when executed by a machine result in carrying out of operations comprising:
determining that a message has been placed in a send buffer, the message being from a first application in a first virtual machine, the first virtual machine including a first virtual processor to execute a first operating system to be comprised in the first virtual machine; and
transferring the message to a second application in a second virtual machine, the second virtual machine including a second virtual processor to execute a second operating system to be comprised in the second virtual machine, the transferring comprising bypassing use of the operating systems to place the message in an application memory space in the second virtual machine from which the second application is to retrieve the message, the bypassing comprising using an interface of the virtual machine monitor to directly place the message in the application memory space, the interface being implemented, at least in part, in hardware.

### Claim 36 (depends on 35)

The machine-accessible memory of claim 35, wherein:
the interface comprises a remote direct memory access (RDMA) interface of the virtual machine monitor; and
the RDMA interface is implemented, at least in part, in the hardware.

### Claim 37 (depends on 35)

The machine-accessible memory of claim 35, wherein:
the virtual machine monitor is to establish respective corresponding queue pairs in the first and second virtual machines to facilitate the transferring of the message from the first application to the second application.

### Claim 38 (depends on 35)

The machine-accessible memory of claim 35, wherein:
placing the message in the application memory space comprises:
determining a corresponding receive queue from which a receive buffer in the application memory space may be determined; and
copying the message from the send buffer to the receive buffer.

### Claim 39 (depends on 35)

The machine-accessible memory of claim 35, wherein:
the bypassing comprises using a virtual machine remote direct memory access interface (VMRI) to directly place the message in the application memory space;
the VMRI is comprised in the virtual machine monitor; and
the virtual machine monitor is to virtualize hardware resources into the virtual machines.

### Claim 40 (depends on 39)

The machine-accessible memory of claim 39, wherein:
the VMRI complies, at least in part, with RDMA semantics.

### Claim 41 (depends on 35)

The machine-accessible memory of claim 35, wherein:
the virtual machine monitor is to comprise a queue pair table that permits the virtual machine monitor to match a send queue with a corresponding receive queue, the send queue being in the first virtual machine and being to include a send request that references the send buffer, the corresponding receive queue being in the second virtual machine and being to include a receive request that references a receive buffer accessible by the second application.
