Check patentability & draft patents in minutes with Patsnap Eureka AI!

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

Active Publication Date: 2017-06-23
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a cluster resource allocation method and device, which are used to solve the defect that user resource usage is limited by the upper limit of system configuration in the prior art, and realize flexible system resource allocation

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

Examples

Experimental program
Comparison scheme
Effect test

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...

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 cluster resource distribution method and device. The device comprises a resource configuration module, wherein the resource configuration module furthermore comprises a resource detection sub-module and a user resource configuration upper limit adjustment sub-module; the resource detection sub-module is used for detecting whether the current cluster resource using state is idle or short; and the user resource configuration upper limit adjustment sub-module is used for improving the upper limit of user resource configuration when the cluster resource detection module detects that the current cluster resource is idle, and reducing the upper limit of the user resource configuration when the cluster resource detection module detects that the current cluster resource is short. Through the method and device provided by the invention, the flexible dynamic adjustment for system resources in multi-tenant distributed management systems is realized, so that the resources are fully utilized, the resource waste is avoided and the cluster resource utilization rate is improved.

Description

technical field [0001] The present invention relates to the technical field of distributed system resource scheduling, in particular to a cluster resource allocation method and device. Background technique [0002] In the existing distributed resource scheduling system, the user's resource usage is limited by the cluster system's prior configuration, that is to say, the user's resource usage is limited to a pre-configured upper limit. Usually, when the cluster is idle, the user cannot obtain more Many resources, thus causing a lot of waste of resources. [0003] Therefore, how to provide a flexible cluster resource allocation method and device that can effectively improve resource utilization has become an urgent technical problem to be solved. Contents of the invention [0004] Embodiments of the present invention provide a cluster resource allocation method and device, which are used to solve the defect in the prior art that the use of user resources is limited by the u...

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/5027G06F2209/504
Inventor 欧建荣刘骋昺
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More