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

Method and device for online migration between virtual machines based on kvm

A virtual machine migration and virtual machine technology, applied in the field of virtual machine service management, can solve the problems of dirtypages redundancy and prolonged migration time, and achieve the effects of reducing network load, reducing redundant transmission, and reducing online migration time.

Active Publication Date: 2018-04-10
CHINA TELECOM CLOUD TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0016] (2) Some of the transmission operations of dirty pages are redundant and repetitive, which leads to the extension of migration time

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
  • Method and device for online migration between virtual machines based on kvm
  • Method and device for online migration between virtual machines based on kvm
  • Method and device for online migration between virtual machines based on kvm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] The present disclosure will be described below with reference to the accompanying drawings. It is to be noted that the following description is merely explanatory and exemplary in nature, and in no way serves as any limitation of the present disclosure, its application or uses. Relative arrangements of components and steps and numerical expressions and numerical values ​​set forth in the embodiments do not limit the scope of the present disclosure unless otherwise specifically stated. Additionally, techniques, methods and devices known to those skilled in the art may not be discussed in detail but are intended to be part of the description where appropriate.

[0065] With the continuous improvement of the stability of open source products, the commercialization of open source products is becoming more and more common. KVM is an open source virtualization solution based on Linux. Because of its close connection with the Linux kernel, it is increasingly popular with virtu...

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 present disclosure relates to a KVM-based online migration method and device between virtual machines. The method includes receiving a virtual machine migration instruction, creating a target virtual machine on the target physical machine; detecting the network speed from the source physical machine to the target physical machine; fragmenting the memory according to the network speed and the memory size of the source virtual machine; Perform the transmission, and monitor the memory changes of the source virtual machine in real time during the transmission process; judge whether the shadow page table corresponding to the location of the memory change has completed the transmission task according to the mapping relationship between the virtual address and the physical address in each shadow page table; if not If completed, replace the corresponding shadow page table to be transferred with the changed shadow page table; if completed, add the changed shadow page table as dirty data to the end of the transmission queue; determine whether the amount of dirty data generated by the source virtual machine in real time is less than Set the threshold, if it is less than, the pre-copying of the memory of the source virtual machine to the memory of the destination virtual machine is completed. The present disclosure significantly reduces the migration time of the whole machine.

Description

technical field [0001] The present disclosure relates to the field of virtual machine service management, in particular, to a KVM (kernel-based Virtual Machine, kernel-based virtual machine)-based online migration method and device between virtual machines. Background technique [0002] V2V (Virtual-to-Virtual, virtual machine to virtual machine) migration is to move the operating system and data between virtual machines, taking care of host-level differences and handling different virtual hardware. A virtual machine is migrated from a VMM (Virtual Machine Monitor, virtual machine management program) on a physical machine to a VMM of another physical machine, and the types of the two VMMs may be the same or different. For example, VMware migrates to KVM, and KVM migrates to KVM. A virtual machine can be moved from one VM (Virtual Machine, virtual machine) Host system to another VM Host system in various ways. [0003] There are two types of virtual machine migration: offli...

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 Patents(China)
IPC IPC(8): G06F9/48G06F9/455
Inventor 谢朝阳苏涛郑少斌
Owner CHINA TELECOM CLOUD TECH CO LTD
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