虚拟机全系统在线迁移

被引:48
作者
张彬彬 [1 ]
罗英伟 [1 ]
汪小林 [1 ]
王振林 [2 ]
孙逸峰 [1 ]
陈昊罡 [1 ]
许卓群 [1 ]
李晓明 [1 ]
机构
[1] 北京大学信息科学技术学院
[2] 美国密歇根理工大学计算机科学系
关键词
虚拟机; 迁移; 全系统; 块位图; Xen;
D O I
暂无
中图分类号
TP391.9 [计算机仿真];
学科分类号
080203 ;
摘要
本文介绍了一种虚拟机全系统在线迁移方法.设计了三阶段迁移方案(Three-Phase Migration,TPM),能迁移包括外存数据在内的虚拟机全系统状态,最小化迁移过程中的虚拟机暂停时间,并保证数据的一致性和完整性.在该方案中,使用了基于Block-bitmap的外存同步方式,由Block-bitmap记录迁移过程中的外存更新.此外,还提出了增量迁移方案(Incremental Migration,IM),当被迁移的虚拟机需要迁移回源主机时,增量迁移能够减少需要迁移的数据量,从而缩短迁移时间,降低迁移造成的性能代价.通过在Xen上的实验表明,该全系统迁移方案即使在I/O密集型的负载情况下仍然执行得很好,迁移过程中的虚拟机暂停时间与共享外存迁移时的暂停时间接近.基于Block-bitmap的外存同步机制简单高效,其监控过程中产生的性能代价低于1%.
引用
收藏
页码:894 / 899
页数:6
相关论文
共 8 条
  • [1] Live migration of virtual machines. C Clark,K Fraser,S Hand,J G Hansen,E Jul,C Limpach,IPratt,A Warfield. Proceedings of the2nd USENIX/ACM Symposium on Net-worked Systems Design and Implementation(NSDI2005) . 2005
  • [2] Fast transparent migration forvirtual machines. M Nelson,B Lim,G Hutchins. Proceedings of the2005USENIX An-nual Technical Conference . 2005
  • [3] Self-migration of operating systems. J G Hansen,EJul. Proceedings of the11th ACM European SIGOPS Workshop . 2004
  • [4] Optimizingthe migration of virtual computers. C P Sapuntzakis,R Chandra,B Pfaff,J Chow,M S Lam,MRosenblum. Proceedings of the5th Symposium on Operating SystemsDesign and Implementation(OSDI2002) . 2002
  • [5] The collec-tive:a Cache-based system management architecture. R Chandra,N Zeldovich,C Sapuntzakis,MS Lam. Proceedings of the Second USENIX/ACMSymposiumon Net-worked Systems Design and Implementation(NSDI2005) . 2005
  • [6] Livewide-area migration of virtual machines including local persis-tent state. R Bradford,E Kotsovinos,A Feldmann,H Schioberg. Proceedings of the3rd International Confer-ence on Virtual Execution Environments(VEE’07) . 2007
  • [7] Internet suspend/resume. Kozuch M,Satyanarayanan M. Proceedings of the 4th IEEE Workshop on Mobile Computing Systems and Applications . 2002
  • [8] Seamless mobile computing on fixed infrastructure. Kozuch,M,Satyanarayanan,V,Bressoud,V,Helfrich,V,Sinnamohideen,S. IEEE Computer . 2004