Parallelizing Live Migration of Virtual Machines

被引:32
|
作者
Song, Xiang [1 ,2 ]
Shi, Jicheng [1 ,2 ]
Liu, Ran [1 ,2 ]
Yang, Jian [1 ,2 ]
Chen, Haibo [1 ]
机构
[1] Shanghai Jiao Tong Univ, Inst Parallel & Distributed Syst, Shanghai 200030, Peoples R China
[2] Fudan Univ, Software Sch, Shanghai, Peoples R China
基金
上海市科技启明星计划;
关键词
Design; Performance; Parallelized VM Migration; Parallelized VM Save/Restore; Range Lock;
D O I
10.1145/2517326.2451531
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Live VM migration is one of the major primitive operations to manage virtualized cloud platforms. Such operation is usually mission-critical and disruptive to the running services, and thus should be completed as fast as possible. Unfortunately, with the increasing amount of resources configured to a VM, such operations are becoming increasingly time-consuming. In this paper, we make a comprehensive analysis on the parallelization opportunities of live VM migration on two popular open-source VMMs (i.e., Xen and KVM). By leveraging abundant resources like CPU cores and NICs in contemporary server platforms, we design and implement a system called PMigrate that leverages data parallelism and pipeline parallelism to parallelize the operation. As the parallelization framework requires intensive mmap/munmap operations that tax the address space management system in an operating system, we further propose an abstraction called range lock, which improves scalability of concurrent mutation to the address space of an operating system (i.e., Linux) by selectively replacing the per-process address space lock inside kernel with dynamic and fine-grained range locks that exclude costly operations on the requesting address range from using the per-process lock. Evaluation with our working prototype on Xen and KVM shows that PMigrate accelerates the live VM migration ranging from 2.49X to 9.88X, and decreases the downtime ranging from 1.9X to 279.89X. Performance analysis shows that our integration of range lock to Linux significantly improves parallelism in mutating the address space in VM migration and thus boosts the performance ranging from 2.06X to 3.05X. We also show that PMigrate makes only small disruption to other co-hosted production VMs.
引用
收藏
页码:85 / 95
页数:11
相关论文
共 50 条
  • [31] Evaluating the impacts of hugepage on virtual machines
    Wang, Xiaolin
    Luo, Taowei
    Hu, Jingyuan
    Wang, Zhenlin
    Luo, Yingwei
    SCIENCE CHINA-INFORMATION SCIENCES, 2017, 60 (01)
  • [32] Performance Impact of Futex on Virtual Machines
    Zhang, Yu
    Oertel, Rene
    Rehm, Wolfgang
    UKSIM-AMSS SEVENTH EUROPEAN MODELLING SYMPOSIUM ON COMPUTER MODELLING AND SIMULATION (EMS 2013), 2013, : 657 - 663
  • [33] CloudMon: Monitoring Virtual Machines in Clouds
    Weng, Chuliang
    Liu, Qian
    Li, Kenli
    Zou, Deqing
    IEEE TRANSACTIONS ON COMPUTERS, 2016, 65 (12) : 3787 - 3793
  • [34] Dynamic Adaptive Scheduling for Virtual Machines
    Weng, Chuliang
    Liu, Qian
    Yu, Lei
    Li, Minglu
    HPDC 11: PROCEEDINGS OF THE 20TH INTERNATIONAL SYMPOSIUM ON HIGH PERFORMANCE DISTRIBUTED COMPUTING, 2011, : 239 - 250
  • [35] Evaluating the impacts of hugepage on virtual machines
    Xiaolin WANG
    Taowei LUO
    Jingyuan HU
    Zhenlin WANG
    Yingwei LUO
    ScienceChina(InformationSciences), 2017, 60 (01) : 35 - 50
  • [36] A Hybrid Storage Access Framework for High-Performance Virtual Machines
    Kang, Chih-Kai
    Cai, Yu-Jhang
    Wu, Chin-Hsien
    Hsiu, Pi-Cheng
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2014, 13
  • [37] Novel Online Profiling for Virtual Machines
    Namjoshi, Manjiri A.
    Kulkarni, Prasad A.
    ACM SIGPLAN NOTICES, 2010, 45 (07) : 133 - 144
  • [38] Mapping Virtual Machines onto Physical Machines in Cloud Computing: A Survey
    Pietri, Ilia
    Sakellariou, Rizos
    ACM COMPUTING SURVEYS, 2016, 49 (03)
  • [39] A Survey on Virtual Machine Migration: Challenges, Techniques, and Open Issues
    Zhang, Fei
    Liu, Guangming
    Fu, Xiaoming
    Yahyapour, Ramin
    IEEE COMMUNICATIONS SURVEYS AND TUTORIALS, 2018, 20 (02): : 1206 - 1243
  • [40] Enhancing TCP Throughput of Highly Available Virtual Machines via Speculative Communication
    Gerofi, Balazs
    Ishikawa, Yutaka
    ACM SIGPLAN NOTICES, 2012, 47 (07) : 87 - 96