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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


