计算机科学 ›› 2013, Vol. 40 ›› Issue (8): 63-65.

• 网络与通信 • 上一篇    下一篇

基于内存迭代拷贝的Xen虚拟机动态迁移机制研究

熊安萍,徐晓龙   

  1. 重庆邮电大学计算机科学与技术学院 重庆400065;重庆邮电大学计算机科学与技术学院 重庆400065
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受重庆市教委科学技术研究项目(KJ120513),工信部2012年物联网发展专项资金项目(2-5)资助

Research on Mechanism of Xen Virtual Machine Dynamic Migration Based on Memory Iterative Copies

XIONG An-ping and XU Xiao-long   

  • Online:2018-11-16 Published:2018-11-16

摘要: 为减少虚拟机动态迁移时间,Xen采用了Pre-Copy算法来选择合适的时间进行停机拷贝,以保证在低负载或空负载时的虚拟机迁移的优越性能,但在高负载环境下,Pre-Copy算法对内存页的重复迭代严重影响了虚拟机迁移的效率。基于Xen虚拟机内存迭代拷贝算法,提出了一种内存分片迭代拷贝机制,即通过缩短迭代拷贝的终止时间来减少虚拟机动态迁移所花费的时间。实验结果表明,内存分片迭代机制可以有效提升Xen虚拟机动态迁移的性能。

关键词: 动态迁移,虚拟机,Pre-Copy算法,分片迭代拷贝,迁移时间

Abstract: In order to reduce the dynamic migration time of virtual machine,the pre-copy algorithm was used in Xen virtual to choose the right time for downtime copy to guarantee the superior performance of virtual machine’s migration in low load or empty load.But with heavy load,Pre-copy algorithm needs to iterative repeatly to the memory pages,which affects processing performance seriously.With algorithm of Xen virtual machine iterative copies,we proposed a mechanism of fragments interative copies to reduce virtual machine live migration time by cutting the termination of time to iterative copy.The results of experiment show that mechanism of memory fragment iteration enhances performance of the live migration of Xen virtual machine.

Key words: Dynamic migration,Virtual machine,Pre-Copy algorithm,Fragments interative copies,Migration time

[1] 刘铭,张炯,龙翔.基于Xen虚拟机全系统在线增量迁移的设计与实现[J].微计算机信息,2010,26(10-3):162-164
[2] Intel Corporation.System virtualization:principle & implementation[M].Beijing:Tsinghua University Press,2008
[3] 董耀祖,周正伟.基于X86架构的系统虚拟机技术与应用[J].计算机工程,2006,32(13):71-73
[4] 刘鹏程,陈榕.面向云计算的虚拟机动态迁移框架[J].计算机工程,2010,36(5):37-39
[5] 刘可超,李小勇.基于Xen的虚拟磁盘调度算法改进[J].微型电脑应用,2010,26(4):51-53
[6] Barham P,Dragovic B,Fraser K,et al.Xen and the art of virtua-lization[C]∥Proceedings of the nineteenth ACM symposium on Operating Systems Principles(SOSP19).New York:ACM Press,2003:164-177
[7] 阮敏.Xen环境下实时迁移结构和算法研究[D].大连:大连海事大学,2009
[8] 李建彬.基于虚拟机的分布式容灾备份技术研究[D].长沙:国防科学技术大学,2010
[9] 高翔.基于Xen的虚拟机动态迁移算法优化[D].深圳:哈尔滨工业大学,2010
[10] 付超.基于Excalibur系统的Xen动态迁移优化与研究[D].北京:北京邮电大学,2011
[11] Clark C,Fraser K,Hand S,et al.Live migration of virtual machines[C]∥Proceedings of the 2nd Conference on Networked Systems Design & Implementation.2005:273-286

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!