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

Method and equipment for upgrading machine virtualizer on line

A virtual machine and machine technology, applied in the computer field, can solve problems such as affecting user experience, long upgrade time, long hot migration time, etc., to achieve the effect of improving user experience, shortening upgrade time, and speeding up recovery speed

Active Publication Date: 2017-01-04
ALIBABA CLOUD COMPUTING LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the memory pressure in the virtual machine is very high and new dirty pages are constantly generated, the first step may not be able to converge, and the hot migration will take a long time or fail
Second, after the hot migration is completed, the ID of the QEMU process will change, which may cause some unnecessary troubles, such as the virtual machine physical CPU utilization (that is, the CPU utilization of the QEMU process) monitoring tool, after the QEMU process ID changes, The corresponding relationship between the virtual machine name and the QEMU process ID has also changed, which must be considered in the tool
It can be seen that the success rate of upgrading QEMU components using existing technical solutions is not high, which will bring a lot of trouble to developers, and the upgrade time is long, which affects 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
  • Method and equipment for upgrading machine virtualizer on line
  • Method and equipment for upgrading machine virtualizer on line
  • Method and equipment for upgrading machine virtualizer on line

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The application will be described in further detail below in conjunction with the accompanying drawings.

[0038] figure 1 A device 1 for online upgrading a machine virtual machine according to an embodiment of an aspect of the present application is shown, wherein the device 1 includes a first device 11 , a second device 12 , a third device 13 and a fourth device 14 .

[0039]Specifically, the first device 11 applies for a specified memory, and the specified memory will not be released when the machine virtual machine is updated; the second device 12 suspends the running of the virtual machine, and saves the relevant information of the virtual machine to In the designated memory; the third device 13 upgrades the machine virtual machine, and transfers the address of the designated memory into the machine virtual machine as a new parameter; the fourth device 14 restores the virtual machine The status information of the machine is restored, and the operation of the 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 invention aims to provide a method and equipment for upgrading a machine virtualizer on line. The method and the equipment apply for an appointed memory, wherein the appointed memory is used for storing the memory address and the state information of a virtual machine, and the appointed memory is not released when the machine virtualizer is updated; after the machine virtualizer is upgraded, the state information of the virtual machine can be directly recovered from the appointed memory so as to quicken recovery speed and shorten upgrade time; in addition, the address of the appointed address is transmitted into the machine virtualizer as a new parameter so as to realize the on-line upgrade (hot upgrade) of the machine virtualizer. In addition, in an upgrade process of the machine virtualizer, an execution module is used for updating the executable file of the machine virtualizer to realize the in-situ (i.e., the ID (Identity) of a process is constant) on-line upgrade of the machine virtualizer, upgrade time can be controlled to be about 100-200ms, and therefore, a user does not perceive so as to improve the use experience of the user.

Description

technical field [0001] The invention relates to the field of computers, in particular to a technology for online upgrading of machine virtual machines. Background technique [0002] In KVM (Kernel-based Virtual Machine, based on kernel virtual machine) virtualization, QEMU (machine virtual machine) is a process running on the host (Host, such as Linux), so it is equivalent to the container of the virtual machine. Wherein, one or more QEMU processes can run on one host, and each VCPU (Virtual CPU, virtual central processing unit) of the virtual machine corresponds to a thread of the QEMU process. The QEMU process applies for the memory used by the virtual machine on the host. At the same time, QEMU is also responsible for the simulation of virtual machine devices (such as network cards, mice, disks, etc.), so QEMU is a very important component in KVM virtualization. [0003] Hot upgrade (that is, online upgrade without shutting down the virtual machine) QEMU components under...

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/445G06F9/455
CPCG06F9/4418G06F9/455G06F8/656G06F8/65
Inventor 张献涛傅俊康
Owner ALIBABA CLOUD COMPUTING 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