CN103577249A - Method and system for virtual machine online migration - Google Patents

Method and system for virtual machine online migration Download PDF

Info

Publication number
CN103577249A
CN103577249A CN201310571172.XA CN201310571172A CN103577249A CN 103577249 A CN103577249 A CN 103577249A CN 201310571172 A CN201310571172 A CN 201310571172A CN 103577249 A CN103577249 A CN 103577249A
Authority
CN
China
Prior art keywords
migration
virtual machine
data
disk
disk block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310571172.XA
Other languages
Chinese (zh)
Other versions
CN103577249B (en
Inventor
唐宏伟
赵晓芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CN201310571172.XA priority Critical patent/CN103577249B/en
Publication of CN103577249A publication Critical patent/CN103577249A/en
Application granted granted Critical
Publication of CN103577249B publication Critical patent/CN103577249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明提供一种虚拟机在线迁移方法,根据对虚拟机内存页面与磁盘块的更新热度来设置其迁移优先级,对于待迁移的虚拟机内存页面与磁盘块,根据其迁移优先级从高到低的顺序进行迁移,将其中的数据拷贝到目标端,直到虚拟机内存与磁盘中待迁移数据总量小于预定义的停机阈值;暂停虚拟机的运行,将虚拟机内存与磁盘中待迁移数据一次性拷贝到目标端。该方法可以减少虚拟机在线迁移过程中产生的无效迁移数据,从而节约网络带宽、宿主机CPU、内存等资源,而且还能及时发现不可完成或难以在合理时间内完成的虚拟机在线迁移操作,以便用户或管理员采取相应的措施,改善了云计算环境下资源利用率和云服务的质量。

Figure 201310571172

The present invention provides an online migration method for a virtual machine. The migration priority is set according to the update heat of the virtual machine memory pages and disk blocks. For the virtual machine memory pages and disk blocks to be migrated, the migration priority is from high to high Migrate in the lowest order, copy the data in it to the target end, until the total amount of data to be migrated in the memory and disk of the virtual machine is less than the predefined shutdown threshold; suspend the operation of the virtual machine, and copy the data to be migrated in the memory and disk of the virtual machine One-time copy to the target side. This method can reduce the invalid migration data generated during the virtual machine online migration process, thereby saving network bandwidth, host machine CPU, memory and other resources, and can also timely discover virtual machine online migration operations that cannot be completed or cannot be completed within a reasonable time. So that users or administrators can take corresponding measures, the utilization rate of resources and the quality of cloud services in the cloud computing environment are improved.

Figure 201310571172

Description

虚拟机在线迁移方法与系统Virtual machine online migration method and system

技术领域technical field

本发明涉及云计算技术,尤其涉及虚拟机在线迁移方法。The invention relates to cloud computing technology, in particular to a virtual machine online migration method.

背景技术Background technique

虚拟机在线迁移是云计算资源调度的重要支撑机制。现有的虚拟机广泛采用预拷贝技术(PreCopy)实现在线迁移,通过三轮数据拷贝来完成虚拟机内存与磁盘数据的迁移。第一轮称为“全拷贝”阶段,即将虚拟机内存与磁盘数据从头到尾拷贝到迁移目标端;第二轮称为“增量拷贝”阶段,即在“全拷贝”的基础上拷贝那些被修改更新了的内存页面和磁盘块到迁移目标端,直至剩余的内存页面与磁盘块的数据量小于预定义的阈值(有时也可以称为停机阈值);第三轮称为“停机拷贝”阶段,即通过“增量拷贝”使得剩余的待迁移数据量小于一定的阈值后,暂停虚拟机的运行,一次性地将剩余数据全部拷贝到迁移目标端。在现有的虚拟机在线迁移技术中,第一轮与第二轮数据拷贝会不加区分地从头到尾拷贝待迁移的数据,这就会造成那些更新频率较高的内存页面或磁盘块被多次拷贝到迁移目标端,而同一个内存页面或磁盘块的多次迁移数据拷贝仅有最后一次是最新的有效数据,之前的数据拷贝都会被逐步覆盖掉,因此可以说是“无效的迁移数据”。Online migration of virtual machines is an important supporting mechanism for cloud computing resource scheduling. Existing virtual machines widely use the pre-copy technology (PreCopy) to realize online migration, and complete the migration of virtual machine memory and disk data through three rounds of data copying. The first round is called the "full copy" stage, which copies the virtual machine memory and disk data from beginning to end to the migration target; the second round is called the "incremental copy" stage, which copies those The modified and updated memory pages and disk blocks are migrated to the target end until the data volume of the remaining memory pages and disk blocks is less than a predefined threshold (sometimes also called the downtime threshold); the third round is called "downtime copy" stage, that is, after the amount of remaining data to be migrated is less than a certain threshold through "incremental copying", the operation of the virtual machine is suspended, and all remaining data is copied to the migration target at one time. In the existing virtual machine online migration technology, the first round and the second round of data copying will copy the data to be migrated from the beginning to the end indiscriminately, which will cause those memory pages or disk blocks with high update frequency to be deleted. Multiple copies to the migration target, but only the last copy of the same memory page or disk block is the latest valid data, and the previous data copies will be gradually overwritten, so it can be said to be "invalid migration". data".

现有的虚拟机在线迁移技术造成了大量的无效迁移数据,而且虚拟机内存页面与磁盘块的更新频率越高则无效迁移数据越多。在云计算环境下,大量的无效数据迁移操作会浪费网络带宽、CPU、内存等共享资源,影响云服务的质量与资源利用率。此外,如果被迁移虚拟机的内存与磁盘的更新数据量长时间不收敛,一方面造成迁移完成时间的不可预测,另一方面产生大量的无效的迁移数据,而在现有的虚拟机在线迁移技术中不能及时发现这种情况进而进行有效干预。Existing virtual machine online migration technology results in a large amount of invalid migration data, and the higher the update frequency of virtual machine memory pages and disk blocks, the more invalid migration data. In the cloud computing environment, a large number of invalid data migration operations will waste shared resources such as network bandwidth, CPU, and memory, and affect the quality of cloud services and resource utilization. In addition, if the amount of updated data in the memory and disk of the migrated virtual machine does not converge for a long time, it will cause unpredictable migration completion time on the one hand, and generate a large amount of invalid migration data on the other hand. Technology cannot detect this situation in time and then carry out effective intervention.

发明内容Contents of the invention

因此,本发明的目的在于克服上述现有技术的缺陷,提供一种虚拟机在线迁移方法。Therefore, the object of the present invention is to overcome the above-mentioned defects in the prior art, and provide a method for online migration of a virtual machine.

本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:

一方面,本发明提供了一种虚拟机在线迁移方法,包括:On the one hand, the present invention provides a virtual machine online migration method, including:

步骤1,对于待迁移的虚拟机内存页面与磁盘块,根据其迁移优先级从高到低的顺序进行迁移,将其中的数据拷贝到目标端,直到虚拟机内存与磁盘中待迁移数据总量小于预定义的停机阈值;其中,虚拟机内存页面与磁盘块的迁移优先级是根据对虚拟机内存页面与磁盘块的更新热度来设置的,更新热度越低,迁移优先级越高;Step 1. For the virtual machine memory pages and disk blocks to be migrated, migrate them according to the order of their migration priority from high to low, and copy the data in them to the target end until the total amount of data to be migrated in the virtual machine memory and disk Less than the predefined shutdown threshold; among them, the migration priority of virtual machine memory pages and disk blocks is set according to the update heat of virtual machine memory pages and disk blocks, the lower the update heat, the higher the migration priority;

步骤2,暂停虚拟机的运行,将虚拟机内存与磁盘中待迁移数据一次性拷贝到目标端。Step 2, suspend the operation of the virtual machine, and copy the data to be migrated in the memory and disk of the virtual machine to the target end at one time.

上述方法中,所述步骤1还可包括随着虚拟机内存页面/磁盘块的更新热度的改变来动态调整虚拟机内存页面/磁盘块的迁移优先级。In the above method, the step 1 may also include dynamically adjusting the migration priority of the virtual machine memory page/disk block according to the change of the update rate of the virtual machine memory page/disk block.

上述方法中,所述步骤1还可包括定期统计最近一段历史时间内的虚拟机内存页面/磁盘块更新频率,并根据最近一段历史时间内的虚拟机内存页面/磁盘块更新频率统计数据来设置虚拟机内存页面/磁盘块的更新热度。In the above method, the step 1 may also include regularly counting the update frequency of virtual machine memory pages/disk blocks within a recent period of history, and setting according to statistical data of the update frequency of virtual machine memory pages/disk blocks within a recent period of history Update heat of virtual machine memory pages/disk blocks.

上述方法中,所述更新热度可以通过下列步骤来确定:In the above method, the update heat can be determined through the following steps:

对于一个虚拟机内存页面/磁盘块,每个数据迁移周期记录一次该虚拟机内存页面/磁盘块的更新情况,如果该内存页面/磁盘块被更新过,就记为1,否则记为0;For a virtual machine memory page/disk block, each data migration cycle records the update of the virtual machine memory page/disk block. If the memory page/disk block has been updated, it is recorded as 1, otherwise it is recorded as 0;

对最近n个数据迁移周期所记录的该虚拟机内存页面/磁盘块的更新情况进行求和,并将所得总和作为该内存页面/磁盘块的当前的更新热度;其中数据迁移周期为虚拟机在线迁移过程中的连续数据拷贝时间。Sum the update status of the virtual machine memory page/disk block recorded in the last n data migration cycles, and use the sum as the current update heat of the memory page/disk block; where the data migration cycle is the virtual machine online Continuous data copy time during migration.

上述方法中,所述步骤1还可包括在每个数据迁移周期开始前重新计算虚拟机内存页面与磁盘块的更新热度以及基于更新热度来调整虚拟机内存页面与磁盘块的迁移优先级。In the above method, the step 1 may further include recalculating the update heat of the virtual machine memory pages and disk blocks before each data migration cycle and adjusting the migration priority of the virtual machine memory pages and disk blocks based on the update heat.

上述方法中,虚拟机磁盘块的迁移优先级可以被设置为高于虚拟机内存页面的迁移优先级,而每个磁盘块/内存页面初始化为相同的迁移优先级。In the above method, the migration priority of the virtual machine disk block can be set to be higher than the migration priority of the virtual machine memory page, and each disk block/memory page is initialized to the same migration priority.

上述方法中,所述步骤1还可包括:实时检测虚拟机是否存在更新热点数据集,所述更新热点数据集指一段时间内其更新热度持续较高的虚拟机内存页面或磁盘块组成的集合;以及检测该更新热点数据集的数据量总和是否高于预先定义的停机阈值,如果超过停机阈值,则暂停更新热点数据集中的数据块的迁移。In the above method, the step 1 may further include: detecting in real time whether the virtual machine has an update hotspot data set, the update hotspot data set refers to a collection of virtual machine memory pages or disk blocks whose update heat continues to be high for a period of time ; and detecting whether the sum of the data volume of the updated hotspot data set is higher than a predefined shutdown threshold, and if it exceeds the shutdown threshold, suspending the migration of data blocks in the updated hotspot data set.

上述方法中,所述步骤1还可包括基于对虚拟机迁移过程中剩余待迁移数据总量的收敛趋势的预测,判断是否能在合理时间内完成虚拟机在线迁移;如果判断到不能在合理时间内完成虚拟机在线迁移操作,则提示用户或管理员降低虚拟机中的负载或放弃本次迁移操作。In the above method, the step 1 may also include judging whether the online migration of the virtual machine can be completed within a reasonable time based on the prediction of the convergence trend of the total amount of remaining data to be migrated during the virtual machine migration process; If the online migration operation of the virtual machine is completed within the specified time, the user or administrator is prompted to reduce the load on the virtual machine or give up the migration operation.

上述方法中,对虚拟机迁移过程中剩余待迁移数据总量的收敛趋势的预测可包括:记录每个数据迁移周期结束后的剩余待迁移数据总量;查看该序列是否大体上符合单调递减的趋势,如果是,则预测结果为可收敛;否则为不收敛。In the above method, the prediction of the convergence trend of the remaining amount of data to be migrated during the virtual machine migration process may include: recording the remaining amount of data to be migrated after each data migration cycle; checking whether the sequence generally conforms to the monotonically decreasing Trend, if yes, the prediction result is convergent; otherwise, it is non-convergent.

又一方面,本发明提供了一种虚拟机在线迁移系统,包括:In yet another aspect, the present invention provides a virtual machine online migration system, including:

迭代拷贝装置,用于对于待迁移的虚拟机内存页面与磁盘块,根据其迁移优先级从高到低的顺序进行迁移,将其中的数据拷贝到目标端,直到虚拟机内存与磁盘中待迁移数据总量小于预定义的停机阈值;其中,虚拟机内存页面与磁盘块的迁移优先级是根据对虚拟机内存页面与磁盘块的更新热度来设置的,更新热度越低,迁移优先级越高;The iterative copy device is used to migrate the memory pages and disk blocks of the virtual machine to be migrated according to the order of their migration priorities from high to low, and copy the data in them to the target end until the memory pages and disk blocks of the virtual machine are to be migrated The total amount of data is less than the predefined shutdown threshold; among them, the migration priority of virtual machine memory pages and disk blocks is set according to the update heat of virtual machine memory pages and disk blocks. The lower the update heat, the higher the migration priority ;

停机拷贝装置,用于在虚拟机内存与磁盘中待迁移数据总量小于预定义的停机阈值时暂停虚拟机的运行,将虚拟机内存与磁盘中待迁移数据一次性拷贝到目标端。The shutdown copy device is used to suspend the operation of the virtual machine when the total amount of data to be migrated in the memory and disk of the virtual machine is less than a predefined shutdown threshold, and copy the data to be migrated in the memory and disk of the virtual machine to the target end at one time.

与现有技术相比,本发明的优点在于:Compared with the prior art, the present invention has the advantages of:

大量减少了虚拟机在线迁移过程中产生的无效迁移数据,从而节约网络带宽、宿主机CPU、内存等资源,而且还能及时发现不可完成或难以在合理时间内完成的虚拟机在线迁移操作,以便用户或管理员采取相应的措施,避免无休止的迁移操作等待,改善了云计算环境下资源利用率和云服务的质量。It greatly reduces the invalid migration data generated during the virtual machine online migration process, thereby saving resources such as network bandwidth, host CPU, memory, etc. Users or administrators take corresponding measures to avoid endless waiting for migration operations, and improve resource utilization and cloud service quality in the cloud computing environment.

附图说明Description of drawings

以下参照附图对本发明实施例作进一步说明,其中:Embodiments of the present invention will be further described below with reference to the accompanying drawings, wherein:

图1为根据本发明实施例的用于预测虚拟机内存页面/磁盘块更新热度的滑动历史时间窗口的示意图;1 is a schematic diagram of a sliding historical time window for predicting the update heat of a virtual machine memory page/disk block according to an embodiment of the present invention;

图2为根据本发明实施例的虚拟机在线迁移方法中迭代数据拷贝阶段的流程示意图。Fig. 2 is a schematic flowchart of the iterative data copy stage in the online migration method of a virtual machine according to an embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的,技术方案及优点更加清楚明白,以下结合附图通过具体实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below through specific embodiments in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

在上文所述的传统的虚拟机在线迁移方法中,更新频率(也可以称为更新热度)较高的内存页面或磁盘块被多次拷贝到迁移目标端,而同一个内存页面或磁盘块的多次迁移数据拷贝仅有最后一次是最新的有效数据,之前的数据拷贝都会被逐步覆盖掉,因而产生无效迁移数据。虚拟机内存页面与磁盘块的更新频率越高则产生的无效迁移数据越多。In the traditional virtual machine online migration method described above, memory pages or disk blocks with high update frequency (also called update heat) are copied to the migration target multiple times, while the same memory page or disk block Only the last copy of multiple migration data is the latest valid data, and the previous data copies will be gradually overwritten, resulting in invalid migration data. The higher the update frequency of virtual machine memory pages and disk blocks, the more invalid migration data will be generated.

在本发明的一个实施例中,提供了一种虚拟机在线迁移方法。该方法基于虚拟机内存页面与磁盘块的更新热度来设置虚拟机内存页面与磁盘块的迁移优先级,更新热度越低,迁移优先级越高,并且按照迁移优先级从高到低的顺序迁移虚拟机内存页面与磁盘块。该方法使得更新热度较高的内存页面与磁盘块的迁移优先级较低,从而减少此类页面的迁移次数,进而减少无效迁移数据。该虚拟机在线迁移方法可包括迭代数据拷贝和停机数据拷贝两个阶段。在迭代数据拷贝阶段,对于待迁移的虚拟机内存页面与磁盘块,根据其迁移优先级从高到低的顺序进行迁移,将其中的数据拷贝到目标端,直到虚拟机内存与磁盘中待迁移数据总量小于预定义的停机阈值时进入停机数据拷贝阶段。在停机数据拷贝阶段,暂停虚拟机的运行,将虚拟机内存与磁盘中待迁移数据一次性拷贝到目标端。In one embodiment of the present invention, a virtual machine online migration method is provided. This method sets the migration priority of virtual machine memory pages and disk blocks based on the update heat of virtual machine memory pages and disk blocks. The lower the update heat, the higher the migration priority, and the migration is performed in the order of migration priority from high to low. Virtual machine memory pages and disk blocks. This method lowers the migration priority of memory pages and disk blocks with high update heat, thereby reducing the number of migrations of such pages, thereby reducing invalid migration data. The virtual machine online migration method may include two stages of iterative data copy and shutdown data copy. In the iterative data copy phase, the virtual machine memory pages and disk blocks to be migrated are migrated according to the order of their migration priorities from high to low, and the data in them is copied to the target end until the virtual machine memory and disk blocks are to be migrated When the total amount of data is less than the predefined downtime threshold, it enters the downtime data copy stage. In the downtime data copy stage, the running of the virtual machine is suspended, and the data to be migrated in the memory and disk of the virtual machine is copied to the target end at one time.

在讨论该方法的各阶段具体细节之前,首先介绍下面几个概念:(1)数据迁移周期:指虚拟机在线迁移过程中的连续数据拷贝时间。由于虚拟机在线迁移往往受到具体的网络带宽方面的配额限制,以合理共享网络带宽资源,因此进行数据拷贝时一次性发往网络接口的数据量不能超过预定的阈值。当发往网络接口的数据量达到预定的阈值时,数据拷贝则被暂停一段时间。因为该阈值是固定的,所以数据迁移周期也是一个基本恒定的时间。(2)脏页面/脏磁盘块:如果虚拟机内存页面/磁盘块被客户操作系统更新过并且未被迁移到目标端,则称为脏页面/脏磁盘块。(3)更新热度:反映的是虚拟机内存页面/磁盘块的更新情况。虚拟机内存页面/磁盘块更新热度高,说明其被频繁更新,而虚拟机内存页面/磁盘块更新热度低,说明其较少被更新。通常虚拟机内存的更新热度要高于虚拟机磁盘块的更新热度。在一个示例中,可以将在虚拟机开始迁移之前一段时间内的虚拟机内存页面/磁盘块更新频率统计数据来作为虚拟机内存页面/磁盘块的更新热度,以设置待迁移的内存页面与磁盘块的迁移优先级。但是,正如上文提到的,虚拟机迁移过程不是一次完成的,而是可能经过多个数据迁移周期后才完成的。在虚拟机迁移过程中,各个虚拟机内存页面/磁盘块更新热度也可能会发生变化。由于未来一段时间的更新热度与过去一段时间内的更新情况紧密相关,为了更准确地设置迁移优先级,在又一个实施例中,可以在虚拟机迁移过程中,定期统计最近一段历史时间内的虚拟机内存页面/磁盘块更新频率,根据最近一段历史时间内的虚拟机内存页面/磁盘块更新频率统计数据,预测未来一段时间内的虚拟机内存页面/磁盘块的更新热度,从而作为选择被迁移的内存页面与磁盘块的参考依据;并且还可以在虚拟机迁移过程中,随着虚拟机内存页面/磁盘块的更新热度的改变来动态调整虚拟机内存页面/磁盘块的迁移优先级。Before discussing the specific details of each stage of the method, the following concepts are introduced first: (1) Data migration cycle: refers to the continuous data copying time during the online migration of virtual machines. Since online migration of virtual machines is often limited by specific network bandwidth quotas to share network bandwidth resources reasonably, the amount of data sent to the network interface at one time during data copying cannot exceed the predetermined threshold. When the amount of data sent to the network interface reaches a predetermined threshold, data copying is suspended for a period of time. Because the threshold is fixed, the data migration cycle is also a substantially constant time. (2) Dirty page/dirty disk block: If the virtual machine memory page/disk block has been updated by the guest operating system and has not been migrated to the target, it is called a dirty page/dirty disk block. (3) Update heat: It reflects the update status of virtual machine memory pages/disk blocks. A high update rate of a virtual machine memory page/disk block indicates that it is frequently updated, while a low update rate of a virtual machine memory page/disk block indicates that it is seldom updated. Generally, the update heat of the virtual machine memory is higher than the update heat of the virtual machine disk block. In an example, the update frequency statistics of virtual machine memory pages/disk blocks for a period of time before the virtual machine starts to migrate can be used as the update heat of virtual machine memory pages/disk blocks, so as to set the memory pages and disk blocks to be migrated. The block's migration priority. However, as mentioned above, the virtual machine migration process is not completed once, but may be completed after multiple data migration cycles. During the virtual machine migration process, the update heat of each virtual machine memory page/disk block may also change. Since the update popularity in the future period is closely related to the update situation in the past period of time, in order to set the migration priority more accurately, in another embodiment, during the migration process of the virtual machine, it is possible to regularly collect statistics on the latest historical period The update frequency of virtual machine memory pages/disk blocks, based on the statistical data of the update frequency of virtual machine memory pages/disk blocks in the most recent historical period, predicts the update popularity of virtual machine memory pages/disk blocks in a period of time in the future. The reference basis of the migrated memory pages and disk blocks; and it is also possible to dynamically adjust the migration priority of the virtual machine memory pages/disk blocks as the update heat of the virtual machine memory pages/disk blocks changes during the virtual machine migration process.

在本发明的一个实施例中,提供了一种基于滑动历史时间窗口的虚拟机内存页面/磁盘块更新热度预测方法,通过内存页面/磁盘块的历史更新情况来预测接下来的一段时间内的更新热度。图1为根据本发明实施例的用于预测虚拟机内存页面/磁盘块更新热度的滑动历史时间窗口的示意图。如图1所示,滑动历史时间窗口滑动的单位为一个数据迁移周期,每个数据迁移周期开始前都会记录上一个周期以来每个内存页面与磁盘块的更新情况,例如,如果内存页面或磁盘块在上一个周期中被更新过,则在时间序列的最近一个位置记录“1”,反之则记录“0”。接下来将窗口向前滑动一个位置,丢弃最久远的更新记录,吸纳最新的更新记录,并重新计算该内存页面/磁盘块的更新热度,以及根据更新热度的变化来调整该内存页面/磁盘块的迁移优先级。滑动历史时间窗口长度W实际为数据迁移周期P的整数倍,即W=n*P,n为正整数。可以根据系统实际情况来设置滑动历史时间窗口的长度。如图1所示,n=7,假设数据迁移周期为2秒,那么对于一个内存页面/磁盘块,每2秒记录一次该内存页面/磁盘块的更新情况,期间只要该内存页面/磁盘块被更新过,就记为1,否则记为0。该滑动历史时间窗口包括了最近2*7=14秒内对该内存页面/磁盘块的更新记录。基于滑动历史时间窗口覆盖的更新记录来计算该内存页面/磁盘块的更新热度。例如,可以对滑动历史时间窗口覆盖的更新记录进行求和,将其总值作为该内存页面/磁盘块的更新热度。如图1所示,第n个数据迁移周期,该内存页面/磁盘块的更新热度为1+0+0+0+1+1+1=4。又例如,可以基于滑动历史时间窗口覆盖的更新记录中0与1分布状况来设置内存页面/磁盘块的更新热度。例如,假设窗口内更新记录为0001111,则说明该该内存页面/磁盘块最近访问较多,其更新热度可以设置为较高。又例如,假设窗口内更新记录为1110000,则说明该内存页面/磁盘块最近访问较少,其更新热度可以设置为较低。应指出,上述更新情况的统计以及更新热度的计算仅是举例说明的目的,而非进行任何限制。本领域技术人员也可以方式来根据最近一段历史时间内的虚拟机内存页面/磁盘块更新频率统计数据来设置虚拟机内存页面/磁盘块的更新热度。In one embodiment of the present invention, a virtual machine memory page/disk block update heat prediction method based on a sliding historical time window is provided. Update popularity. FIG. 1 is a schematic diagram of a sliding historical time window for predicting update heat of memory pages/disk blocks of a virtual machine according to an embodiment of the present invention. As shown in Figure 1, the sliding unit of the sliding historical time window is a data migration cycle. Before the start of each data migration cycle, the update status of each memory page and disk block since the previous cycle will be recorded. For example, if the memory page or disk If the block has been updated in the previous cycle, "1" will be recorded at the latest position of the time series, otherwise "0" will be recorded. Next, slide the window forward one position, discard the oldest update record, absorb the latest update record, recalculate the update heat of the memory page/disk block, and adjust the memory page/disk block according to the change of update heat migration priority. The length W of the sliding historical time window is actually an integer multiple of the data migration period P, that is, W=n*P, where n is a positive integer. The length of the sliding historical time window can be set according to the actual situation of the system. As shown in Figure 1, n=7, assuming that the data migration cycle is 2 seconds, then for a memory page/disk block, the update of the memory page/disk block is recorded every 2 seconds, during which only the memory page/disk block If it has been updated, it is recorded as 1, otherwise it is recorded as 0. The sliding historical time window includes the update record of the memory page/disk block within the last 2*7=14 seconds. The update popularity of the memory page/disk block is calculated based on the update records covered by the sliding historical time window. For example, the update records covered by the sliding historical time window can be summed, and the total value can be used as the update heat of the memory page/disk block. As shown in Figure 1, in the nth data migration cycle, the update heat of the memory page/disk block is 1+0+0+0+1+1+1=4. For another example, the update heat of the memory page/disk block can be set based on the distribution of 0 and 1 in the update records covered by the sliding historical time window. For example, assuming that the update record in the window is 0001111, it means that the memory page/disk block has been accessed more recently, and its update heat can be set to be higher. For another example, assuming that the update record in the window is 1110000, it means that the memory page/disk block has been accessed less recently, and its update heat can be set to be low. It should be pointed out that the statistics of the above updates and the calculation of the update popularity are only for the purpose of illustration, rather than any limitation. Those skilled in the art can also set the update heat of the virtual machine memory page/disk block according to the statistical data of update frequency of the virtual machine memory page/disk block in a recent period of history.

在一个实施例中,在虚拟机迁移初始化阶段,可以如上文所述,基于在虚拟机开始迁移之前一段时间内的虚拟机内存页面/磁盘块更新频率统计数据来计算虚拟机内存页面/磁盘块的更新热度的初始值,以设置待迁移的内存页面与磁盘块的初始的迁移优先级。然后在虚拟机迁移的过程中,利用上述如上文所提及的基于滑动历史时间窗口的虚拟机内存页面/磁盘块更新热度预测方法来计算当前的虚拟机内存页面/磁盘块更新热度并相应调整虚拟机内存页面/磁盘块的迁移优先级。In one embodiment, during the virtual machine migration initialization phase, as described above, the virtual machine memory page/disk block can be calculated based on the update frequency statistics of the virtual machine memory page/disk block for a period of time before the virtual machine starts to migrate The initial value of the update heat to set the initial migration priority of the memory pages and disk blocks to be migrated. Then, in the process of virtual machine migration, use the above-mentioned virtual machine memory page/disk block update heat prediction method based on the sliding historical time window mentioned above to calculate the current virtual machine memory page/disk block update heat and adjust accordingly Migration priority of virtual machine memory pages/disk blocks.

在又一个实施例中,在虚拟机迁移初始化阶段,将虚拟机磁盘块的迁移优先级设置为高于虚拟机内存页面的迁移优先级内存页面,而每个磁盘块/内存页面初始化为相同的迁移优先级。In yet another embodiment, in the virtual machine migration initialization phase, the migration priority of the virtual machine disk block is set to be higher than the migration priority memory page of the virtual machine memory page, and each disk block/memory page is initialized to the same Migration priority.

如上文所提到的,根据本发明实施例的虚拟机在线迁移方法可包括迭代数据拷贝和停机数据拷贝两个阶段。在迭代数据拷贝阶段,对于待迁移的虚拟机内存页面与磁盘块,根据其迁移优先级从高到低的顺序进行迁移,将其中的数据拷贝到目标端。图2为根据本发明一个实施例的虚拟机在线迁移方法中迭代数据拷贝阶段的流程示意图。如图2所示,在开始迁移时,判断迁移数据量是否达到阈值,实际上是判断该数据迁移周期是否结束。该阈值可以根据实际需求和系统状况灵活设置。如果达到阈值,说明该数据迁移周期已结束,需要等待固定的时间后,开始下一数据迁移周期。如果未达到阈值,从待迁移的内存页面与磁盘块选择迁移优先级最高的内存页面/磁盘块,将所选择的内存页面/磁盘块中的数据拷贝到目标端。可以采用很多方式来选择要迁移的内存页面/磁盘块。例如,可以将待迁移的内存页面与磁盘块按迁移优先级从高到底组成一个队列。又例如,可以将待迁移的内存页面按迁移优先级从高到底组成一个队列,并且将待迁移的磁盘块按迁移优先级从高到底组成一个队列。在又一个示例中,可以将迁移优先级相同的内存页面和/或磁盘块设置在同一优先级队列中,不同迁移优先级相同的内存页面/磁盘块处于不同的优先级,然后按优先级从高到低来扫描各个优先级队列。在将所选择的内存页面/磁盘块中的数据拷贝到目标端后,可以该内存页面/磁盘块从待迁移的虚拟机内存页面与磁盘块的集合或队列中移除。如果在虚拟机迁移期间,该内存页面/磁盘块被再次更新,则可将该内存页面/磁盘块再次加入待迁移的虚拟机内存页面与磁盘块的集合或队列中。As mentioned above, the online virtual machine migration method according to the embodiment of the present invention may include two stages of iterative data copy and shutdown data copy. In the iterative data copy phase, the virtual machine memory pages and disk blocks to be migrated are migrated according to the order of their migration priorities from high to low, and the data in them are copied to the target end. Fig. 2 is a schematic flow chart of the iterative data copy stage in the online migration method of a virtual machine according to an embodiment of the present invention. As shown in FIG. 2 , at the start of the migration, judging whether the amount of migrated data reaches the threshold is actually judging whether the data migration cycle is over. The threshold can be flexibly set according to actual requirements and system conditions. If the threshold is reached, it means that the data migration cycle has ended, and it is necessary to wait for a fixed period of time before starting the next data migration cycle. If the threshold is not reached, select the memory page/disk block with the highest migration priority from the memory pages and disk blocks to be migrated, and copy the data in the selected memory page/disk block to the target end. There are many ways to select memory pages/disk blocks to migrate. For example, the memory pages and disk blocks to be migrated can be formed into a queue according to the migration priority from high to low. For another example, the memory pages to be migrated may form a queue according to the migration priority from high to low, and the disk blocks to be migrated may be formed into a queue according to the migration priority from high to bottom. In yet another example, the memory pages and/or disk blocks with the same migration priority can be set in the same priority queue, and the memory pages/disk blocks with the same migration priority at different priorities are at different priorities, and then from High to low to scan each priority queue. After the data in the selected memory page/disk block is copied to the target end, the memory page/disk block may be removed from the set or queue of virtual machine memory pages and disk blocks to be migrated. If the memory page/disk block is updated again during the migration of the virtual machine, the memory page/disk block may be added to the set or queue of the virtual machine memory page and disk block to be migrated again.

继续参考图2,如果迁移数据量达到阈值,说明该数据迁移周期已结束,需要等待固定的时间后在开始新的数据迁移周期,继续进行上述迁移过程。上述过程不断重复,直到虚拟机内存与磁盘中待迁移数据总量小于预定义的停机阈值时,进入停机数据拷贝阶段。在又一个实施例中,该虚拟机在线迁移方法还可以在每个数据迁移周期开始前重新计算虚拟机内存页面与磁盘块的更新热度以及基于更新热度来调整虚拟机内存页面与磁盘块的迁移优先级。例如,采用上文所述的的基于滑动历史时间窗口的虚拟机内存页面/磁盘块更新热度预测方法在每个数据迁移周期开始前,记录上一个周期以来每个内存页面与磁盘块的更新情况,如果内存页面或磁盘块在上一个周期中被客户操作系统更新过,则在时间序列的最近一个位置记录“1”,反之则记录“0”。接下来将窗口向前滑动一个位置,覆盖最近的位置,丢弃最久位置的记录,然后,重新计算该内存页面/磁盘块的更新热度,以及根据更新热度的变化来调整该内存页面/磁盘块的迁移优先级。以上文所述的多个优先级队列的方式为例,如果该内存页面/磁盘块是一个“脏页面/脏磁盘块”,并且该页面/磁盘块未在优先级队列中,则根据其最新的迁移优先级将该页面/磁盘块加入到相应的优先级队列中;如果该页面/磁盘块已经在优先级队列中,并且其最新的迁移优先级与上一个周期的迁移优先级不等,则将其移到相应的优先级队列中;如果该页面不是一个“脏页面/脏磁盘块”,则将其从优先级队列中移除(如果之前在优先级队列中)。Continuing to refer to Figure 2, if the amount of migrated data reaches the threshold, it means that the data migration cycle has ended, and it is necessary to wait for a fixed time before starting a new data migration cycle to continue the above migration process. The above process is repeated until the total amount of data to be migrated in the memory and disk of the virtual machine is less than the predefined shutdown threshold, and the shutdown data copy stage is entered. In yet another embodiment, the virtual machine online migration method can also recalculate the update heat of the virtual machine memory pages and disk blocks before the start of each data migration cycle, and adjust the migration of the virtual machine memory pages and disk blocks based on the update heat priority. For example, using the above-mentioned virtual machine memory page/disk block update heat prediction method based on the sliding historical time window, record the update status of each memory page and disk block since the previous cycle before the start of each data migration cycle , if the memory page or disk block was updated by the guest operating system in the previous cycle, record "1" at the most recent position in the time series, otherwise record "0". Next, slide the window forward by one position, cover the nearest position, discard the record of the longest position, then recalculate the update heat of the memory page/disk block, and adjust the memory page/disk block according to the change of update heat migration priority. Taking the method of multiple priority queues mentioned above as an example, if the memory page/disk block is a "dirty page/dirty disk block" and the page/disk block is not in the priority queue, it will be The migration priority of the page/disk block is added to the corresponding priority queue; if the page/disk block is already in the priority queue, and its latest migration priority is not equal to the migration priority of the previous cycle, Then move it to the corresponding priority queue; if the page is not a "dirty page/dirty disk block", remove it from the priority queue (if it was in the priority queue before).

通过上述迭代数据拷贝过程,可使得虚拟机内存或磁盘待迁移数据量小于预先设定的停机阈值,以使其能够在足够短的时间内拷贝到迁移目标端,便可以进入到停机数据拷贝阶段。在停机数据拷贝阶段,暂停虚拟机的运行,将虚拟机内存与磁盘中待迁移数据一次性拷贝到目标端。其中停机阈值可根据实际需求和系统的资源状况进行设置。Through the above iterative data copy process, the amount of data to be migrated in the memory or disk of the virtual machine can be less than the preset shutdown threshold, so that it can be copied to the migration target in a short enough time, and then it can enter the shutdown data copy stage . In the downtime data copy stage, the running of the virtual machine is suspended, and the data to be migrated in the memory and disk of the virtual machine is copied to the target end at one time. The downtime threshold can be set according to actual requirements and system resource conditions.

在又一个实施例中,该虚拟机在线迁移方法还可以实时检测虚拟机是否存在更新热点数据集。所谓更新热点数据集,即是指一段时间内更新热度持续较高(例如可以是高于预定义的某个阈值;又例如,某个数据块在一段时间内的平均更新热度大于滑动窗口大小的一半)的虚拟机内存或磁盘数据块组成的集合。当发现更新热点数据集后,将进一步检测该数据集的大小是否高于预先定义的停机阈值。如果更新热点数据集的数据量总和超过停机阈值,则暂停这部分虚拟机内存页面与磁盘块(即更新热点数据集中的数据块)的迁移,直至某些数据块的更新热度降低使得更新热点数据集大小小于停机拷贝允许的数据量,从而使得虚拟机迁移进入停机迁移阶段,再一次性迁移这部分数据。这样,相较于传统虚拟机在线迁移方法中的不加区分的数据拷贝模式能够大幅度节约网络带宽、CPU、内存等资源,同时,并不会延长虚拟机的迁移时间。In yet another embodiment, the method for online migration of a virtual machine can also detect in real time whether there is an updated hotspot data set for the virtual machine. The so-called update hotspot data set means that the update heat is continuously high for a period of time (for example, it can be higher than a predefined threshold; for example, the average update heat of a certain data block within a period of time is greater than the size of the sliding window half) of virtual machine memory or a collection of disk data blocks. When an updated hot data set is found, it will further detect whether the size of the data set is higher than the predefined shutdown threshold. If the total amount of data in the updated hotspot data set exceeds the shutdown threshold, the migration of this part of virtual machine memory pages and disk blocks (that is, the data blocks in the updated hotspot data set) will be suspended until the update heat of some data blocks decreases to update the hotspot data The size of the set is smaller than the amount of data allowed by the downtime copy, so that the virtual machine migration enters the downtime migration stage, and this part of the data is migrated at one time. In this way, compared with the indiscriminate data copy mode in the traditional virtual machine online migration method, resources such as network bandwidth, CPU, and memory can be greatly saved, and at the same time, the migration time of the virtual machine will not be prolonged.

在云计算环境下,虚拟机在线迁移是云资源调度的基本手段,而资源调度往往有较为严格的时效性要求,从而对虚拟机在线迁移的完成时间有较高的要求。如果虚拟机在线迁移不能在预定的、合理的时间内完成,则无法完成有效的资源调度,从而影响云服务的质量。传统的虚拟机在线迁移过程对用户或管理员而言是不透明的,管理员在提交在线迁移操作后是无法预知操作是否能成功或在多长时间内能够完成。In the cloud computing environment, virtual machine online migration is the basic method of cloud resource scheduling, and resource scheduling often has strict timeliness requirements, so there is a higher requirement for the completion time of virtual machine online migration. If the virtual machine online migration cannot be completed within a predetermined and reasonable time, effective resource scheduling cannot be completed, thereby affecting the quality of cloud services. The traditional virtual machine online migration process is opaque to users or administrators. After submitting an online migration operation, the administrator cannot predict whether the operation will be successful or how long it will take to complete.

因此,在根据本发明的又一个实施例中,虚拟机在线迁移方法还可以预测虚拟机能否完成在线迁移操作,如果预测到不能在合理时间内完成在线迁移操作,则提示用户或管理员降低虚拟机中的负载或放弃本次迁移。从而,对于那些无法完成或无法在合理时间内完成的虚拟机在线迁移操作会及时反馈给用户或管理员,以便采取相应的应对措施,以满足云资源调度的时效性要求。对于虚拟机能否在合理时间内完成在线迁移的预测主要是基于对虚拟机迁移过程中剩余待迁移数据总量的收敛趋势的预测,预测趋势如果为合理时间内可收敛,则判断结果为能完成在线迁移,否则判断结果为不能完成在线迁移。具体预测算法可以例如:通过记录每个数据迁移周期结束后的剩余待迁移数据总量,查看该数值序列是否大体上符合单调递减的趋势,如果是,则预测结果为可收敛;否则为不收敛。Therefore, in another embodiment of the present invention, the virtual machine online migration method can also predict whether the virtual machine can complete the online migration operation, and if it is predicted that the online migration operation cannot be completed within a reasonable time, the user or administrator is prompted to reduce the load on the virtual machine or abort the migration. Therefore, online migration operations of virtual machines that cannot be completed or cannot be completed within a reasonable time will be promptly fed back to the user or administrator, so that corresponding countermeasures can be taken to meet the timeliness requirements of cloud resource scheduling. The prediction of whether the virtual machine can complete online migration within a reasonable time is mainly based on the prediction of the convergence trend of the remaining data to be migrated during the virtual machine migration process. If the predicted trend can be converged within a reasonable time, the judgment result is yes Complete the online migration, otherwise the judgment result is that the online migration cannot be completed. The specific prediction algorithm can be, for example: by recording the total amount of remaining data to be migrated after the end of each data migration cycle, check whether the numerical sequence generally conforms to a monotonically decreasing trend. If so, the prediction result is convergent; otherwise, it is non-convergent .

在本发明的又一个实施例中,还提供了一种虚拟机在线迁移系统,包括迭代拷贝装置和停机拷贝装置。其中,迭代拷贝装置用于对于待迁移的虚拟机内存页面与磁盘块,根据其迁移优先级从高到低的顺序进行迁移,将其中的数据拷贝到目标端,直到虚拟机内存与磁盘中待迁移数据总量小于预定义的停机阈值。停机拷贝装置用于在虚拟机内存与磁盘中待迁移数据总量小于预定义的停机阈值时暂停虚拟机的运行,将虚拟机内存与磁盘中待迁移数据一次性拷贝到目标端。In yet another embodiment of the present invention, a virtual machine live migration system is also provided, including an iterative copy device and a shutdown copy device. Wherein, the iterative copy device is used to migrate the memory pages and disk blocks of the virtual machine to be migrated according to the order of their migration priorities from high to low, and copy the data therein to the target end until the memory pages and disk blocks of the virtual machine are to be migrated. The total amount of migrated data is less than the predefined downtime threshold. The shutdown copy device is used to suspend the operation of the virtual machine when the total amount of data to be migrated in the memory and disk of the virtual machine is less than a predefined shutdown threshold, and copy the data to be migrated in the memory and disk of the virtual machine to the target end at one time.

通过上述本发明具体实施例,可以减少虚拟机在线迁移过程中产生的无效迁移数据,从而节约网络带宽、宿主机CPU、内存等资源,而且还能及时发现不可完成或难以在合理时间内完成的虚拟机在线迁移操作,以便用户或管理员采取相应的措施,避免无休止的迁移操作等待,改善了云计算环境下资源利用率和云服务的质量。Through the above-mentioned specific embodiments of the present invention, it is possible to reduce the invalid migration data generated during the online migration of virtual machines, thereby saving resources such as network bandwidth, host machine CPU, memory, etc. The online migration operation of the virtual machine allows users or administrators to take corresponding measures, avoids endless waiting for migration operations, and improves resource utilization and cloud service quality in the cloud computing environment.

虽然本发明已经通过优选实施例进行了描述,然而本发明并非局限于这里所描述的实施例,在不脱离本发明范围的情况下还包括所作出的各种改变以及变化。Although the present invention has been described in terms of preferred embodiments, the present invention is not limited to the embodiments described herein, and various changes and changes are included without departing from the scope of the present invention.

Claims (10)

1. the online moving method of virtual machine, comprising:
Step 1, for the virutal machine memory page and disk block to be migrated, according to its migration priority order from high to low, move, copy data wherein to destination end, until data total amount to be migrated is less than predefined shutdown threshold in virutal machine memory and disk; Wherein, the migration priority of the virutal machine memory page and disk block is according to the renewal temperature of the virutal machine memory page and disk block is arranged, and upgrades temperature lower, and migration priority is higher;
Step 2, suspends the operation of virtual machine, by the disposable destination end that copies to of data to be migrated in virutal machine memory and disk.
2. method according to claim 1, described step 1 also comprises the migration priority of dynamically adjusting the virutal machine memory page/disk block along with the change of the renewal temperature of the virutal machine memory page/disk block.
3. method according to claim 1 and 2, described step 1 also comprises the virutal machine memory page/disk block renewal frequency of the nearest phase of history of regular statistics in the time, and the page/disk block of the virutal machine memory in time renewal frequency statistics arranges the renewal temperature of the virutal machine memory page/disk block according to nearest phase of history.
4. method according to claim 3, described renewal temperature is to come through the following steps to determine:
For a virutal machine memory page/disk block, each Data Migration periodic recording is the update status of this virutal machine memory page/disk block once, if this memory pages/disk block was updated, is just designated as 1, otherwise is designated as 0;
The update status of this virutal machine memory page/disk block that nearest n Data Migration cycle recorded is sued for peace, and the current renewal temperature using gained summation as this memory pages/disk block; Wherein the Data Migration cycle is the continuous data copy time in the online transition process of virtual machine.
5. method according to claim 4, described step 1 is also included in each Data Migration cycle and recalculates renewal temperature and the migration priority based on upgrading temperature and adjust the virutal machine memory page and disk block of the virutal machine memory page and disk block before starting.
6. method according to claim 1, wherein the migration priority of virtual machine disk block is set to the migration priority higher than the virutal machine memory page, and each disk block/memory pages is initialized as identical migration priority.
7. method according to claim 1, described step 1 also comprises: detect in real time virtual machine and whether have renewal hot spot data collection, described renewal hot spot data collection refers to that in a period of time, it upgrades the set that temperature continues the higher virutal machine memory page or disk block composition; And whether the data volume summation that detects this renewal hot spot data collection is higher than predefined shutdown threshold, if surpass shutdown threshold, suspends the migration of upgrading the concentrated data block of hot spot data.
8. method according to claim 1, described step 1 also comprises based on to remaining the prediction of the convergent tendency of data total amount to be migrated in virtual machine (vm) migration process, judges whether to move online completing virtual machine within reasonable time; If determined, can not complete the online migration operation of virtual machine within reasonable time, point out user or keeper to reduce the load in virtual machine or abandon this migration operation.
9. method according to claim 8, wherein comprises remaining the prediction of the convergent tendency of data total amount to be migrated in virtual machine (vm) migration process: record the residue data total amount to be migrated after each Data Migration end cycle; Check whether this sequence meets the trend of monotone decreasing substantially, if so, predict the outcome as restraining; Otherwise for not restraining.
10. the online migratory system of virtual machine, comprising:
Iteration copy device, be used for for the virutal machine memory page and disk block to be migrated, according to its migration priority order from high to low, move, copy data wherein to destination end, until data total amount to be migrated is less than predefined shutdown threshold in virutal machine memory and disk; Wherein, the migration priority of the virutal machine memory page and disk block is according to the renewal temperature of the virutal machine memory page and disk block is arranged, and upgrades temperature lower, and migration priority is higher;
Shut down copy device, for suspend the operation of virtual machine when virutal machine memory and disk data total amount to be migrated are less than predefined shutdown threshold, by the disposable destination end that copies to of data to be migrated in virutal machine memory and disk.
CN201310571172.XA 2013-11-13 2013-11-13 The online moving method of virtual machine and system Active CN103577249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310571172.XA CN103577249B (en) 2013-11-13 2013-11-13 The online moving method of virtual machine and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310571172.XA CN103577249B (en) 2013-11-13 2013-11-13 The online moving method of virtual machine and system

Publications (2)

Publication Number Publication Date
CN103577249A true CN103577249A (en) 2014-02-12
CN103577249B CN103577249B (en) 2017-06-16

Family

ID=50049094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310571172.XA Active CN103577249B (en) 2013-11-13 2013-11-13 The online moving method of virtual machine and system

Country Status (1)

Country Link
CN (1) CN103577249B (en)

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123171A (en) * 2014-06-10 2014-10-29 浙江大学 Virtual machine migrating method and system based on NUMA architecture
CN104216784A (en) * 2014-08-25 2014-12-17 杭州华为数字技术有限公司 Hotspot balance control method and related device
CN104268003A (en) * 2014-09-30 2015-01-07 南京理工大学 Memory state migration method applicable to dynamic migration of virtual machine
CN104683444A (en) * 2015-01-26 2015-06-03 电子科技大学 A data migration method for multiple virtual machines in a data center
CN104754033A (en) * 2015-03-02 2015-07-01 同济大学 Method for realizing online migration based on bidirectional pipeline manner under NDN (Named Data Networking)
CN104852789A (en) * 2014-02-17 2015-08-19 中国移动通信集团公司 Carrier wave migration method, digital front end, base-band pool and carrier wave migration system
CN105094700A (en) * 2015-07-15 2015-11-25 浪潮(北京)电子信息产业有限公司 Calculation method and device for data temperature value in cloud storage system based on tiered storage
CN105389136A (en) * 2015-12-24 2016-03-09 广东石油化工学院 Online migration method for virtual machine
CN105824846A (en) * 2015-01-09 2016-08-03 阿里巴巴集团控股有限公司 Data migration method and device
CN105955837A (en) * 2015-05-21 2016-09-21 中国科学院计算技术研究所 Fault tolerant memory synchronization method and system of virtual machine
CN105955809A (en) * 2016-04-25 2016-09-21 深圳市万普拉斯科技有限公司 Thread scheduling method and system
CN106326301A (en) * 2015-07-02 2017-01-11 富士通株式会社 Information processing apparatus and method
CN106469085A (en) * 2016-08-31 2017-03-01 北京航空航天大学 The online migration method, apparatus and system of virtual machine
WO2017049617A1 (en) * 2015-09-25 2017-03-30 Intel Corporation Techniques to select virtual machines for migration
CN106874070A (en) * 2017-02-24 2017-06-20 郑州云海信息技术有限公司 The moving method and device of a kind of virtual machine
CN107133093A (en) * 2017-06-02 2017-09-05 郑州云海信息技术有限公司 The online moving method and device of a kind of virtual machine
CN107506234A (en) * 2017-07-03 2017-12-22 北京东土科技股份有限公司 A kind of dispatching method of virtual machine and device
CN107643937A (en) * 2016-07-22 2018-01-30 北京金山云网络技术有限公司 A kind of virtual machine monitor upgrade method and device
CN107832119A (en) * 2017-11-20 2018-03-23 浙江网新恒天软件有限公司 A kind of KVM live migration of virtual machine optimization methods for reducing internal memory and repeating copy
CN108205424A (en) * 2017-12-29 2018-06-26 北京奇虎科技有限公司 Data migration method, device and electronic equipment based on disk
CN108763247A (en) * 2018-03-29 2018-11-06 阿里巴巴集团控股有限公司 The method and device of user's request is handled in data migration process
CN108776617A (en) * 2018-06-08 2018-11-09 山东超越数控电子股份有限公司 It is a kind of that target identification method is prefetched based on access frequency and dynamic priority
CN108989127A (en) * 2018-08-15 2018-12-11 中科边缘智慧信息科技(苏州)有限公司 User roams and with chance cut-in method between multiple data centers
CN109597671A (en) * 2018-12-11 2019-04-09 国云科技股份有限公司 A kind of desktop cloud implementation method being compatible with centralized and distributed operation
CN110134492A (en) * 2019-04-18 2019-08-16 华中科技大学 A non-stop memory page migration system for heterogeneous memory virtual machines
CN110737512A (en) * 2019-10-25 2020-01-31 北京浪潮数据技术有限公司 Cross-platform virtual machine online migration method and related components
CN111324413A (en) * 2018-12-14 2020-06-23 中移(杭州)信息技术有限公司 Data migration method and data migration management equipment
CN111580932A (en) * 2020-05-12 2020-08-25 西安交通大学 Virtual machine disk online migration redundancy removing method
CN111611055A (en) * 2020-05-27 2020-09-01 上海有孚智数云创数字科技有限公司 Virtual equipment optimal idle time migration method and device and readable storage medium
CN111736754A (en) * 2019-03-25 2020-10-02 杭州海康威视系统技术有限公司 Data migration method and device
CN111858469A (en) * 2020-07-24 2020-10-30 成都成信高科信息技术有限公司 A Adaptive Hierarchical Storage Method Based on Time Sliding Window
CN112559119A (en) * 2019-09-25 2021-03-26 阿里巴巴集团控股有限公司 Virtual machine migration method and device, electronic equipment and storage medium
WO2021057759A1 (en) * 2019-09-25 2021-04-01 阿里巴巴集团控股有限公司 Memory migration method, device, and computing apparatus
CN112764660A (en) * 2019-10-21 2021-05-07 伊姆西Ip控股有限责任公司 Method, apparatus, and computer-readable storage medium for data migration
WO2021174698A1 (en) * 2020-03-04 2021-09-10 平安科技(深圳)有限公司 Virtual machine snapshot creation method and apparatus, and storage medium and computer device
CN114490566A (en) * 2021-12-10 2022-05-13 苏州浪潮智能科技有限公司 Cluster data migration method and device, computer equipment and storage medium
CN116893893A (en) * 2023-09-08 2023-10-17 北京翼辉信息技术有限公司 Virtual machine scheduling method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455942A (en) * 2010-12-02 2012-05-16 中标软件有限公司 Method and system for dynamic migration of WAN virtual machines
US20120137098A1 (en) * 2010-11-29 2012-05-31 Huawei Technologies Co., Ltd. Virtual storage migration method, virtual storage migration system and virtual machine monitor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120137098A1 (en) * 2010-11-29 2012-05-31 Huawei Technologies Co., Ltd. Virtual storage migration method, virtual storage migration system and virtual machine monitor
CN102455942A (en) * 2010-12-02 2012-05-16 中标软件有限公司 Method and system for dynamic migration of WAN virtual machines

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JOHANTORDSSON ET AL.: "《High performance live migration through dynamic page transfer reordering and compression》", 《2011 THIRD IEEE INTERNATIONAL CONFERENCE ON CLOUD COMPUTING TECHNOLOGY AND SCIENCE》 *
孙国飞 等: "《基于预拷贝的虚拟机动态内存迁移机制改进》", 《计算机工程》 *

Cited By (59)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104852789B (en) * 2014-02-17 2019-06-25 中国移动通信集团公司 A kind of carrier wave emigration method, digital front-end, baseband pool and carrier wave emigration system
CN104852789A (en) * 2014-02-17 2015-08-19 中国移动通信集团公司 Carrier wave migration method, digital front end, base-band pool and carrier wave migration system
CN104123171B (en) * 2014-06-10 2017-05-10 浙江大学 Virtual machine migrating method and system based on NUMA architecture
CN104123171A (en) * 2014-06-10 2014-10-29 浙江大学 Virtual machine migrating method and system based on NUMA architecture
CN104216784A (en) * 2014-08-25 2014-12-17 杭州华为数字技术有限公司 Hotspot balance control method and related device
CN104216784B (en) * 2014-08-25 2018-01-23 杭州华为数字技术有限公司 Focus balance control method and relevant apparatus
CN104268003A (en) * 2014-09-30 2015-01-07 南京理工大学 Memory state migration method applicable to dynamic migration of virtual machine
CN104268003B (en) * 2014-09-30 2017-11-14 南京理工大学 A kind of internal storage state moving method suitable for dynamic migration of virtual machine
CN105824846A (en) * 2015-01-09 2016-08-03 阿里巴巴集团控股有限公司 Data migration method and device
CN104683444A (en) * 2015-01-26 2015-06-03 电子科技大学 A data migration method for multiple virtual machines in a data center
CN104754033A (en) * 2015-03-02 2015-07-01 同济大学 Method for realizing online migration based on bidirectional pipeline manner under NDN (Named Data Networking)
CN104754033B (en) * 2015-03-02 2018-04-17 同济大学 The method that virtual machine migrates online is realized based on two-way pipe method under NDN
CN105955837A (en) * 2015-05-21 2016-09-21 中国科学院计算技术研究所 Fault tolerant memory synchronization method and system of virtual machine
CN105955837B (en) * 2015-05-21 2019-07-30 中国科学院计算技术研究所 A kind of virtual machine fault tolerant memory synchronous method and system
CN106326301A (en) * 2015-07-02 2017-01-11 富士通株式会社 Information processing apparatus and method
CN105094700A (en) * 2015-07-15 2015-11-25 浪潮(北京)电子信息产业有限公司 Calculation method and device for data temperature value in cloud storage system based on tiered storage
WO2017049617A1 (en) * 2015-09-25 2017-03-30 Intel Corporation Techniques to select virtual machines for migration
CN105389136A (en) * 2015-12-24 2016-03-09 广东石油化工学院 Online migration method for virtual machine
CN105955809A (en) * 2016-04-25 2016-09-21 深圳市万普拉斯科技有限公司 Thread scheduling method and system
CN107643937B (en) * 2016-07-22 2020-07-03 北京金山云网络技术有限公司 A kind of virtual machine monitor upgrade method and device
CN107643937A (en) * 2016-07-22 2018-01-30 北京金山云网络技术有限公司 A kind of virtual machine monitor upgrade method and device
CN106469085A (en) * 2016-08-31 2017-03-01 北京航空航天大学 The online migration method, apparatus and system of virtual machine
CN106469085B (en) * 2016-08-31 2019-11-08 北京航空航天大学 Virtual machine online migration method, device and system
CN106874070A (en) * 2017-02-24 2017-06-20 郑州云海信息技术有限公司 The moving method and device of a kind of virtual machine
CN107133093A (en) * 2017-06-02 2017-09-05 郑州云海信息技术有限公司 The online moving method and device of a kind of virtual machine
CN107506234B (en) * 2017-07-03 2020-04-24 北京东土科技股份有限公司 Virtual machine scheduling method and device
CN107506234A (en) * 2017-07-03 2017-12-22 北京东土科技股份有限公司 A kind of dispatching method of virtual machine and device
CN107832119A (en) * 2017-11-20 2018-03-23 浙江网新恒天软件有限公司 A kind of KVM live migration of virtual machine optimization methods for reducing internal memory and repeating copy
CN108205424A (en) * 2017-12-29 2018-06-26 北京奇虎科技有限公司 Data migration method, device and electronic equipment based on disk
CN108763247A (en) * 2018-03-29 2018-11-06 阿里巴巴集团控股有限公司 The method and device of user's request is handled in data migration process
CN108763247B (en) * 2018-03-29 2021-12-07 创新先进技术有限公司 Method and device for processing user request in data migration process
CN108776617A (en) * 2018-06-08 2018-11-09 山东超越数控电子股份有限公司 It is a kind of that target identification method is prefetched based on access frequency and dynamic priority
CN108989127A (en) * 2018-08-15 2018-12-11 中科边缘智慧信息科技(苏州)有限公司 User roams and with chance cut-in method between multiple data centers
CN108989127B (en) * 2018-08-15 2020-10-27 中科边缘智慧信息科技(苏州)有限公司 Roaming and random access method for users between multiple data centers
CN109597671A (en) * 2018-12-11 2019-04-09 国云科技股份有限公司 A kind of desktop cloud implementation method being compatible with centralized and distributed operation
CN111324413A (en) * 2018-12-14 2020-06-23 中移(杭州)信息技术有限公司 Data migration method and data migration management equipment
CN111324413B (en) * 2018-12-14 2023-08-15 中移(杭州)信息技术有限公司 A data migration method and data migration management device
CN111736754A (en) * 2019-03-25 2020-10-02 杭州海康威视系统技术有限公司 Data migration method and device
CN110134492A (en) * 2019-04-18 2019-08-16 华中科技大学 A non-stop memory page migration system for heterogeneous memory virtual machines
CN110134492B (en) * 2019-04-18 2021-04-13 华中科技大学 Non-stop memory page migration system for heterogeneous memory virtual machine
WO2021057759A1 (en) * 2019-09-25 2021-04-01 阿里巴巴集团控股有限公司 Memory migration method, device, and computing apparatus
US12124724B2 (en) 2019-09-25 2024-10-22 Alibaba Group Holding Limited Memory migration method, apparatus, and computing device
WO2021057698A1 (en) * 2019-09-25 2021-04-01 阿里巴巴集团控股有限公司 Virtual machine migration method, device, electronic apparatus, and storage medium
CN112559119A (en) * 2019-09-25 2021-03-26 阿里巴巴集团控股有限公司 Virtual machine migration method and device, electronic equipment and storage medium
CN112764660A (en) * 2019-10-21 2021-05-07 伊姆西Ip控股有限责任公司 Method, apparatus, and computer-readable storage medium for data migration
CN112764660B (en) * 2019-10-21 2024-08-02 伊姆西Ip控股有限责任公司 Method, apparatus and computer readable storage medium for data movement
CN110737512A (en) * 2019-10-25 2020-01-31 北京浪潮数据技术有限公司 Cross-platform virtual machine online migration method and related components
WO2021174698A1 (en) * 2020-03-04 2021-09-10 平安科技(深圳)有限公司 Virtual machine snapshot creation method and apparatus, and storage medium and computer device
CN111580932B (en) * 2020-05-12 2023-04-07 西安交通大学 Virtual machine disk online migration redundancy removal method
CN111580932A (en) * 2020-05-12 2020-08-25 西安交通大学 Virtual machine disk online migration redundancy removing method
CN111611055A (en) * 2020-05-27 2020-09-01 上海有孚智数云创数字科技有限公司 Virtual equipment optimal idle time migration method and device and readable storage medium
CN112527470A (en) * 2020-05-27 2021-03-19 上海有孚智数云创数字科技有限公司 Model training method and device for predicting performance index and readable storage medium
CN111611055B (en) * 2020-05-27 2020-12-18 上海有孚智数云创数字科技有限公司 Virtual equipment optimal idle time migration method and device and readable storage medium
CN111858469B (en) * 2020-07-24 2024-01-26 成都成信高科信息技术有限公司 Self-adaptive hierarchical storage method based on time sliding window
CN111858469A (en) * 2020-07-24 2020-10-30 成都成信高科信息技术有限公司 A Adaptive Hierarchical Storage Method Based on Time Sliding Window
CN114490566A (en) * 2021-12-10 2022-05-13 苏州浪潮智能科技有限公司 Cluster data migration method and device, computer equipment and storage medium
CN114490566B (en) * 2021-12-10 2024-01-30 苏州浪潮智能科技有限公司 Cluster data migration method and device, computer equipment and storage medium
CN116893893A (en) * 2023-09-08 2023-10-17 北京翼辉信息技术有限公司 Virtual machine scheduling method and device, electronic equipment and storage medium
CN116893893B (en) * 2023-09-08 2024-03-22 北京翼辉信息技术有限公司 Virtual machine scheduling method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103577249B (en) 2017-06-16

Similar Documents

Publication Publication Date Title
CN103577249B (en) The online moving method of virtual machine and system
Gu et al. Tiresias: A {GPU} cluster manager for distributed deep learning
JP5851618B2 (en) Network-ready coordination of multiple virtual machine migrations in multiple corporate data centers and clouds
US9652161B2 (en) System, method, and medium of optimizing load reallocation in an in-memory data management grid
US20120167101A1 (en) System and method for proactive task scheduling
Zheng et al. Cynthia: Cost-efficient cloud resource provisioning for predictable distributed deep neural network training
CN108595250B (en) A resource scheduling efficiency optimization method and system for IaaS cloud platform
US11797187B2 (en) Optimized I/O performance regulation for non-volatile storage
CN106125888B (en) The efficient power-economizing method of the utilization of resources in cloud data center based on virtual machine (vm) migration
CN106775949B (en) Virtual machine online migration optimization method capable of sensing composite application characteristics and network bandwidth
Xie et al. Pandas: robust locality-aware scheduling with stochastic delay optimality
EP3537281B1 (en) Storage controller and io request processing method
CN114443211B (en) Virtual machine hot migration method, device and storage medium
WO2019062202A1 (en) Method, hard disk, and storage medium for executing hard disk operation instruction
CN104268003A (en) Memory state migration method applicable to dynamic migration of virtual machine
JP6686371B2 (en) Data staging management system
JP6160240B2 (en) Information processing apparatus, information processing system, information processing apparatus control method, and information processing apparatus control program
CN111124254A (en) Method, electronic device and program product for scheduling storage space reclamation requests
US20170262310A1 (en) Method for executing and managing distributed processing, and control apparatus
CN115629858A (en) Adaptive method and application of the number of function instances in the background of serverless
JP6227841B1 (en) Data processing system and data processing method
JP2012181578A (en) Update control device and program
JP2013182303A (en) Virtual machine management system, method and program
JP6773229B2 (en) Storage controller and IO request processing method
JP2011018281A (en) System, method and program for managing job execution

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant