Resource allocation method of virtual machine and device thereof

A resource allocation and virtual machine technology, applied in the field of resource allocation methods and devices, can solve the problems of reduced virtual machine performance, increased physical processor consumption, large data transmission delay, and the like

Inactive Publication Date: 2015-10-21
HUAWEI TECH CO LTD
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Using the above two methods, there is a problem of large data transmission delay between the virtual processor of the virtual ma

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
  • Resource allocation method of virtual machine and device thereof
  • Resource allocation method of virtual machine and device thereof
  • Resource allocation method of virtual machine and device thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] Embodiment 1 of the present invention provides a resource allocation method for a virtual machine, which can be implemented in a server, a server cluster, or other non-server carriers. Such as figure 2 As shown, the method includes the following steps:

[0066] S11. Obtain resource allocation parameters of the virtual machine, where the resource allocation parameters include scheduling parameters, and the scheduling parameters are used to indicate at least two of physical processor resources, physical memory, and physical input and output IO devices allocated to the virtual machine within the same processor node.

[0067] Wherein, the physical processor resource may be the entire physical processor, a physical core in the physical processor, or a hyperthread in the physical core.

[0068] The resource allocation parameters in the prior art do not have the above-mentioned scheduling parameters, but in the embodiment of the present invention, considering whether the ph...

Embodiment 2

[0101] Embodiment 2 of the present invention provides a resource allocation device 20 for a virtual machine, which can be set in a server, a server cluster, or other non-server carriers. Such as image 3 As shown, the device includes: a first physical processor 201, a first physical memory 202, a first physical input and output IO device 203, and the first physical processor 201 is used for:

[0102] Obtain the resource allocation parameters of the virtual machine through the first physical IO device 203, the resource allocation parameters include scheduling parameters, and the scheduling parameters are used to indicate the second physical processor, the second physical memory, and the second physical IO device assigned to the virtual machine at least two of are located within the same processor node;

[0103] Allocate physical resources to the virtual machine according to the resource allocation parameters.

[0104]The resource allocation device 20 for a virtual machine pro...

Embodiment 3

[0124] Embodiment 3 of the present invention also provides a virtual machine resource allocation device 30, which includes:

[0125] The obtaining unit 301 is configured to obtain resource allocation parameters of the virtual machine, the resource allocation parameters include scheduling parameters, and the scheduling parameters are used to indicate physical processor resources, physical memory, and physical input and output IO devices allocated to the virtual machine at least two of are located within the same processor node;

[0126] The allocating unit 302 is configured to allocate physical resources for the virtual machine according to the resource allocation parameters.

[0127] In the virtual machine resource allocation device 30 provided in Embodiment 3 of the present invention, the acquisition unit 301 acquires the resource allocation parameters of the virtual machine, and the resource allocation parameters include scheduling parameters, and the scheduling parameters 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

The present invention discloses a resource allocation method of a virtual machine and a device thereof, for improving performance of the virtual machine, and relates to the field of communication technology. The method comprises: obtaining resource allocation parameters of the virtual machine, the resource allocation parameters including scheduling parameters which is used for indicating at least two of physical processor resource, physical memory and physical input-output IO device assigned to the virtual machine to be located in the same processor node, and allocating physical resource for the virtual machine according to the resource allocation parameters. The present invention may be applied in the virtual machine technique.

Description

technical field [0001] The invention relates to the communication field, in particular to a resource allocation method and device for a virtual machine. Background technique [0002] In the cloud environment, resource allocation (mapping) refers to scheduling and allocating physical resources for virtual resources required by VM (virtual machine, virtual machine) according to the application of virtual resource requirements and the topology of existing physical resources and resource pools. , and then deploy virtual resources according to the resource scheduling result. Among them, a virtual machine refers to a complete computer system that is simulated by software and has complete hardware system functions and runs in a completely isolated environment. Virtual resources can specifically include vCPU (virtual central processing unit, virtual central processing unit), vMEM (virtual memory, virtual memory), vIO (virtual Input / Output, virtual input / output) devices, etc., and p...

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/50G06F9/455
CPCG06F21/53G06F2221/2149G06F9/45558G06F2009/4557G06F2009/45579H04L65/40G06F9/5077G06F2009/45595H04L67/10
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