Host machine resource distribution method and device and host machine scheduling method and device

A resource allocation and host machine technology, applied in the computer field, can solve the problems of long time to traverse all host machines, long host machine scheduling time, etc.

Active Publication Date: 2018-05-25
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The number of host machines configured by the cloud service provider is usually thousands, or even tens of thousands. However, in the prior art, the available resources of the host machine cluster are centralized scheduling, the more the number of host machines, traversing all The longer the host time, the longer the host scheduling time

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
  • Host machine resource distribution method and device and host machine scheduling method and device
  • Host machine resource distribution method and device and host machine scheduling method and device
  • Host machine resource distribution method and device and host machine scheduling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0079] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to 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 making creative efforts belong to the protection scope of the present invention.

[0080] The following briefly introduces the technical terms involved in this application document.

[0081] In the prior art, the host can be understood as a physical host that acts as a "host", and users can create corresponding services in the host, which rent the host's memory, CPU (Central Processing Unit, central processing unit) , hard disk and other resources; such as a common virtual machine, the virtual machine is hosted in the host machine, and it ne...

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

Embodiments of the invention provide a host machine resource distribution method and device and a host machine scheduling method and device. The host machine resource distribution method comprises thefollowing steps of: firstly obtaining a first available resource amount of each host machine at the current moment by a server; calculating a second available resource amount of each host machine group and an available resource gross of the host machine groups according to the first available resource amount; calculating an average value of available resource amounts of all the host machine groups according to the quantity of the host machine groups and the available resource gross; respectively calculating a difference value between the second available resource amount of each host machine group and the average value; and finally adjusting the quantity of host machines in the host machine groups, the difference values of which satisfy a preset condition, according to the average value. By applying the scheme provided by the invention, the dynamic and balanced distribution of available resources of the whole host machine group can be ensured, so that the host machine scheduling time consumption is decreased and the host machine scheduling process is accelerated.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a host computer resource allocation method and device, and a host computer scheduling method and device. Background technique [0002] The continuous development of informatization has led to a rapid increase in people's demand for computing and storage resources. In the existing computer field, people need to invest in more hardware equipment and more computer room environment equipment. Therefore, the operation and maintenance costs and manpower The cost has also increased accordingly. In order to save costs, cloud technology is increasingly applied to the computer field. As we all know, cloud service providers are configured with multiple hosts, and all hosts form a host cluster. Cloud service providers configure the resources of multiple hosts in the cloud through cloud technology, and provide Users create corresponding cloud services, for example, create virtual h...

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/48G06F9/50G06F9/455
CPCG06F9/45558G06F9/4806G06F9/5027G06F9/5077G06F2009/45562
Inventor 申航
Owner BEIJING KINGSOFT CLOUD NETWORK 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