Rapid virtual machine suspend and resume
First Claim
1. In a virtualized computer system including a plurality of host computers, a first storage device accessible by the host computers, and a second storage device accessible by the host computers that has lower input/output latency and higher input/output throughput than the first storage device, a method of managing physical resources of the virtualized computer system including the first storage device and the second storage device, said method comprising:
- responsive to a request to power on a VM, selecting one of the host computers in which the VM is to be powered on and reserving space in the second storage device in an amount equal to an expected size of a suspended image of the VM;
upon suspending the VM and receiving acknowledgement that the suspended image of the VM has been saved in the second storage device, decreasing an available capacity of the second storage device by the size of the suspended image of the VM; and
upon resuming the VM, increasing the available capacity of the second storage device by the size of the suspended image of the VM and reserving space in the second storage device in an amount equal to the size of the suspended image of the VM.
2 Assignments
0 Petitions
Accused Products
Abstract
A method of enabling “fast” suspend and “rapid” resume of virtual machines (VMs) employs a cache that is able to perform input/output operations at a faster rate than a storage device provisioned for the VMs. The cache may be local to a computer system that is hosting the VMs or may be shared cache commonly accessible to VMs hosted by different computer systems. The method includes the steps of saving the state of the VM to a checkpoint file stored in the cache and locking the checkpoint file so that data blocks of the checkpoint file are maintained in the cache and are not evicted, and resuming execution of the VM by reading into memory the data blocks of the checkpoint file stored in the cache.
69 Citations
19 Claims
-
1. In a virtualized computer system including a plurality of host computers, a first storage device accessible by the host computers, and a second storage device accessible by the host computers that has lower input/output latency and higher input/output throughput than the first storage device, a method of managing physical resources of the virtualized computer system including the first storage device and the second storage device, said method comprising:
-
responsive to a request to power on a VM, selecting one of the host computers in which the VM is to be powered on and reserving space in the second storage device in an amount equal to an expected size of a suspended image of the VM; upon suspending the VM and receiving acknowledgement that the suspended image of the VM has been saved in the second storage device, decreasing an available capacity of the second storage device by the size of the suspended image of the VM; and upon resuming the VM, increasing the available capacity of the second storage device by the size of the suspended image of the VM and reserving space in the second storage device in an amount equal to the size of the suspended image of the VM. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A non-transitory computer readable medium comprising instructions for causing a computer system to carry out a method of managing physical resources thereof, wherein the computer system includes a plurality of host computers, and the physical resources of the computer system include a first storage device accessible by the host computers, and a second storage device accessible by the host computers that has lower input/output latency and higher input/output throughput than the first storage device, said method including the steps of:
-
responsive to a request to power on a VM, selecting one of the host computers in which the VM is to be powered on and reserving space in the second storage device in an amount equal to an expected size of a suspended image of the VM; upon suspending the VM and receiving acknowledgement that the suspended image of the VM has been saved in the second storage device, decreasing an available capacity of the second storage device by the size of the suspended image of the VM; and upon resuming the VM, increasing the available capacity of the second storage device by the size of the suspended image of the VM and reserving space in the second storage device in an amount equal to the size of the suspended image of the VM. - View Dependent Claims (11, 12, 13)
-
-
14. A virtualized computer system comprising:
-
a plurality of host computers each having one or more virtual machines (VMs) running therein; a storage device accessible by the host computers; a cache device accessible by the host computers, the cache device having lower input/output latency and higher input/output throughput than the storage device; and a management server configured to carry out a method of managing the cache device, the method including the steps of responsive to a request to power on a VM, selecting one of the host computers in which the VM is to be powered on and reserving space in the cache device in an amount equal to an expected size of a suspended image of the VM; upon suspending the VM and receiving acknowledgement that the suspended image of the VM has been saved in the second storage device, decreasing an available capacity of the second storage device by the size of the suspended image of the VM; and upon resuming the VM, increasing the available capacity of the cache device by the size of the suspended image of the VM and reserving space in the cache device in an amount equal to the size of the suspended image of the VM. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification