skip to main content
10.1145/2741948.2741950acmconferencesArticle/Chapter ViewAbstractPublication PageseurosysConference Proceedingsconference-collections
research-article

Application-assisted live migration of virtual machines with Java applications

Published:17 April 2015Publication History

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.

Skip Supplemental Material Section

Supplemental Material

a15-sidebyside.mp4

References

  1. HotSpot glossary of terms. http://openjdk.java.net/groups/hotspot/docs/HotSpotGlossary.html.Google ScholarGoogle Scholar
  2. HotSpot virtual machine. http://openjdk.java.net/groups/hotspot.Google ScholarGoogle Scholar
  3. Popularity of Java applications. http://www.java.com/en/about.Google ScholarGoogle Scholar
  4. JVM Tool Interface (TI). http://docs.oracle.com/javase/6/docs/platform/jvmti/jvmti.html.Google ScholarGoogle Scholar
  5. Four Java cloud platforms reviewed. http://www.javaworld.com/article/2078443/mobile-java/four-java-cloud-platforms-reviewed.html.Google ScholarGoogle Scholar
  6. Apache Derby database in Java. http://db.apache.org/derby.Google ScholarGoogle Scholar
  7. OpenJDK 7. http://openjdk.java.net/projects/jdk7/.Google ScholarGoogle Scholar
  8. The SPECjvm2008 benchmark suite. http://www.spec.org/jvm2008.Google ScholarGoogle Scholar
  9. Sunflow open source rendering system. http://sunflow.sourceforge.net.Google ScholarGoogle Scholar
  10. 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 ScholarGoogle ScholarCross RefCross Ref
  11. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  12. 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 ScholarGoogle ScholarCross RefCross Ref
  13. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  14. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  15. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  16. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  17. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  18. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  19. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  20. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  21. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  22. 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 ScholarGoogle ScholarCross RefCross Ref
  23. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  24. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  25. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  26. 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 ScholarGoogle ScholarCross RefCross Ref
  27. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  28. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  29. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  30. M. Nelson, B.-H. Lim, and G. Hutchins. Fast transparent migration for virtual machines. In Proceedings of the USENIX Annual Technical Conference, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  32. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  33. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  34. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  35. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  36. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  37. 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 ScholarGoogle ScholarDigital LibraryDigital Library
  38. 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 ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Application-assisted live migration of virtual machines with Java applications

            Recommendations

            Comments

            Login options

            Check if you have access through your login credentials or your institution to get full access on this article.

            Sign in
            • Published in

              cover image ACM Conferences
              EuroSys '15: Proceedings of the Tenth European Conference on Computer Systems
              April 2015
              503 pages
              ISBN:9781450332385
              DOI:10.1145/2741948

              Copyright © 2015 ACM

              Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

              Publisher

              Association for Computing Machinery

              New York, NY, United States

              Publication History

              • Published: 17 April 2015

              Permissions

              Request permissions about this article.

              Request Permissions

              Check for updates

              Qualifiers

              • research-article

              Acceptance Rates

              Overall Acceptance Rate241of1,308submissions,18%

              Upcoming Conference

              EuroSys '24
              Nineteenth European Conference on Computer Systems
              April 22 - 25, 2024
              Athens , Greece

            PDF Format

            View or Download as a PDF file.

            PDF

            eReader

            View online with eReader.

            eReader