skip to main content
10.1145/2892242.2892256acmconferencesArticle/Chapter ViewAbstractPublication PagesveeConference Proceedingsconference-collections
research-article
Open Access

SRVM: Hypervisor Support for Live Migration with Passthrough SR-IOV Network Devices

Published:25 March 2016Publication History

ABSTRACT

Single-Root I/O Virtualization (SR-IOV) is a specification that allows a single PCI Express (PCIe) device (ysical function or PF) to be used as multiple PCIe devices (virtual functions or VF). In a virtualization system, each VF can be directly assigned to a virtual machine (VM) in passthrough mode to significantly improve the network performance. However, VF passthrough mode is not compatible with live migration, which is an essential capability that enables many advanced virtualization features such as high availability and resource provisioning.

To solve this problem, we design SRVM which provides hypervisor support to ensure the VF device can be correctly used by the migrated VM and the applications. SRVM is implemented in the hypervisor without modification in guest operating systems or guest VM drivers. Our experimental results show that SRVM can effectively migrate all memory state, and there is no data loss or corruption in applications after live migration. SRVM does not increase VM downtime. It only costs limited resources (an extra CPU core), and there is no significant runtime overhead in VM network performance. In fact, since the VF can continue to be used during the pre-copy ase, it offers network throughput which is 9.6 times and network latency which is 98% lower compared to other solutions that switch to para-virtualization mode during live migration.

References

  1. "InfiniBand Trade Association," http://www.infinibandta.org.Google ScholarGoogle Scholar
  2. "RDMA Consortium," http://www.rdmaconsortium.org.Google ScholarGoogle Scholar
  3. "HIGH PERFORMANCE, OPEN STANDARD VIRTUALIZATION WITH NFV AND SDN,"http://www.windriver.com/whitepapers/ovp/ovp_whitepaper.pdf, [Online;accessed 12-Oct-2015].Google ScholarGoogle Scholar
  4. "WIND RIVER TITANIUM SERVER,"http://www.windriver.com/without-compromise/resources/pdf/CGCS_Product_Overview.pdf,[Online; accessed 12-Oct-2015].Google ScholarGoogle Scholar
  5. A. Kadav and M. M. Swift, "Live migration of direct-access devices," SIGOPS Oper. Syst. Rev., vol. 43, no. 3, pp. 95--104, Jul. 2009.Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Z. Pan, Y. Dong, Y. Chen, L. Zhang, and Z. Zhang, "Compsc: Live migration withpass-through devices," in Proceedings of the 8th ACM SIGPLAN/SIGOPS Conference on Virtual Execution Environments, ser. VEE'12. New York, NY, USA: ACM, 2012, pp. 109--120.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. E. Zhai, G. D. Cummings, and Y. Dong, "Live migration with pass-through devicefor linux vm," in OLS'08: The 2008 Ottawa Linux Symposium, 2008,pp. 261--268.Google ScholarGoogle Scholar
  8. "Microsoft Hyper-V," http://www.microsoft.com/en-us/server-cloud/solutions/virtualization.aspx,[Online; accessed 20-Aug-2015].Google ScholarGoogle Scholar
  9. "Linux ethernet bonding driver howto," https://www.kernel.org/doc/Documentation/networking/bonding.txt, 2011,[Online; accessed 20-Aug-2015].Google ScholarGoogle Scholar
  10. Intel, "Intel Virtualization Technology for Direct I/O,"[Oct-2014].Google ScholarGoogle Scholar
  11. C. Clark, K. Fraser, S. Hand, J. G. Hansen, E. Jul, C. Limpach, I. Pratt, andA. Warfield, "Live migration of virtual machines," in Proceedings of the 2nd conference on Symposium on Networked Systems Design & Implementation-Volume 2. USENIX Association, 2005, pp. 273--286.Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. VMware, "VMware vSere vMotion Architecture, Performance and Best Practicesin VMware vSere 5," [Technical White Paper].Google ScholarGoogle Scholar
  13. Intel, "Intel 64 and IA-32 Architectures Software Developer's Manual,"[May-2011].Google ScholarGoogle Scholar
  14. ----, "Intel 82599 10 GbE Controller Datasheet," [Feb-2015 Revision 3.1331520-002].Google ScholarGoogle Scholar
  15. ----, "Intel 82599 SR-IOV Driver Companion Guide," [May-2010 Revision1.00].Google ScholarGoogle Scholar
  16. "Data Plane Development Kit," http://dpdk.org, [Accessed on Nov 17, 2015].Google ScholarGoogle Scholar
  17. P. Barham, B. Dragovic, K. Fraser, S. Hand, T. Harris, A. Ho, R. Neugebauer,I. Pratt, and A. Warfield, "Xen and the Art of Virtualization," inProceedings of the Nineteenth ACM Symposium on Operating Systems Principles, ser. SOSP'03. New York,NY, USA: ACM, 2003.Google ScholarGoogle Scholar
  18. "Kernel-based Virtual Machine," http://www.linux-kvm.org, [Online;accessed 15-Oct-2015].Google ScholarGoogle Scholar
  19. "VMware," http://www.vmware.com, [Online; accessed 15-Oct-2015].Google ScholarGoogle Scholar
  20. H. Z. Weidong Han,"Live Migration with SR-IOV Pass-through," [Presentation on KVM Forum 2015, Aug 2015].Google ScholarGoogle Scholar
  21. PCI-SIG, "Address Translation Services," [Jan-26-2009 Revision 1.1].Google ScholarGoogle Scholar
  22. ----, "PCI Express Base Specification Revision 3.0," [Nov-10--2010 Revision 3.0].Google ScholarGoogle Scholar
  23. "Pktgen-dpdk: Traffic generator powered by DPDK,"http://dpdk.org/browse/apps/pktgen-dpdk/refs/, [Accessed on Nov 17, 2015].Google ScholarGoogle Scholar

Index Terms

  1. SRVM: Hypervisor Support for Live Migration with Passthrough SR-IOV Network Devices

      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
        VEE '16: Proceedings of the12th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments
        March 2016
        186 pages
        ISBN:9781450339476
        DOI:10.1145/2892242

        Copyright © 2016 Owner/Author

        Permission to make digital or hard copies of part or all 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 third-party components of this work must be honored. For all other uses, contact the Owner/Author.

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 25 March 2016

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        VEE '16 Paper Acceptance Rate10of29submissions,34%Overall Acceptance Rate80of235submissions,34%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader