Virtualization method and device for accelerator and centralized resource manager

A resource manager and accelerator technology, applied in the Internet field, can solve problems such as the inability to realize accelerator virtualization, and achieve the effect of easy implementation and less software changes

Active Publication Date: 2015-12-16
HUAWEI TECH CO LTD
View PDF9 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present invention provides a method, device and centralized resource manager for accelerating virtualization, which can solve the problem that accelerator virtualization cannot be realized in the prior art

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
  • Virtualization method and device for accelerator and centralized resource manager
  • Virtualization method and device for accelerator and centralized resource manager
  • Virtualization method and device for accelerator and centralized resource manager

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] The following embodiments of the present invention provide an accelerator virtualization method, device and centralized resource manager, which can realize accelerator virtualization and improve resource sharing.

[0061] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0062] Figure 7 Shown is a schematic diagram of the system architecture of the embodiment of the present invention, as Figure 7 As shown, the node where the host 700 is located includes a software layer 701 and a hardware layer 702. The software ...

Embodiment 2

[0105] Based on the first embodiment, this embodiment discloses an accelerator virtualization method. In Embodiment 1, the location of the matching physics accelerator is not limited, for example, the matching physics accelerator may be located at a local node, or may be located at a remote node. When the matching physical accelerator is located at the local node, a method for accelerator virtualization disclosed in the embodiment may be adopted. In this embodiment, the description focuses on the case where the physical accelerator is matched on the remote node. Specifically, in this case, after the virtual machine monitor creates the first virtual machine or the second virtual machine, the method further includes:

[0106] The virtual machine monitor sends the communication address and the matching physical accelerator identifier to the remote accelerator management unit on the node where the matching physical accelerator is located, so that the virtual machine monitor commun...

Embodiment 3

[0109] Based on the above-mentioned embodiments, the embodiment of the present invention discloses an accelerator virtualization method, which is used to describe how to perform service processing based on the above-mentioned method. Specifically, after the centralized resource manager creates the first virtual machine or the second virtual machine, the method provided in this embodiment further includes:

[0110] The virtual accelerator transfers the acceleration request sent by the business unit on the virtual machine to the matching physical accelerator for processing, and returns the result processed by the matching physical accelerator to the business unit.

[0111] The virtual accelerator in this embodiment is the first virtual accelerator, or may be the second virtual accelerator, which needs to be consistent with the virtual accelerator created in step 204 of the above embodiment, that is, if the first virtual accelerator is created, then the A virtual accelerator tran...

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 embodiment of the present invention discloses a virtualization method and device for an accelerator and a centralized resource manager. The method comprises: selecting a matched physical accelerator from a physical accelerator resource pool as a matched physical accelerator by the centralized source manager in accordance with virtual accelerator information to be created in a resource allocation command of a virtual machine; transmitting a first virtual machine creating command to a monitor of the virtual machine by the centralized source manager so that the monitor of the virtual machine creates a first virtual machine including a first virtual accelerator corresponding to the matched physical accelerator, or transmitting a second virtual machine creating command to the monitor of the virtual machine by the centralized resource manager, wherein the second virtual machine creating command comprises a description information acquisition identifier to make the monitor of the virtual machine create a second virtual machine after receiving the second virtual machine creating command, and make the second virtual machine generate a second virtual accelerator after acquiring a description information according to the description information acquisition identifier. The method of the present invention can realize the virtualization of the accelerator.

Description

technical field [0001] The invention relates to the Internet field, in particular to an accelerator virtualization method, device and centralized resource manager. Background technique [0002] Virtualization technology can realize dynamic allocation, flexible scheduling and cross-domain sharing of Internet resources, and can improve the utilization rate of IT resources, so it has become a new trend in Internet development. [0003] Accelerator is a kind of Internet resource, which is a functional unit that transfers some functions completed by CPU to the accelerator itself to reduce CPU load. Currently, widely used accelerators include graphics accelerators, encryption and decryption accelerators, video codec accelerators, compression accelerators, etc. . However, it is increasingly difficult for a single accelerator to meet the load transfer requirements of the CPU. In order to improve the performance of the accelerator, it is urgent to combine the accelerator with Intern...

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/50
CPCG06F9/45558G06F9/455G06F9/467G06F2009/45562G06F2009/45583G06F2009/45595
Inventor 唐朝飞姚志明肖昆
Owner HUAWEI TECH CO LTD
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