IP Library Granted Patent US 8,904,384
Granted Patent B2
US 8,904,384 · App. 13/160,078 · Granted Dec 2, 2014

Reducing data transfer overhead during live migration of a virtual machine

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 8,904,384
App. No.
13/160,078
Granted
Dec 2, 2014
Kind
B2
Abstract

A computer-implemented method is provided for reducing network traffic associated with live migration. The method comprises selecting a virtual machine on a first physical host for migration to a second physical host, and providing each application running in the selected virtual machine with notification that the migration has started. In response to receiving the notification that the migration has started, each application reducing the number of memory pages in use during the migration. The selected virtual machine and each application is then migrated from the first physical host to the second physical host, wherein the migration of each application includes migration of the reduced number of memory pages. Non-limiting examples of methods that may be used to reduce the number of memory pages includes identifying memory that contains garbage, reducing the size of the heap, increasing the pause time used for garbage collection, deferring just-in-time compilation of hot methods, and releasing caches and buffers.

Claims (37)

1. A computer-implemented method for reducing network traffic associated with live migration, comprising:

selecting a virtual machine on a first physical host for migration to a second physical host;

providing each application running in the selected virtual machine with a notification that the migration has started;

in response to receiving the notification that the migration has started, each application reducing the number of memory pages in use;

migrating the selected virtual machine and each application from the first physical host to the second physical host, wherein the migration of each application includes migration of the reduced number of memory pages; and

in response to receiving notification that the migration has started, instructing a just-in-time compiler to defer compilation of the bytecode of a method into machine code.

2. The computer-implemented method of claim 1 , further comprising:

providing notification to each application that the migration has completed; and

in response to receiving notification that the migration has completed, each application allowing the just-in-time compiler to compile the method.

3. A computer-implemented method for reducing network traffic associated with live migration, comprising:

selecting a virtual machine on a first physical host for migration to a second physical host;

providing each application running in the selected virtual machine with a notification that the migration has started;

in response to receiving the notification that the migration has started, each application reducing the number of memory pages in use;

migrating the selected virtual machine and each application from the first physical host to the second physical host, wherein the migration of each application includes migration of the reduced number of memory pages; and

in response to receiving notification that the migration has started, instructing the selected virtual machine to release caches in use by the applications running on the selected virtual machine.

4. The computer-implemented method of claim 3 , further comprising:

providing each application with notification that the migration has completed; and

in response to receiving the notification that the migration has completed, allowing the selected virtual machine to rebuild caches as needed by the applications running on the selected virtual machine.

5. The computer-implemented method of claim 3 , wherein the selected virtual machine is running a Java Virtual Machine using a zip cache.

6. A computer program product including computer usable program code embodied on a computer usable storage medium for reducing network traffic associated with live migration, the computer program product comprising:

computer usable program code for selecting a virtual machine on a first physical host for migration to a second physical host;

computer usable program code for providing each application in the selected virtual machine with notification that the migration has started;

computer usable program code for each application reducing the number of memory pages in use during the migration in response to receiving the notification that the migration has started;

computer usable program code for migrating the selected virtual machine and each application from the first physical host to the second physical host, wherein the migration of each application includes migration of the reduced number of memory pages; and

computer usable program code for instructing a just-in-time compiler to defer compilation of the bytecode of a method into machine code in response to receiving the notification that the migration has started.

7. The computer program product of claim 6 , further comprising:

computer usable program code for providing each application with notification that the migration has completed; and

computer usable program code for each application allowing the just-in-time compiler to compile the method in response to receiving notification that the migration has completed.

8. A computer program product including computer usable program code embodied on a computer usable storage medium for reducing network traffic associated with live migration, the computer program product comprising:

computer usable program code for selecting a virtual machine on a first physical host for migration to a second physical host;

computer usable program code for providing each application in the selected virtual machine with notification that the migration has started;

computer usable program code for each application reducing the number of memory pages in use during the migration in response to receiving the notification that the migration has started;

computer usable program code for migrating the selected virtual machine and each application from the first physical host to the second physical host, wherein the migration of each application includes migration of the reduced number of memory pages; and

computer usable program code for instructing the selected virtual machine to release caches in use by the applications running on the selected virtual machine in response to receiving notification that the migration has started.

9. The computer program product of claim 8 , further comprising:

computer usable program code for providing notification to each application that the migration of the selected virtual machine has completed; and

computer usable program code for allowing the selected virtual machine to rebuild caches as needed by the applications running on the selected virtual machine in response to receiving the notification that the migration has completed.

Assignments (5)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 6, 2019
From: LENOVO ENTERPRISE SOLUTIONS (SINGAPORE) PTE LTD.
To: LENOVO INTERNATIONAL LIMITED
Reel/Frame 050300/0570 →
CORRECTIVE ASSIGNMENT TO CORRECT THE ASSIGNMENT DOCUMENT CONTAINING TYPO ERRORS PREVIOUSLY RECORDED AT REEL: 037101 FRAME: 0969. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Dec 28, 2015
From: LENOVO ENTERPRISE SOLUTIONS (SINGAPORE) PTE. LTD.
To: LENOVO INTERNATIONAL LIMITED
Reel/Frame 037689/0190 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 12, 2015
From: LENOVO ENTERPRISE SOLUTIONS (SINGAPORE) PTE. LTD.
To: LENOVO INTERNATIONAL LIMITED
Reel/Frame 037101/0969 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 10, 2014
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: LENOVO ENTERPRISE SOLUTIONS (SINGAPORE) PTE. LTD.
Reel/Frame 034194/0111 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 14, 2011
From: LOW, ANDREW R.; NAGESHAPPA, PRASHANTH K.; PALANIAPPAN, SATHISKUMAR; SINGH, BALBIR
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 026442/0918 →