IP Library › Granted Patent US 9,201,676
Granted Patent B2
US 9,201,676 · App. 14/741,761 · Granted Dec 1, 2015

Reducing or suspending transfer rate of virtual machine migration when dirtying rate exceeds a convergence threshold

Inventors: Michael Tsirkin (Yokneam Yillit, IL); Ronen Hod (Shoham, IL)
Assignee: Red Hat Israel, Ltd.
G06F9/45533G06F9/455G06F9/48G06F9/4856G06F2009/4557
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 9,201,676
App. No.
14/741,761
Granted
Dec 1, 2015
Kind
B2
Abstract

An example method for adjusting the rate of transfer of the execution state of a virtual machine undergoing live migration may comprise determining, by a processor, a first rate being a rate of change of an execution state of a virtual machine undergoing live migration from a first computer system to a second computer system. The example method may further comprise determining a second rate being a rate of transfer of the execution state of the virtual machine to the second computer system. The example method may further comprise, responsive to determining that a ratio of the first rate to the second rate exceeds a first threshold ratio, suspending the transfer of the virtual machine execution state to the second computer system.

Claims (35)

1. A method, comprising:

determining, by a processor, a first rate being a rate of change of an execution state of a virtual machine undergoing live migration from a first computer system to a second computer system;

determining a second rate being a rate of transfer of the execution state of the virtual machine to the second computer system; and

responsive to determining that a ratio of the first rate to the second rate exceeds a first threshold ratio, suspending the transfer of the virtual machine execution state to the second computer system, without suspending execution of the virtual machine.

2. The method of claim 1 , wherein the first threshold ratio is less than or equal to 1.

3. The method of claim 1 , further comprising:

responsive to determining that the ratio of the first rate to the second rate is less than a second threshold ratio, resuming the transfer of the virtual machine execution state to the second computer system.

4. The method of claim 3 , wherein the second threshold ratio is equal to the first threshold ratio.

5. The method of claim 1 , wherein the execution state of the virtual machine comprises at least one of: a memory state, a virtual processor state, a virtual device state, or a connectivity state.

6. The method of claim 1 , wherein the first rate is a size of memory pages that have been modified in a unit of time.

7. The method of claim 1 , wherein the second rate is represented by one of: at least a fraction of a maximum network transmission rate or at least a fraction of an observed network transmission rate.

8. The method of claim 1 , further comprising:

responsive to determining that the ratio of the first rate to the second rate has failed to fall below a second threshold ratio, performing a post-copy migration procedure.

9. A system comprising:

a memory; and

a processor, operatively coupled to the memory, to:

determine a first rate being a rate of change of an execution state of a virtual machine undergoing live migration from a first computer system to a second computer system;

determine a second rate being a rate of transfer of the execution state of the virtual machine to the second computer system; and

responsive to determining that a ratio of the first rate to the second rate exceeds a first threshold ratio, suspend the transfer of the virtual machine execution state to the second computer system, without suspending execution of the virtual machine.

10. The system of claim 9 , wherein the first threshold ratio is less than or equal to 1.

11. The system of claim 9 , wherein the processor is further to:

responsive to determining that the ratio of the first rate to the second rate is less than a second threshold ratio, resume the transfer of the virtual machine execution state to the second computer system.

12. The system of claim 11 , wherein the second threshold ratio is equal to the first threshold ratio.

13. The system of claim 9 , wherein the execution state of the virtual machine comprises at least one of: a memory state, a virtual processor state, a virtual device state, or a connectivity state.

14. The system of claim 9 , wherein the first rate is a size of memory pages that have been modified in a unit of time.

15. The system of claim 9 , wherein the second rate is represented by one of: at least a fraction of a maximum network transmission rate or at least a fraction of an observed network transmission rate.

16. A computer-readable non-transitory storage medium comprising executable instructions to cause a processor to:

determine, by the processor, a first rate being a rate of change of an execution state of a virtual machine undergoing live migration from a first computer system to a second computer system;

determine a second rate being a rate of transfer of the execution state of the virtual machine to the second computer system; and

responsive to determining that a ratio of the first rate to the second rate exceeds a first threshold ratio, suspend the transfer of the virtual machine execution state to the second computer system, without suspending execution of the virtual machine.

17. The computer-readable non-transitory storage medium of claim 16 , wherein the first threshold ratio is less than or equal to 1.

18. The computer-readable non-transitory storage medium of claim 16 , further comprising executable instructions to cause the processor to:

responsive to determining that the ratio of the first rate to the second rate is less than a second threshold ratio, resuming the transfer of the virtual machine execution state to the second computer system.

19. The computer-readable non-transitory storage medium of claim 18 , wherein the second threshold ratio is equal to the first threshold ratio.

20. The computer-readable non-transitory storage medium of claim 18 , wherein the execution state of the virtual machine comprises at least one of: a memory state, a virtual processor state, a virtual device state, or a connectivity state.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 25, 2015
From: TSIRKIN, MICHAEL; HOD, RONEN
To: RED HAT ISRAEL, LTD.
Reel/Frame 035904/0482 →
Continuity (2)
Continuation 13903555 · May 28, 2013
Related Publication 20150277962A1 · Oct 1, 2015