Virtual machine migration method, virtual machine migration device and source physical host

A technology for virtual machine migration and physical host, applied in the field of virtual machine migration device, source physical host, and virtual machine migration method, can solve the problems of long memory page time, long virtual machine downtime, poor virtual machine migration performance, etc.

Active Publication Date: 2014-11-19
浙江杭海新城控股集团有限公司
View PDF6 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Bandwidth congestion will cause the target physical host to receive the missing memory page for a long time, and then the virtual machine on the target physical host will take a long time to

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 migration method, virtual machine migration device and source physical host
  • Virtual machine migration method, virtual machine migration device and source physical host
  • Virtual machine migration method, virtual machine migration device and source physical host

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0101] The embodiment of the present invention provides a virtual machine migration method, which is applied to the source physical host, such as figure 2 As shown, the method includes the following steps:

[0102] 101. After the virtual machine is migrated from the source physical host to the target physical host and resumes running on the target physical host, the source physical host sends the memory page of the virtual machine to be synchronized to the target physical host through the network interface using the first bandwidth; the virtual machine The memory pages to be synchronized are: the memory pages stored in the source physical host and not sent to the target physical host during the virtual machine migration process.

[0103] Preferably, the first bandwidth in this step may be all the bandwidth currently available for transferring memory pages to be synchronized between the source physical host and the target physical host. For example, a 100M bandwidth is curren...

Embodiment 2

[0119] An embodiment of the present invention provides a method for migrating a virtual machine, which is described by taking post-copy migration of a virtual machine as an example. Such as image 3 As shown, the method includes the following steps:

[0120] 201. The source physical host records the times or frequency values ​​of each memory page of the virtual machine being accessed when the virtual machine to be migrated runs on the source physical host.

[0121] Preferably, in this step, a bitmap (bitmap) counter may be used to record the number of accesses or the frequency value of the memory page of the virtual machine. The larger the value of a memory page recorded in the bitmap counter, the more times the memory page is accessed or the higher the frequency value. Correspondingly, the smaller the value of a memory page recorded in the bitmap counter, it means that the memory page is accessed more frequently. The page is accessed less often or has a lower frequency valu...

Embodiment 3

[0155] The embodiment of the present invention provides a virtual machine migration device 3, which is deployed on the source physical host, and can be applied to the above method embodiments to execute corresponding steps in the method embodiments. Such as Figure 5 As shown, the virtual machine migration device 3 includes:

[0156] The background transmission module 301 is configured to send the memory page to be synchronized of the virtual machine to the target physical host by using the first bandwidth determined by the bandwidth adaptive module 304 through the network interface; the memory page to be synchronized of the virtual machine is: stored in the source physical host , memory pages that were not sent to the target physical host during virtual machine migration.

[0157] The page fault request receiving module 302 is configured to receive a page fault request sent by the target physical host through a network interface; the page fault request includes information a...

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

An embodiment of the invention provides a virtual machine migration method, a virtual machine migration device and a source physical host and relates to the technical field of virtual machine migration, aiming to shortening power-off time of a virtual machine on a target physical host to improve migration performance of the virtual machine. The virtual machine migration method includes that after the virtual machine migrates to the target physical host from the source physical host and recovers to run on the target physical host, the source physical host sends a to-be-synchronized memory page of the virtual machine to the target physical host through a network interface on the basis of a first band width; the source physical host receives a page fault request sent from the target physical host through the network interface; the source physical host finds out the faulted memory page according to information of the faulted memory page contained in the page fault request, and sends the faulted memory page to the target physical host through the network interface according to a second band width; and the source physical host continues to send the to-be-synchronized memory page of the virtual machine to the target physical host through the network interface according to a third band width.

Description

technical field [0001] The present invention relates to the technical field of virtual machine migration, in particular to a virtual machine migration method, a virtual machine migration device and a source physical host. Background technique [0002] Efficient and flexible resource management can be achieved by using virtualization technology, so it is widely used on cloud platforms. Virtual machine migration is an important field of virtualization technology, which is widely used in clusters, data centers and cloud platform systems, as well as shared hardware and file systems. The virtual machine migration technology can ensure that the running virtual machine is migrated from the currently running physical host to another physical host in an uninterrupted manner, thus realizing the flexible management of the virtual machine on the cloud platform and providing online maintenance for the cluster , resource dynamic scheduling, load balancing system and other operations prov...

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/455
Inventor 藏洪永
Owner 浙江杭海新城控股集团有限公司
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