Resource allocation method and device, computer device and storage medium

A resource allocation and resource technology, applied in the direction of resource allocation, calculation, multi-program device, etc., can solve the problems of blocking tasks, unreasonable resource scheduling, low resource utilization, etc., to improve execution efficiency, improve resource utilization, The effect of resource isolation

Pending Publication Date: 2021-04-23
北京顺达同行科技有限公司
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the existing resource scheduling methods generally adopt the first-in-first-out strategy, and it is very easy for someone to submit multiple SQL (Structured Query Language) in a short period of time, resulting in the entire cluster resources being monopolized by one person
At the same time, since it is impossible to judge which of the two SQLs, that is, A and B resource requirements, is more suitable for the current cluster resources, the tasks after resource allocation can only be executed in

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 and device, computer device and storage medium
  • Resource allocation method and device, computer device and storage medium
  • Resource allocation method and device, computer device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.

[0069] In the description of the present application, it should be understood that the terms "first" and "second" are used for description purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of said features. In the description of the present application, "plurality" means two or more, unless oth...

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 resource allocation method and device, a computer device and a storage medium. The method comprises the steps of obtaining a to-be-executed target task; determining a total demand resource corresponding to the target task; when the residual resources in the first resource pool to which the target task belongs are less than the total demand resources, determining demand gap resources corresponding to the target task; and on the basis of the demand gap resources, allocating available resources in a second resource pool are allocated to obtain outer-region borrowing resources, wherein the outer-region borrowing resources and the remaining resources are used for executing the target task, and the second resource pool and the first resource pool have the same role attribute and different region attributes. By adopting the method, the resource utilization rate can be improved, and the task execution efficiency can also be improved.

Description

technical field [0001] The present application relates to the technical field of resource scheduling, and in particular to a resource allocation method, device, computer equipment, and storage medium. Background technique [0002] Resource scheduling is a resource balancing strategy in the field of big data computing. Its main purpose is to uniformly control and allocate resources for different computing tasks, so that the resources of different tasks can be isolated without interfering with each other, thereby promoting resource utilization. Maximize and perform tasks more efficiently. [0003] However, the existing resource scheduling methods generally adopt the first-in-first-out strategy, and it is very easy for someone to submit multiple SQL (Structured Query Language) within a short period of time, resulting in the entire cluster resources being monopolized by one person. At the same time, since it is impossible to judge which of the two SQLs, that is, A and B resourc...

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/48
CPCG06F9/4881G06F9/5038G06F2209/484G06F2209/5011G06F2209/5021
Inventor 吴浩然
Owner 北京顺达同行科技有限公司
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