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

Method and device for scheduling CPU resources in distributed clusters

A technology of CPU resources and distributed clusters, which is applied to the scheduling of CPU resources in distributed clusters and the field of scheduling devices for CPU resources in distributed clusters, and can solve problems such as poor flexibility

Active Publication Date: 2018-05-25
ALIBABA GRP HLDG LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a method for scheduling CPU resources in a distributed cluster to solve the problem of poor flexibility in the prior art

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
  • Method and device for scheduling CPU resources in distributed clusters
  • Method and device for scheduling CPU resources in distributed clusters
  • Method and device for scheduling CPU resources in distributed clusters

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0082] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0083] The present application provides a method for scheduling CPU resources in a distributed cluster, and the present application also provides a scheduling device for CPU resources in a distributed cluster, and an electronic device. The following describes in detail one by one with reference to the drawings of the embodiments provided in the present application, and describes each step of the method.

[0084] An embodiment of a method for scheduling CPU resources in a distributed cluster provided by the present ap...

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 method for scheduling CPU resources in distributed clusters. The method comprises the following steps of: after a user job sent by a task scheduling end is received, checkingthe state of a CPU resource on the current server node; judging whether the CPU resource is in one of a distributed state and a reserved state or not according to the state of the CPU resource, if the judging result is positive, skipping the CPU resource and obtaining the next CPU resource on the server node to carry out check and judgement, and if the judging result is negative, distributing theCPU resource to the user job and judging whether the CPU resource of the user job is completely distributed or not; if the CPU resource of the user job is completely distributed, ending the CPU resource distribution of the user job; and if the CPU resource of the user job is not completely distributed, returning to the step of checking the state of the CPU resource on the current server node. According to the method, CPU resource distribution is carried out for the user job on the basis of the state of the CPU resource, so that the realization is more flexible; and meanwhile, through realizing the CPU resource distribution on the server node, the complexity of CPU resource scheduling is reduced.

Description

technical field [0001] This application relates to the field of distributed clusters, in particular to a method for scheduling CPU resources in distributed clusters. The present application also relates to a CPU resource scheduling device in a distributed cluster, and an electronic device. Background technique [0002] In a distributed cluster, CPU, memory, disk, and network are the most common cluster resources. When a user submits a job, he usually specifies the type and quantity of resources needed, and the scheduling system will User jobs are scheduled to run on machines where resources can satisfy them. The scheduling system mainly includes two components: a cluster resource manager, such as the ResourceManager (resource manager) in YARN (Yet Another Resource Negotiator, another resource coordinator); and a stand-alone resource manager, such as the Node Manager in YARN ( node manager). Among them, the cluster resource manager is responsible for the unified management...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50
CPCG06F9/5027
Inventor 吴永军汪方李治刘耀莉陶阳宇李超
Owner ALIBABA GRP HLDG LTD