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

Virtual machine migration method and system

A technology of virtual machine and state migration, applied in the computer field

Pending Publication Date: 2020-10-02
ALIBABA GRP HLDG LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method and system for migrating a virtual machine to at least solve the technical problem in the prior art that a virtual machine using the NVIDIA GPU pass-through method cannot be hot-migrated between host machines

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 and system
  • Virtual machine migration method and system
  • Virtual machine migration method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] According to an embodiment of the present invention, an embodiment of a method for migrating a virtual machine is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings may be executed in a computer system such as a set of computer-executable instructions, Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.

[0031] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. figure 1 A hardware structure block diagram of a computer terminal (or mobile device) for implementing a virtual machine migration method is shown. like figure 1 As shown, the computer terminal 10 (or mobile device 10 ) may include one or more processors 102 (shown as 102a, 102b, . or a processing device such as a programmable logic device FPGA)...

Embodiment 2

[0084] According to an embodiment of the present invention, an embodiment of a virtual machine migration system is also provided, Figure 5 It is a schematic diagram of a virtual machine migration system according to Embodiment 2 of the present application. As shown in the figure, the system includes:

[0085] The virtual machine 50 runs on the first processor 60 of the first host.

[0086] Specifically, the above-mentioned virtual machine runs on a first host machine, and the first processor in the first host machine may be a GPU in a pass-through mode, and provides services for the virtual machine in a pass-through manner. Using GPU pass-through mode avoids the abstraction layer overhead of GPU shared mode and delivers performance similar to dedicated desktops.

[0087] In an optional embodiment, the above-mentioned virtual machine is provided with a migration module, the migration module in the virtual machine detects the migration instruction sent by the console, and afte...

Embodiment 3

[0120] According to an embodiment of the present invention, an apparatus for migrating a virtual machine for implementing the method for migrating a virtual machine in Embodiment 1 is also provided, Figure 7 is a schematic diagram of a method for migrating a virtual machine according to Embodiment 3 of the present application, such as Figure 7 As shown, the apparatus 700 includes:

[0121] The detection module 702 is used for the virtual machine to detect whether a migration instruction is received, wherein the virtual machine runs on the first processor of the first host machine.

[0122] The fetching module 704 is configured to fetch the video memory number generated in the first processor by the virtual machine if the migration instruction is detected.

[0123] The migration module 706 is used for the virtual machine to migrate the video memory data to the second processor of the second host.

[0124] It should be noted here that the above-mentioned detection module 702...

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 virtual machine migration method and system. The method comprises the steps that a virtual machine detects whether a migration instruction is received or not, and the virtualmachine runs on a first processor of a first host machine; if the migration instruction is detected, the virtual machine calls video memory data generated in the first processor; and the virtual machine migrates the video memory data to a second processor of the second host machine. According to the method and the device, the technical problem that in the prior art, a virtual machine using an NVIDIA GPU straight-through mode cannot be subjected to thermal migration between host machines is solved.

Description

technical field [0001] The present invention relates to the field of computers, and in particular, to a method and system for migrating virtual machines. Background technique [0002] At present, NVIDIA GPUs are widely used for training and reasoning in AI, machine learning and other fields, and various types of training and reasoning calculations account for more than 80% of all GPU usage. At the same time, CUDA (Compute Unified Device Architecture, unified computing device architecture), as its only software supporting system in AI and machine learning, cooperates with NVIDIA GPU to build a complete uplink and downlink application scenarios. [0003] CUDA core is the basic computing unit of GPU. GPU consists of thousands of CUDA cores, also called sp (streaming processor). Since the GPU pass-through technology does not have the ability to intercept and rebuild information on the host side, it is impossible to know the status information of the CUDA core, so that the virtu...

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
CPCG06F9/45533G06F9/45558G06F2009/4557G06T1/20G06F9/4856G06T1/60
Inventor 郑晓林立翔龙欣
Owner ALIBABA GRP HLDG 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