Unlock instant, AI-driven research and patent intelligence for your innovation.

Node resource distribution method and device

A resource allocation and node technology, applied in resource allocation, multi-program device, program control design, etc., can solve problems such as resource waste, achieve the effect of reducing waste and improving resource utilization

Active Publication Date: 2018-04-13
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the object of the present invention is to provide a node resource allocation method and device, which aims to overcome the problem of resource waste in the prior art and improve the resource utilization rate of cluster nodes

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
  • Node resource distribution method and device
  • Node resource distribution method and device
  • Node resource distribution method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] Embodiment 1 of the present invention provides a node resource allocation method, which can be applied to but not limited to environments such as cloud computing clusters. Generally, there are a large number of servers in cloud computing clusters as each cluster node, and in one of the servers There is a task scheduler. Based on this, the method of the present invention can be further applied to cluster nodes for task scheduling in environments such as cloud computing clusters. Exemplarily, for example, it can be specifically applied to cloud computing cluster environments for task scheduling. In the task scheduler included in the scheduled server, the resource waste problem existing in the prior art when node resource allocation is performed is overcome, and the resource utilization rate of the cluster nodes is improved. Next, the method of the present invention will be described in detail.

[0050] refer to figure 1 A flow chart of a node resource allocation method i...

Embodiment 2

[0060] The second embodiment provides a specific implementation of the step 102, refer to figure 2 A flow chart of a node resource allocation method is shown. In this embodiment, the step 102 can be implemented through the following process:

[0061] Step 1021: If the actual usage is less than the current dynamic resource allocation reference value, reduce the resource amount of node resources allocated to the task process based on the actual usage and the remaining resources of the node;

[0062] Step 1022: If the actual usage amount is not less than the resource dynamic allocation reference value, increase the resource amount of node resources allocated to the task process based on the actual usage amount and the resource remaining amount of the node.

[0063] Specifically, if the actual usage of node resources of the server node by the task process is less than the current resource dynamic allocation reference value during the running process of the task process on the ser...

Embodiment 3

[0079] In this example, refer to image 3 A flow chart of a resource allocation method for a cluster node is shown, and the method may further include the following steps before the step 101:

[0080] Step 101', when the task process is scheduled to the node, based on the minimum protection ratio of node resources set for the task process and the resource remaining information of the node, perform node resource allocation for the task process distribute.

[0081] Specifically, this step 101' can be realized through the following processing procedures:

[0082] When the task process P is scheduled to the node, initialize the resource dynamic allocation reference value C(P)=A(P)*R of the task process P; wherein, A(P) represents the node resource for the process The pre-allocated value of the amount, R represents the minimum protection ratio of the process node resources based on the A(P);

[0083] Calculate the occupation ratio B(P)=C(P) / C of the node resources of the node by...

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 discloses a node resource distribution method and device. The method comprises the following steps that: in a process that a task process operates on a node, detecting the practical useinformation of the task process for the node resources of the node; and on the basis, the detected practical use information of the task process for the node resources is combined with the resource remaining information of the node, the quantity of resources of node resources distributed for the task process is regulated, and node resource redistribution is carried out on the task process on the basis of the regulated quantity of resources. Therefore, the invention puts forward a scheme that the practical use information of the task process for the node resources is combined with the resourceremaining information of the node in a task process operation process to dynamically regulate and distribute the node resources of the task process. Compared with the prior art, the method can effectively lower the waste of node resources in the process that the task process operates, and therefore, a node resource use ratio is improved.

Description

technical field [0001] The invention belongs to the technical field of resource scheduling of cluster nodes, and in particular relates to a node resource allocation method and device. Background technique [0002] Currently, in a cloud computing cluster environment, pre-allocation is usually used to allocate CPU (Central Processing Unit, central processing unit) resources for tasks to be processed. Specifically, the CPU resource usage of tasks to be processed is estimated, and based on As a result, resource pre-allocation is realized. After that, the process of the task runs in the full life cycle based on the pre-allocated resources. [0003] In practical applications, since the actual usage of CPU resources for tasks to be processed cannot be accurately estimated, and the usage of CPU resources often fluctuates during the running process of tasks to be processed, a relatively large number of CPU resources is usually pre-allocated for tasks to be processed. Large and relat...

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/50
CPCG06F9/505G06F9/5072G06F2209/5018
Inventor 赵慰李军
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD