电信科学 ›› 2021, Vol. 37 ›› Issue (7): 57-66.doi: 10.11959/j.issn.1000-0801.2021145

• 研究与开发 • 上一篇    下一篇

基于KVM的虚拟机Post-Copy动态迁移算法稳定性优化

陈双喜1,2,3, 赵若琰1, 刘会2, 吴春明1, 阮伟1   

  1. 1 浙江大学,浙江 杭州 310058
    2 嘉兴职业技术学院,浙江 嘉兴 314036
    3 嘉兴市工业互联网安全重点实验室,浙江 嘉兴 314036
  • 修回日期:2021-06-08 出版日期:2021-07-20 发布日期:2021-07-01
  • 作者简介:陈双喜(1980- ),男,浙江大学博士生,嘉兴职业技术学院副教授,主要研究方向为网络空间安全拟态防御
    赵若琰(1998- ),女,浙江大学硕士生,主要研究方向为网络空间安全
    刘会(1980- ),女,嘉兴职业技术学院讲师,主要研究方向为优化的BP神经网络在计算机测配色系统中的应用
    吴春明(1967- ),男,博士,浙江大学教授、博士生导师,主要研究方向为网络安全、互联网体系结构、柔性可重构网络、网络资源弹性管控
    阮伟(1969- ),男,浙江大学教授,主要研究方向为工业控制系统信息安全、主动防御的工业控制系统、工业控制系统攻防试验场关键技术等
  • 基金资助:
    国家重点研发计划项目(2018YFB2100400);浙江省公益技术研究计划项目(LGF20F020003);浙江省重点研发计划项目(2020C01077);浙江省重点研发计划项目(2021C01036);浙江省重点研发计划项目(2020C01021);之江实验室重大科研项目(2018FD0ZX01)

Stability optimization of dynamic migration algorithm for Post-Copy of virtual machine based on KVM

Shuangxi CHEN1,2,3, Ruoyan ZHAO1, Hui LIU2, Chunming WU1, Wei RUAN1   

  1. 1 Zhejiang University, Hangzhou 310058, China
    2 Jiaxing Vocational Technical College, Jiaxing 314036, China
    3 Jiaxing Key Laboratory of Industrial Internet, Jiaxing 314036, China
  • Revised:2021-06-08 Online:2021-07-20 Published:2021-07-01
  • Supported by:
    The National Key Research and Development Program(2018YFB2100400);Zhejiang Public Welfare Technol-ogy Research Project(LGF20F020003);Zhejiang Key Research and Development Program(2020C01077);Zhejiang Key Research and Development Program(2021C01036);Zhejiang Key Research and Development Program(2020C01021);Zhijiang Laboratory Major Scientific Research Project(2018FD0ZX01)

摘要:

虚拟机动态迁移技术为虚拟化系统的资源调度提供了强有力的支撑,Post-Copy算法作为虚拟机动态迁移的两个核心算法之一,凭借其总体迁移时间稳定与迁移停机时间短的优点,一直是国内外学者研究的热点问题。对虚拟机的故障容错机制、迁移过程中的内存页面传输方式与缺页错误的关联性,以及QEMU-KVM平台源码进行了深入的研究,提出了基于事务同步的故障容错方法以提升Post-Copy迁移算法的稳定性。试验结果表明,提出的虚拟机Post-Copy迁移优化算法,能保证迁移过程中源端虚拟机故障、目标端虚拟机故障以及网络故障的迅速修复,能通过较小的代价解决稳定性问题,所提出的方法有效地提升了Post-Copy迁移算法的稳定性,也为以后的优化研究方向提供了参考。

关键词: 虚拟机动态迁移, Post-Copy, 故障容错, QEMU-KVM

Abstract:

The dynamic migration technology of virtual machine provides a strong support for the resource scheduling of virtualization system.As one of the two core algorithms of virtual machine dynamic migration, Post-Copy algorithm has been a hot issue for scholars at home and abroad for its advantages of stable migration time and short migration downtime.The fault tolerance mechanism of virtual machine, the connection between the transfer mode of memory page and the page missing error during the migration process, and the source code of QEMU-KVM platform were studied.A fault tolerant method based on transaction synchronization was proposed to improve the stability of the Post-Copy migration algorithm.The experimental results show that the proposed algorithm can ensure the fast repair of deep end virtual machine failure, target virtual machine failure and network fault during the migration process, and solve the stability problem at a small cost.The method proposed effectively improves the stability of the Post-Copy migration algorithm, and provides reference for the future optimization research direction.

Key words: dynamic migration of virtual machine, Post-Copy, fault tolerance, QEMU-KVM

中图分类号: 

No Suggested Reading articles found!