Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Migrating method and device for virtual machine, as well as physical host

A technology of virtual machine migration and physical host, applied in the field of virtual machine migration method and device and physical host, can solve the problems such as difficulty in determining the switching timing of pre-copy and post-copy, and achieve the effect of improving performance

Active Publication Date: 2014-07-30
常州横塘科技产业有限公司
View PDF5 Cites 45 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] Embodiments of the present invention provide a virtual machine migration method and device and a physical host, to a certain extent solve the problem that it is difficult to determine the switching timing of pre-copy and post-copy in the hot migration hybrid copy method

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
  • Migrating method and device for virtual machine, as well as physical host
  • Migrating method and device for virtual machine, as well as physical host
  • Migrating method and device for virtual machine, as well as physical host

Examples

Experimental program
Comparison scheme
Effect test

other Embodiment approach

[0058] In other implementation manners, the current dirty page change rate may not be calculated using the number of memory dirty pages at the end of the last two rounds of iterative copying; Number of pages, calculate the current change rate of dirty pages. For example, let R i+1 =(M i+1 -M i-1 ) / (t i+1 -t i-1 ). Certainly, in other implementation manners, there may be other similar calculation manners.

[0059] Generally, as the number of iterations increases, the number of dirty pages in memory tends to decrease continuously. For example, the number of memory dirty pages after the latest round of iterative copying is 900, and the number of memory dirty pages after the last round of iterative copying is 1000, and the corresponding time difference is 500 milliseconds. Then, the calculated dirty page change rate is R i+1 =(900-1000) / 500=-0.2. If the number of memory dirty pages after another round of iterative copying is 850, the corresponding time difference is still ...

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 migrating method and device for a virtual machine, and partly solves the problem that the switch timing between a precopy and a post-copy in a live migration hybrid-copy method is hard to determine. In some of the applicable embodiment of the invention, the virtual machine migration method comprises the steps as follows: firstly, copying the memory data of a target virtual machine to be migrated on a source physical host to a target physical host in a circulatory iteration manner by adopting a precopy method; secondly, after each round of iteration copy is ended, calculating the changing rate of a dirty page, wherein the changing rate of the dirty page represents the rate of the number changing of the remaining internal memory dirty page in a current round of iteration copy relative to the remaining internal memory dirty page in a previous round of iteration copy; thirdly, judging whether the dirty page changing rate is within a dirty page changing rate threshold range or not; fourthly, counting the frequency that the dirty page changing rate is within the dirty page changing rate threshold range and judging whether the frequency is larger than or equal to the threshold value; finally, if the frequency is larger than or equal to the threshold value, adopting the post-copy method for migrating the target virtual machine to the target physical host.

Description

technical field [0001] The invention relates to the technical field of computer and communication, in particular to a virtual machine migration method and device and a physical host. Background technique [0002] Live migration is an extremely important part of virtualization technology. In a virtualized environment, business workloads run on virtual machines (Virtual Machines, VMs), and virtual machines run on physical machines. Each physical machine can run one or more virtual machines; In the case of restarting, it can be moved from the original physical machine to another physical host online. [0003] At present, the commonly used virtual machine migration methods in the industry include pre-copy migration (Precopy) and post-copy migration (Post-copy). Hybrid-copy, which has migration advantages, has gradually become a hot technology in research and application. [0004] The pre-copy migration mechanism (pre-copy), while the virtual machine is running, iteratively mi...

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
Inventor 李江河
Owner 常州横塘科技产业有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products