IP Library Granted Patent US 10,055,381
Granted Patent B2
US 10,055,381 · App. 14/948,306 · Granted Aug 21, 2018

Controller and method for migrating RDMA memory mappings of a virtual machine

Inventors: Bernard Metzler (Zurich, CH); Jonas Pfefferle (Fällanden, CH); Patrick Stuedi (Zurich, CH); Animesh K. Trivedi (Zurich, CH)
Assignee: International Business Machines Corporation
G06F15/167
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,055,381
App. No.
14/948,306
Filed
Nov 21, 2015
Granted
Aug 21, 2018
Kind
B2
Art Unit
2457
USPC
709/212
Abstract

An RDMA-capable network interface controller provides an RDMA access to a physical memory using multiple mapping tables; the physical memory includes a plurality of physical memory regions, at least some of which are associated with a virtual memory region. A mapping unit is configured to map memory region identifiers, each of which is adapted to identify a virtual memory region and an associated physical memory region, to virtual memory regions and to the associated physical memory regions based on a mapping table selected from multiple mapping tables based on a network identifier. Each of the mapping tables is indexed using a plurality of memory region identifiers, each associated with a virtual memory region and a physical memory region. A processing unit is configured to receive an access request from a client for accessing one of the physical memory regions associated with a virtual memory region.

Claims (14)

1. A method for providing a remote direct memory access (RDMA) to a physical memory of a physical machine when a virtual machine is migrated to the physical machine from another physical machine, the method comprising:

mapping memory region identifiers, each of which is adapted to identify a virtual memory region of the virtual machine and an associated physical memory region of the physical machine, to virtual memory regions and to the associated physical memory regions based on a mapping table that is indexed using a plurality of memory region identifiers, each of the plurality of memory region identifiers being associated with one of the virtual memory regions and one of the physical memory regions,

wherein, when the virtual machine is migrated to the physical machine from the other physical machine, the mapping table is generated by replaying a memory registration log received from the other physical machine and by replacing, for each memory region identifier of the mapping table, the associated physical memory region of the other physical machine with the associated physical memory region of the physical machine,

receiving an access request from a client for accessing one of the physical memory regions being associated with one of the virtual memory regions of the virtual machine, wherein the access request includes one of the plurality of memory region identifiers identifying the virtual memory region and the associated physical memory region, and

providing access for the client to the virtual memory region and the associated physical memory region using the information contained in the selected mapping table and using the received memory region identifier.

2. The method of claim 1 , wherein the access request is a receive request or a transmit request.

3. The method of claim 1 , further comprising generating a new memory registration log responsive to the access request, and transmitting the new memory registration log to a third physical machine when the virtual machine is migrated from the physical machine to the third physical machine.

4. A non-transitory computer readable medium comprising computer executable instructions which when executed by a computer cause the computer to perform a method for providing a remote direct memory access (RDMA) to a physical memory of a physical machine when a virtual machine is migrated to the physical machine from another physical machine, the method comprising:

mapping memory region identifiers, each of which is adapted to identify a virtual memory region of the virtual machine and an associated physical memory region of the physical machine, to virtual memory regions and to the associated physical memory regions based on a mapping table that is indexed using a plurality of memory region identifiers, each of the plurality of memory region identifiers being associated with one of the virtual memory regions and one of the physical memory regions,

wherein, when the virtual machine is migrated to the physical machine from the other physical machine, the mapping table is generated by replaying a memory registration log received from the other physical machine and by replacing, for each memory region identifier of the mapping table, the associated physical memory region of the other physical machine with the associated physical memory region of the physical machine,

receiving an access request from a client for accessing one of the physical memory regions being associated with one of the virtual memory regions of the virtual machine, wherein the access request includes one of the plurality of memory region identifiers identifying the virtual memory region and the associated physical memory region, and

providing access for the client to the virtual memory region and the associated physical memory region using the information contained in the selected mapping table and using the received memory region identifier.

5. The computer readable medium of claim 4 , wherein the access request is a receive request or a transmit request.

6. The computer readable medium of claim 4 , wherein the method further comprises generating a new memory registration log responsive to the access request, and transmitting the new memory registration log to a third physical machine when the virtual machine is migrated from the physical machine to the third physical machine.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 21, 2015
From: METZLER, BERNARD; PFEFFERLE, JONAS; STUEDI, PATRICK; TRIVEDI, ANIMESH K.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 037110/0537 →
Continuity (2)
Continuation 14657015 · Mar 13, 2015
Related Publication 20160267052A1 · Sep 15, 2016