ABSTRACT
Live migration of virtual machines (VMs) can consume excessive time and resources, and may affect application performance significantly if VM memory pages get dirtied faster than their content can be transferred to the destination. Existing approaches to this problem transfer memory content faster with high-speed networks, slow down the dirtying of memory pages by throttling the execution of applications, or reduce the amount of memory content to be transferred, for example, using compression. However, these approaches incur high resource costs or application performance penalties. In this paper, we propose to skip the transfer of VM memory pages that need not be migrated for the execution of running applications at the destination, by exploiting applications' assistance. We have designed a generic framework for application-assisted live migration and then used it to build and evaluate JAVMM, which migrates VMs running various types of Java applications skipping the transfer of garbage in Java memory. Our experimental results show that JAVMM can reduce the completion time, the network traffic of transferring memory pages, and the application downtime of Java VM migration, all by up to over 90%, compared to the vanilla Xen VM migration, without incurring noticeable performance penalty to applications.
Supplemental Material
- HotSpot glossary of terms. http://openjdk.java.net/groups/hotspot/docs/HotSpotGlossary.html.Google Scholar
- HotSpot virtual machine. http://openjdk.java.net/groups/hotspot.Google Scholar
- Popularity of Java applications. http://www.java.com/en/about.Google Scholar
- JVM Tool Interface (TI). http://docs.oracle.com/javase/6/docs/platform/jvmti/jvmti.html.Google Scholar
- Four Java cloud platforms reviewed. http://www.javaworld.com/article/2078443/mobile-java/four-java-cloud-platforms-reviewed.html.Google Scholar
- Apache Derby database in Java. http://db.apache.org/derby.Google Scholar
- OpenJDK 7. http://openjdk.java.net/projects/jdk7/.Google Scholar
- The SPECjvm2008 benchmark suite. http://www.spec.org/jvm2008.Google Scholar
- Sunflow open source rendering system. http://sunflow.sourceforge.net.Google Scholar
- J. F. Alamdari and K. Zamanifar. A reuse distance based precopy approach to improve live migration of virtual machines. In Proceedings of the 2nd IEEE International Conference on Parallel, Distributed and Grid Computing, pages 551--556, 2012.Google ScholarCross Ref
- N. Bila, E. de Lara, K. Joshi, H. A. Lagar-Cavilla, M. Hiltunen, and M. Satyanarayanan. Jettison: Efficient idle desktop consolidation with partial VM migration. In Proceedings of the 7th ACM European Conference on Computer Systems, pages 211--224, 2012. Google ScholarDigital Library
- N. Bobroff, A. Kochut, and K. Beaty. Dynamic placement of virtual machines for managing SLA violations. In Proceedings of the 10th IFIP/IEEE International Symposium on Integrated Network Management, pages 119--128, 2007.Google ScholarCross Ref
- C. Clark, K. Fraser, S. Hand, J. G. Hansen, E. Jul, C. Limpach, I. Pratt, and A. Warfield. Live migration of virtual machine. In Proceedings of the 3rd USENIX Symposium on Networked Systems Design and Implementation, 2005. Google ScholarDigital Library
- T. Das, P. Padala, V. N. Padmanabhan, R. Ramjee, and K. G. Shin. LiteGreen: Saving energy in networked desktops using virtualization. In Proceedings of the USENIX Annual Technical Conference, 2010. Google ScholarDigital Library
- U. Deshpande, X. Wang, and K. Gopalan. Live gang migration of virtual machines. In Proceedings of the 20th International Symposium on High Performance and Distributed Computing, pages 135--146, 2011. Google ScholarDigital Library
- U. Deshpande, B. Schlinker, E. Adler, and K. Gopalan. Gang migration of virtual machines using cluster-wide deduplication. In Proceedings of the 13th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing, pages 394--401, 2013.Google ScholarDigital Library
- D. Detlefs, C. Flood, S. Heller, and T. Printezis. Garbage-first garbage collection. In Proceedings of the 4th International Symposium on Memory Management, pages 37--48, 2004. Google ScholarDigital Library
- M. Hines and K. Gopalan. Post-copy based live virtual machine migration using adaptive pre-paging and dynamic self-ballooning. In Proceedings of the 2009 ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments, pages 51--60, 2009. Google ScholarDigital Library
- T. Hirofuchi, H. Nakada, S. Itoh, and S. Sekiguchi. Enabling instantaneous relocation of virtual machines with a lightweight VMM extension. In Proceedings of the 10th IEEE/ACM International Conference on Cluster, Cloud and Grid Computing, pages 73--83, 2010. Google ScholarDigital Library
- B. Hu, Z. Lei, Y. Lei, D. Xu, and J. Li. A time-series based precopy approach for live migration of virtual machines. In Proceedings of the 17th IEEE International Conference on Parallel and Distributed Systems, pages 947--952, 2011. Google ScholarDigital Library
- W. Huang, Q. Gao, J. Liu, and D. K. Panda. High performance virtual machine migration with RDMA over modern interconnects. In Proceedings of the 2007 IEEE International Conference on Cluster Computing, pages 11--20, 2007. Google ScholarDigital Library
- H. Jin, L. Deng, S. Wu, X. Shi, and X. Pan. Live virtual machine migration with adaptive memory compression. In Proceedings of the IEEE International Conference on Cluster Computing, pages 1--10, 2009.Google ScholarCross Ref
- C. Jo, E. Gustafsson, J. Son, and B. Egger. Efficient live migration of virtual machines using shared storage. In Proceedings of the 9th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments, pages 41--50, 2013. Google ScholarDigital Library
- A. Koto, H. Yamada, K. Ohmura, and K. Kono. Towards unobtrusive VM live migration for cloud computing platforms. In Proceedings of the Asia-Pacific Workshop on Systems, 2012. Google ScholarDigital Library
- Z. Liu, W. Qu, T. Yan, H. Li, and K. Li. Hierarchical copy algorithm for Xen live migration. In Proceedings of International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery, pages 361--364, 2010. Google ScholarDigital Library
- F. Ma, F. Liu, and Z. Liu. Live virtual machine migration based on improved pre-copy approach. In IEEE International Conference on Software Engineering and Service Sciences, pages 230--233, 2010.Google ScholarCross Ref
- U. F. Minhas, S. R. B. Cully, A. Aboulnaga, K. Salem, and A. Warfield. RemusDB: Transparent high availability for database systems. PVLDB, 4(11), 2011. Google ScholarDigital Library
- A. B. Nagarajan, F. Mueller, C. Engelmann, and S. L. Scott. Proactive fault tolerance for HPC with Xen virtualization. In Proceedings of the 21st Annual International Conference on Supercomputing, pages 23--32, 2007. Google ScholarDigital Library
- R. Nathuji and K. Schwan. VirtualPower: Coordinated power management in virtualized enterprise systems. In Proceedings of 21st ACM SIGOPS Symposium on Operating Systems Principles, pages 265--278, 2007. Google ScholarDigital Library
- M. Nelson, B.-H. Lim, and G. Hutchins. Fast transparent migration for virtual machines. In Proceedings of the USENIX Annual Technical Conference, 2005. Google ScholarDigital Library
- T. Salomie, G. Alonso, T. Roscoe, and K. Elphinstone. Application level ballooning for efficient server consolidation. In Proceedings of the 8th ACM European Conference on Computer Systems, pages 337--350, 2013. Google ScholarDigital Library
- D. P. Scarpazza, P. Mullaney, O. Villa, F. Petrini, V. Tipparaju, D. M. L. Brown, and J. Nieplocha. Transparent system-level migration of PGAS applications using Xen on InfiniBand. In Proceedings of the 2007 IEEE International Conference on Cluster Computing, pages 74--83, 2007. Google ScholarDigital Library
- K. Shiv, K. Chow, Y. Wang, and D. Petrochenko. SPECjvm2008 performance characterization. In Proceedings of the 2009 SPEC Benchmark Workshop on Computer Performance Evaluation and Benchmarking, 2009. Google ScholarDigital Library
- A. Singh, M. Korupolu, and D. Mohapatra. Server-storage virtualization: Integration and load balancing in data centers. In Proceedings of the 2008 ACM/IEEE Conference on Supercomputing, pages 1--12, 2008. Google ScholarDigital Library
- P. Svärd, B. Hudzia, J. Tordsson, and E. Elmroth. Evaluation of delta compression techniques for efficient live migration of large virtual machines. In Proceedings of the 7th Conference on Virtual Execution Environments, pages 111--120, 2011. Google ScholarDigital Library
- D. Ungar. Generation scavenging: A non-disruptive high performance storage reclamation algorithm. In Proceedings of the First ACM SIGSOFT/SIGPLAN Software Engineering Symposium on Practical Software Development Environments, pages 157--167, 1984. Google ScholarDigital Library
- T. Wood, P. Shenoy, A. Venkataramani, and M. Yousif. Blackbox and gray-box strategies for virtual machine migration. In Proceedings of the 4th USENIX Conference on Networked Systems Design and Implementation, pages 229--242, 2007. Google ScholarDigital Library
- X. Zhang, Z. Huo, J. Ma, and D. Meng. Exploiting data deduplication to accelerate live virtual machine migration. In Proceedings of the IEEE International Conference on Cluster Computing, pages 88--96, 2010. Google ScholarDigital Library
Index Terms
Application-assisted live migration of virtual machines with Java applications
Recommendations
Post-copy live migration of virtual machines
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 ...
Live gang migration of virtual machines
HPDC '11: Proceedings of the 20th international symposium on High performance distributed computingThis paper addresses the problem of simultaneously migrating a group of co-located and live virtual machines (VMs), i.e, VMs executing on the same physical machine. We refer to such a mass simultaneous migration of active VMs as "live gang migration". ...
Traffic-sensitive live migration of virtual machines
CCGRID '15: Proceedings of the 15th IEEE/ACM International Symposium on Cluster, Cloud, and Grid ComputingIn this paper we address the problem of network contention between the migration traffic and the Virtual Machine (VM) application traffic for the live migration of co-located Virtual Machines. When VMs are migrated with pre-copy, they run at the source ...
Comments