Virtual machine dynamic migration method and device, and storage medium

A dynamic migration, virtual machine technology, applied in program control design, program startup/switching, software emulation/interpretation/simulation, etc., can solve problems such as error-prone, uncertain memory page transfer stage, and long virtual machine dynamic migration process. , to shorten the migration time and reduce the number of iterations

Pending Publication Date: 2019-08-16
ZTE CORP
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The main purpose of the present invention is to propose a virtual machine dynamic migration method, device and storage medium, aiming to solve the problems of long virtual machine dynamic migration process, error-prone, uncertain memory page transmission stage, etc.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Virtual machine dynamic migration method and device, and storage medium
  • Virtual machine dynamic migration method and device, and storage medium
  • Virtual machine dynamic migration method and device, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0031] Such as figure 1 As shown in FIG. 1 , it is a schematic flowchart of the virtual machine dynamic migration method provided in the first embodiment of the present invention. exist figure 1 Among them, the virtual machine dynamic migration method includes the following steps:

[0032] Step 110, calculate the first dirty page rate of each memory page in the list to be migrated in the current iteration.

[0033] Specifically, start the memory migration and start to predict the dirty page rate at the same time. In the present invention, the dirty page rate is: the probability that the memory page will be rewritten in the next period of time, which is estimated according to the rewrite situation of the memory page in the previous period of time out predicted value. Those skilled in the art can understand that the dirty page rate is related to the rewriting rate of memory pages. The write rate indicates the average number of writes to memory pages over a period of time. T...

no. 2 example

[0069] Such as Figure 5 As shown in FIG. 2 , it is a schematic flow chart of the virtual machine dynamic migration method provided by the second embodiment of the present invention. exist Figure 5 In the method, the virtual machine dynamic migration method is a further improvement made on the basis of the first embodiment, the only difference is that the method also includes:

[0070] Step 510, judging whether the memory pages that have been migrated in the current round of iterations are smaller than the preset value; if so, proceed to step 520, if not, then return to step 110 to calculate the dirty page rate of the memory pages;

[0071] Step 520, the iteration is terminated and the virtual machine enters the shutdown phase;

[0072] Step 530, sending the untransmitted memory pages to the receiving end.

[0073] Specifically, when the migrated memory pages in the current round of iteration are less than the preset value, the iteration is terminated, that is, the iterati...

no. 4 example

[0082] Such as Figure 7 As shown, a schematic diagram of a device hardware architecture is provided for a fourth embodiment of the present invention. exist Figure 7 Among them, the device includes: a memory 710 , a processor 720 , and a virtual machine dynamic migration program 730 stored on the memory 710 and operable on the processor 720 . In this embodiment, the virtual machine dynamic migration program 730 includes a series of computer program instructions stored in the memory 710. When the computer program instructions are executed by the processor 720, the virtual machine of each embodiment of the present invention can be implemented. Machine live migration operation. In some embodiments, the virtual machine live migration program 730 can be divided into one or more modules based on specific operations implemented by each part of the computer program instructions. Such as Figure 8 As shown, the virtual machine dynamic migration program 730 includes: a calculation ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a virtual machine dynamic migration method. The virtual machine dynamic migration method comprises the following steps: calculating a first dirty page rate of each memory pagein a to-be-migrated list in a current round of iteration; judging whether the first dirty page rate is smaller than a preset current dirty page rate threshold or not; and if so, sending the memory page meeting the condition to a receiving end, wherein according to the memory page meeting the condition, the first dirty page rate is smaller than the preset current dirty page rate threshold value. Inaddition, the invention further discloses a virtual machine dynamic migration device and a storage medium. By adopting the virtual machine dynamic migration method and device, the data transmission quantity is reduced by pre-copying based on dirty page rate prediction; the number of memory pages transmitted in each round of iteration is reduced; only the memory pages of which the dirty page ratesare smaller than the current dirty page rate threshold value can be transmitted; the total iteration times are reduced; and the migration time is shortened.

Description

technical field [0001] The present invention relates to the technical field of cloud computing data processing, in particular to a virtual machine dynamic migration method, device and storage medium. Background technique [0002] Virtualization, especially server virtualization, can improve the utilization of hardware resources, give full play to the computing power of physical machines, and can quickly respond to changing needs and improve the level of office automation, so it is widely used in data centers, cloud computing, etc. environment. Virtual machine dynamic migration is one of the core technologies of virtualization. It is to quickly and completely migrate the running state of the entire virtual machine from the original physical machine to another physical machine during the running of the virtual machine, and the entire migration The process is smooth and the user hardly notices any difference. Using virtual machine dynamic migration technology can effectively ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455G06F9/48
CPCG06F9/45558G06F9/4856G06F2009/4557
Inventor 童遥李华申光
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products