Cluster resource distribution method and device
A resource configuration and resource allocation technology, applied in the field of distributed system resource scheduling, can solve problems such as limited use of user resources, and achieve the effects of improving cluster resource utilization, avoiding resource waste, and making full use of resources
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] refer to figure 1 , shows a flowchart of steps of a method for allocating cluster resources according to an embodiment of the present invention.
[0051] The method of the present embodiment comprises the following steps:
[0052] Step 101: Determine whether the usage status of cluster resources is idle or scarce, if idle, execute step 102; if deficient, execute step 103;
[0053] Step 102: Increase the upper limit of user resource allocation.
[0054] Step 103: Lower the upper limit of the user's resource allocation, for example, first grab back the overoccupied resources and restore the upper limit of the user's resource allocation.
[0055] Through the method described in this embodiment, when the cluster is idle, that is, when the current resources of the cluster are sufficient, the upper limit of user resource allocation is dynamically adjusted, and surplus resources are allocated to users in need as much as possible to improve resource utilization. And when the...
Embodiment 2
[0057] refer to figure 2 , shows a flowchart of steps of a method for allocating cluster resources according to an embodiment of the present invention.
[0058] The method of this embodiment specifically includes the following steps:
[0059]Step 201: Determine whether to enable dynamic adjustment of cluster resource configuration, if enabled, execute step 202, if not enabled, execute step 203, that is, do not perform dynamic configuration adjustment on the cluster system; here, by setting a time period in advance, It is to judge whether it is within the preset time period, and if yes, execute step 202, otherwise, no dynamic configuration adjustment is performed on the cluster system. Or specify one or more users in advance, and then only perform dynamic configuration adjustments on these users.
[0060] Step 202: setting the upper limit and lower limit of cluster resource usage;
[0061] Step 204: Judging that the utilization rate of the cluster resource is at the upper l...
Embodiment 3
[0066] refer to image 3 , shows a structural block diagram of an apparatus for allocating cluster resources according to Embodiment 3 of the present invention.
[0067] The cluster resource allocation device 1 of this embodiment includes: a cluster configuration module 2 . Wherein, the cluster configuration module 2 further includes: a resource detection submodule 3 and a user resource configuration upper limit adjustment submodule 4 .
[0068] The resource detection sub-module 3 is used to detect whether the current cluster resource usage status is idle or scarce;
[0069] The user resource configuration upper limit adjustment sub-module 4 is used to increase the upper limit of user resource configuration when the resource detection sub-module 3 detects that the current cluster resources are idle; when the resource detection sub-module 3 detects that the current cluster resources are scarce, reduce the user resource configuration upper limit.
[0070] Through the device d...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



