云计算环境中虚拟机动态迁移技术研究
2018-12-15袁爱平
袁爱平
摘 要: 预拷贝是虚拟机动态迁移的主要方法之一,通过迭代传输内存页完成源节点到目标节点的迁移。但预拷贝方法由于重复传输同一脏页内存,导致了迁移过程占据较长的时间。本文通过对预拷贝方法的改进,提出了一种快速的虚拟机实时迁移方法,提高了迭代过程中脏页内存的传输效率。实验结果证明,与传统的预拷贝方法相比,改进后的预拷贝方法明显地减少了迁移时间和传输数据,达到了虚拟机快速迁移的目的。
关键词: 云计算; 虚拟机; 动态迁移; 预拷贝
中图分类号:TP301 文献标志码:A 文章编号:1006-8228(2018)10-05-03
Abstract: Pre-copy is one of the main methods of virtual machine live migration, and the migration of source node to destination node is accomplished by iteratively transmitting memory pages. However, due to the repeated transmission of the same dirty page memory, the migration process takes longer migration time. By improving the pre-copy method, a fast live migration method for virtual machine is proposed, which improves the transmission efficiency of dirty pages in the iteration process. The experimental results show that the improved pre-copy method obviously reduces the migration time and transmission data, and it achieves the goal of rapid migration of virtual machines.
Key words: cloud computing; virtual machine; live migration; pre-copy
0 引言
隨着信息技术和网络应用的快速发展,云计算作为一种全新的计算模式,已越来越受到工业界和学术界的关注。通过云计算平台,用户可以获得按需、灵活和可伸缩的计算及存储资源。为了提高系统资源的利用率,云计算系统引入了虚拟化技术,通过将一台物理服务器分割为若干个相互隔离的虚拟服务器,实现对物理资源的动态分割。虚拟机的动态迁移作为虚拟化的关键技术之一,解决了云计算数据中心的负载均衡、电源管理、在线维护等问题。在虚拟机的动态迁移问题中,预拷贝方法是虚拟机最主要的实时迁移技术之一[1]。
1 预拷贝方法
预拷贝方法[2]是由Clark等人提出并实现的虚拟机动态迁移机制。目前最流行的Xen、KVM及VMware等虚拟化平台都已经提供了预拷贝机制,并且已经被广泛应用。预拷贝方法将源计算机上的内存页以迭代的方式拷贝到目的计算机上。……
