|
ABSTRACT
We present the design, implementation, and evaluation of post-copy based live migration for virtual machines (VMs) across a Gigabit LAN. Live migration is an indispensable feature in today's virtualization technologies. Post-copy migration defers the transfer of a VM's memory contents until after its processor state has been sent to the target host. This deferral is in contrast to the traditional pre-copy approach, which first copies the memory state over multiple iterations followed by a final transfer of the processor state. The post-copy strategy can provide a "win-win" by reducing total migration time closer to its equivalent time achieved by non-live VM migration. This is done while maintaining the liveness benefits of the pre-copy approach. We compare post-copy extensively against the traditional pre-copy approach on top of the Xen Hypervisor. Using a range of VM workloads we show improvements in several migration metrics including pages transferred, total migration time and network overhead. We facilitate the use of post-copy with adaptive pre-paging in order to eliminate all duplicate page transmissions. Our implementation is able to reduce the number of network-bound page faults to within 21% of the VM's working set for large workloads. Finally, we eliminate the transfer of free memory pages in both migration schemes through a dynamic self-ballooning (DSB) mechanism. DSB periodically releases free pages in a guest VM back to the hypervisor and significantly speeds up migration with negligible performance degradation.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
Paul Barham , Boris Dragovic , Keir Fraser , Steven Hand , Tim Harris , Alex Ho , Rolf Neugebauer , Ian Pratt , Andrew Warfield, Xen and the art of virtualization, Proceedings of the nineteenth ACM symposium on Operating systems principles, October 19-22, 2003, Bolton Landing, NY, USA
|
 |
2
|
Robert Bradford , Evangelos Kotsovinos , Anja Feldmann , Harald Schiöberg, Live wide-area migration of virtual machines including local persistent state, Proceedings of the 3rd international conference on Virtual execution environments, June 13-15, 2007, San Diego, California, USA
[doi> 10.1145/1254810.1254834]
|
| |
3
|
Christopher Clark , Keir Fraser , Steven Hand , Jacob Gorm Hansen , Eric Jul , Christian Limpach , Ian Pratt , Andrew Warfield, Live migration of virtual machines, Proceedings of the 2nd conference on Symposium on Networked Systems Design & Implementation, p.273-286, May 02-04, 2005
|
| |
4
|
Brendan Cully , Geoffrey Lefebvre , Dutch Meyer , Mike Feeley , Norm Hutchinson , Andrew Warfield, Remus: high availability via asynchronous virtual machine replication, Proceedings of the 5th USENIX Symposium on Networked Systems Design and Implementation, p.161-174, April 16-18, 2008, San Francisco, California
|
 |
5
|
|
| |
6
|
|
| |
7
|
|
| |
8
|
HANSEN, J., AND HENRIKSEN, A. Nomadic operating systems. In Master's thesis, Dept. of Computer Science, University of Copenhagen, Denmark (2002).
|
 |
9
|
|
 |
10
|
|
| |
11
|
HO, R. S., WANG, C.-L., AND LAU, F. C. Lightweight process migration and memory prefetching in OpenMosix. In Proc. of IPDPS (2008).
|
| |
12
|
KERRIGHED. http://www.kerrighed.org.
|
| |
13
|
KIVITY, A., KAMAY, Y., AND LAOR, D. kvm: the Linux Virtual Machine Monitor. 2007.
|
| |
14
|
LAGAR-CAVILLA, H. A., WHITNEY, J., SCANNEL, A., RUMBLE, S., BRUDNO, M., DE LARA, E., AND SATYANARAYANAN, M. Impromptu clusters for near-interactive cloud-based services. Tech. rep., CSRG-578, University of Toronto, June 2008.
|
| |
15
|
MAGENHEIMER, D. Add self-ballooning to balloon driver. Discussion on Xen Development mailing list and personal communication, April 2008.
|
 |
16
|
|
| |
17
|
MOSIX. http://www.mosix.org.
|
| |
18
|
|
| |
19
|
NOACK, M. Comparative evaluation of process migration algorithms. Master's thesis, Dresden University of Technology -- Operating Systems Group, 2003.
|
| |
20
|
OPENVZ. Container-based Virtualization for Linux, http://www.openvz.com/.
|
 |
21
|
|
 |
22
|
|
| |
23
|
James S. Plank , Micah Beck , Gerry Kingsley , Kai Li, Libckpt: transparent checkpointing under Unix, Proceedings of the USENIX 1995 Technical Conference Proceedings on USENIX 1995 Technical Conference Proceedings, p.18-18, January 16-20, 1995, New Orleans, Louisiana
|
 |
24
|
|
| |
25
|
|
 |
26
|
Constantine P. Sapuntzakis , Ramesh Chandra , Ben Pfaff , Jim Chow , Monica S. Lam , Mendel Rosenblum, Optimizing the migration of virtual computers, Proceedings of the 5th symposium on Operating systems design and implementation Due to copyright restrictions we are not able to make the PDFs for this conference available for downloading, December 09-11, 2002, Boston, Massachusetts
[doi> 10.1145/1060289.1060324]
|
| |
27
|
Mahadev Satyanarayanan , Benjamin Gilbert , Matt Toups , Niraj Tolia , Ajay Surie , David R. O'Hallaron , Adam Wolbach , Jan Harkes , Adrian Perrig , David J. Farber , Michael A. Kozuch , Casey J. Helfrich , Partho Nath , H. Andres Lagar-Cavilla, Pervasive Personal Computing in an Internet Suspend/Resume System, IEEE Internet Computing, v.11 n.2, p.16-25, March 2007
[doi> 10.1109/MIC.2007.46]
|
| |
28
|
|
| |
29
|
|
| |
30
|
|
| |
31
|
TRIVEDI, K. An analysis of prepaging. Journal of Computing 22 (1979), 191--210.
|
| |
32
|
|
| |
33
|
|
 |
34
|
|
| |
35
|
Andrew Whitaker , Richard S. Cox , Marianne Shaw , Steven D. Grible, Constructing services with interposable virtual hardware, Proceedings of the 1st conference on Symposium on Networked Systems Design and Implementation, p.13-13, March 29-31, 2004, San Francisco, California
|
 |
36
|
|
|