Skip to main content

Live Virtual Machine Migration with Optimized Three-Stage Memory Copy

  • Conference paper
Future Information Technology

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 276))

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.

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 to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Goldberg, R.P.: Survey of virtual machine research. IEEE Computer, 34–45 (1974)

    Google Scholar 

  2. 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)

    Google Scholar 

  3. 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)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. Nelson, M., Lim, B., Hutchines, G.: Fast transparent migration for virtual machines. In: USENIX Annual Technical Conference, pp. 391–394 (2005)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. Kivity, A., Kamay, Y., Laor, D.: KVM: the linux virtual machine monitor. In: Ottawa Linux Symposium, pp. 225–230 (2007)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. 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)

    Google Scholar 

  10. A utility for testing memory, http://pyropus.ca/software/memtester/

  11. Denning, P.J.: The working set model for program behavior. Communications of the ACM, 323–333 (1968)

    Google Scholar 

  12. Waldspurger, C.: Memory resource management in VMware ESX server. ACM Operating Systems Design and Implementation, 181–194 (2002)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Feiran Yin .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics