Post-copy live migration of virtual machines
Authors:
Top Cited Papers
Open Access
- 31 July 2009
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGOPS Operating Systems Review
- Vol. 43 (3) , 14-26
Abstract
We present the design, implementation, and evaluation of post-copy based live migration for virtual machines (VMs) across a Gigabit LAN. 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 while maintaining the liveness of the VM during migration. We compare post-copy extensively against the traditional pre-copy approach on the Xen Hypervisor. Using a range of VM workloads we show that post-copy improves several metrics including pages transferred, total migration time, and network overhead. We facilitate the use of post-copy with adaptive prepaging techniques to minimize the number of page faults across the network. We propose different prepaging strategies and quantitatively compare their effectiveness in reducing network-bound page faults. Finally, we eliminate the transfer of free memory pages in both pre-copy and post-copy through a dynamic self-ballooning (DSB) mechanism. DSB periodically reclaims free pages from a VM and significantly speeds up migration with negligible performance impact on VM workload.Keywords
This publication has 15 references indexed in Scilit:
- Lightweight process migration and memory prefetching in openMosix2008 IEEE International Symposium on Parallel and Distributed Processing, 2008
- Live wide-area migration of virtual machines including local persistent state2007
- Self-migration of operating systems2004
- Xen and the art of virtualization2003
- Process migrationACM Computing Surveys, 2000
- Eine Analyse des PrepagingsComputing, 1979
- On the Paging Performance of Array AlgorithmsIEEE Transactions on Computers, 1977
- Prepaging and Applications to Array AlgorithmsIEEE Transactions on Computers, 1976
- The working set model for program behaviorCommunications of the ACM, 1968
- Resource management for a medium scale time-sharing operating systemCommunications of the ACM, 1968