Check patentability & draft patents in minutes with Patsnap Eureka AI!

Dynamic migration method and device for virtual machines

A technology of dynamic migration and virtual machine, which is applied in the direction of multi-program device, program control device, program startup/switching, etc. It can solve problems such as unfavorable user experience, impact of virtual machine hosting application services, virtual machine cannot perform dynamic migration, etc. Achieve the effect of improving user experience

Active Publication Date: 2017-09-15
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the hardware needs to be maintained, the running services need to be migrated to other hardware platforms to run, and this process cannot affect the application services hosted by the virtual machine
[0004] Although the CPU binding method of the virtual machine can greatly improve the performance of the vCPU, the virtual machine cannot be dynamically migrated.
Because when the virtual machine is dynamically migrated, the host has changed, and the bound physical CPU has naturally changed, so the original binding policy will not take effect.
However, because the physical CPU binding of the migrated virtual machine is released, the performance will naturally decrease, which also has a certain impact on the applications carried by the virtual machine.
[0005] In the prior art, there is no other better solution to the problem of virtual machine migration after physical CPU binding except manual reconfiguration by the user (administrator), which is not conducive to user experience

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
  • Dynamic migration method and device for virtual machines
  • Dynamic migration method and device for virtual machines

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0050] Please refer to figure 1 , figure 1 It is a flowchart of a virtual machine dynamic migration method provided by an embodiment of the present invention. The method can include:

[0051] Step 101: Receive a virtual machine dynamic migration instruction.

[0052] Wherein, the virtual machine dynamic migration instruction may be an ins...

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 dynamic migration method and device for virtual machines. The method comprises the following steps of: calculating a vCPU migration weight of a source virtual machine according to a preset rule according to an available CPU resource; unbinding a physical CPU of the source virtual machine and setting a vCPU weight of the source virtual machine according to the vCPU migration weight; starting a corresponding target virtual machine at a target host according to state information of the source virtual machine and a migration requirement, and carrying out dynamic migration and network switching on data of the source virtual machine; and relieving the setting of a vCPU weight of the target virtual machine and binding a physical CPU of the target virtual machine. According to the method and device disclosed by the invention, vCPU weight enhancement can be carried out according to the calculated vCPU migration weight after the physical CPU of the source virtual machine is unbound, so that the dynamic migration from the source virtual machine to the target virtual machine is realized, and the using and performance of the source virtual machine and applications borne by the source virtual machine are not influenced in the dynamic migration process of the source virtual machine.

Description

technical field [0001] The invention relates to the technical field of computer virtualization, in particular to a virtual machine dynamic migration method and device. Background technique [0002] With the continuous development of computer virtualization technology, CPU (processor) virtualization, as an important part of virtualization technology, also puts forward higher requirements on the performance of vCPU (virtual processor) of a virtual machine. For virtual machines with high computing power requirements (such as database servers, etc.), we can increase the number of vCPUs, increase the weight of vCPUs, and bind physical CPUs to allow virtual machines to obtain higher performance. As one of the most effective means of improving performance, binding physical CPUs avoids frequent switching of processes between CPUs. At the same time, because the CPUs do not share caches, there is no problem of releasing the caches of old CPUs, thus The cache hit rate is greatly incre...

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
IPC IPC(8): G06F9/48G06F9/455
CPCG06F9/45558G06F9/4881G06F2009/4557
Inventor 蒋晨晓王幸福翟辉张博
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More