Abstract
Live virtual machine migration has become an important management method in clusters and data centers. It allows application isolation and facilitates server consolidation, load balancing, fault management and power saving. Existing live migration approaches pre-copy have to iteratively copy redundant memory pages, another approach post-copy would lead to a lot of page fault and application degradation. This paper presents the detail design of a novel three-stage memory copy live migration approach. Memory pages only need to be transmitted twice at most, and page fault just occurred in small part of dirty pages. We implement it in Xen 4.1.4 and compare it against Xen’s original pre-copy approach. The evaluation results under various memory workloads show that our approach can significantly reduce total migration time and total pages transferred.
Keywords
This work is supported by the National Basic Research Program of China (973 Program) under grants 2013CB329100 and 2013CB3291005.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Goldberg, R.P.: Survey of virtual machine research. IEEE Computer, 34–45 (1974)
Barham, P., Dragovic, B., Fraser, K., Hand, S., Harris, T., Ho, A., Neugebauer, R., Pratt, I., Warfield, A.: Xen and the art of virtualization. In: ACM SOSP, pp. 164–177 (2003)
Clark, C., Fraser, K., Hand, S., Hansen, J., Jul, E., Limpach, C., Pratt, I., Warfield, A.: Live migration of virtual machines. In: Network System Design and Implementation, pp. 273–286 (2005)
Hines, M., Gopalan, K.: Post-copy based live virtual machine migration using adaptive pre-paging and dynamic self-ballooning. In: ACM SIGOPS on Virtual Execution Environments, pp. 51–60 (2009)
Nelson, M., Lim, B., Hutchines, G.: Fast transparent migration for virtual machines. In: USENIX Annual Technical Conference, pp. 391–394 (2005)
Liu, H., Jin, H., Liao, X., Hu, L., Yu, C.: Live migration of virtual machine based on full system trace and replay. In: 18th International Symposium on High Performance Distributed Computing, pp. 101–110 (2009)
Kivity, A., Kamay, Y., Laor, D.: KVM: the linux virtual machine monitor. In: Ottawa Linux Symposium, pp. 225–230 (2007)
Jin, H., Deng, L., Wu, S., Shi, X., Pan, X.: Live virtual machine migration with adaptive memory compression. In: IEEE International Conference on Cluster Computing, pp. 1–10 (2009)
Wood, T., Shenoy, P., Venkataramani, A., Yousif, M.: Black-box and gray-box strategies for virtual machine migration. In: 4th USENIX Symposium on Networked Systems Design and Implementation, pp. 229–242 (2007)
A utility for testing memory, http://pyropus.ca/software/memtester/
Denning, P.J.: The working set model for program behavior. Communications of the ACM, 323–333 (1968)
Waldspurger, C.: Memory resource management in VMware ESX server. ACM Operating Systems Design and Implementation, 181–194 (2002)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Yin, F., Liu, W., Song, J. (2014). Live Virtual Machine Migration with Optimized Three-Stage Memory Copy. In: Park, J., Stojmenovic, I., Choi, M., Xhafa, F. (eds) Future Information Technology. Lecture Notes in Electrical Engineering, vol 276. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-40861-8_11
Download citation
DOI: https://doi.org/10.1007/978-3-642-40861-8_11
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-40860-1
Online ISBN: 978-3-642-40861-8
eBook Packages: EngineeringEngineering (R0)