Method and device for distributing resources of host machine

A host and resource technology, applied in the information field, can solve the problems of insufficient resource utilization, creation failure, and system resource utilization rate of only 50%, and achieve the effect of improving resource utilization rate

Inactive Publication Date: 2017-01-11
HUAWEI TECH CO LTD
View PDF7 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the API is called for the third time to create VM3, the creation fails because the remaining resources on HostA and HostB cannot satisfy the resources required by VM3.
As a result, the system resource utilization is only 50%
It can be seen that there is a problem of insufficient resource utilization when the management system allocates resources

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 distributing resources of host machine
  • Method and device for distributing resources of host machine
  • Method and device for distributing resources of host machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] 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 a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0029] The embodiment of the present invention provides a system for allocating host machine resources, such as figure 1 As shown, the system includes upper-layer applications, management servers, and hosts.

[0030] The upper application is an application that provides services. The management server is used to obtain the resource specifications of multiple virtual machines required by the application; sort the weights of the multiple vir...

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 provides a method for distributing resources of a host machine, and a management server. The method comprises the steps of acquiring resource specifications of a plurality of virtual machines required by an application; ranking weights of the plurality of virtual machines according to a ranking rule and the resource specifications of the virtual machines; and applying for distributing the resources of the host machine according to the weights of the virtual machines in an order from big to small. According to the method and the device provided by the invention, the virtual machines required by the application are distributed after being ranked according to the weights in a unified manner, and thus the resource utilization rate of the host machine is greatly improved.

Description

Technical field [0001] The present invention relates to the field of information technology, in particular to a method and device for allocating host machine resources. Background technique [0002] Cloud computing technology realizes the shielding of the underlying resources from the business. The business runs on the virtual machine in the host machine. In the case of multiple host machines and virtual machines, the resource utilization of the host machine is closely related to the allocation algorithm of the virtual machine. [0003] For example, there are two host machines hostA and hostB. Their resource specifications are both 8-core CPU and 8G bytes of memory. Three virtual machines VM1, VM2, and VM3 need to be run on these two hosts, among which VM1 and VM2 are The resource specifications are 4-core CPU and 4G bytes of memory, and the resource specifications of VM3 are 8-core CPU and 8G bytes of memory. Obviously, the allocation method with the highest operating utilizatio...

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/50
CPCG06F9/50
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