IP Library › Granted Patent US 9,501,318
Granted Patent B2
US 9,501,318 · App. 14/741,776 · Granted Nov 22, 2016

Scheduling and execution of tasks based on resource availability

Inventors: Zhao Cao (Beijing, CN); Ju Wei Shi (Beijing, CN); Chen Wang (Beijing, CN); Lan Jun Wang (Beijing, CN); Yu Wang (Shanghai, CN); Jia Zou (Beijing, CN)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06F9/4843G06F9/5027G06F9/5061
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,501,318
App. No.
14/741,776
Granted
Nov 22, 2016
Kind
B2
Abstract

An apparatus for scheduling includes a receiving unit, configured to receive a task of a job; a configuration unit, configured to configure resource amounts for the task in at least two resource dimensions respectively, wherein each of the resource dimensions represents a resource available for configuring; and an interface unit, configured to distribute the task along with information about the resource amounts configured for the task in the resource dimensions.

Claims (20)

1. A method of scheduling, comprising:

receiving a task of a job;

configuring resource amounts for the task in at least two resource dimensions respectively, wherein each of the resource dimensions represents a resource available for configuring;

distributing the task along with information about the resource amounts configured for the task in the resource dimensions to available resources;

executing the task using the available resources;

selecting tasks respectively from a plurality of jobs as candidate tasks to be distributed to the available resources;

receiving the candidate tasks;

configuring resource amounts for each of the candidate tasks in at least two resource dimensions respectively, wherein each of the resource dimensions represents a resource available for configuring;

estimating both a gain and a cost of waiting to generate a scheme for distributing one or more of the candidate tasks to the available resources until after one or more currently executing tasks have completed;

generating the scheme for distributing the one or more of the candidate tasks to the available resources after the one or more currently executing tasks have completed according to the resource amounts configured for each of the one or more of the candidate tasks in the resource dimensions when the estimated gain exceeds the estimated cost;

generating the scheme for distributing the one or more of the candidate tasks to the available resources while the one or more currently executing tasks are executing according to the resource amounts configured for each of the one or more of the candidate tasks in the resource dimensions when the estimated gain is less than or equal to the estimated cost;

distributing the one or more of the candidate tasks along with information about the resource amounts configured for the one or more of the candidate tasks to the available resources according to the generated scheme; and

executing the one or more of the candidate tasks using the available resources.

2. The method according to claim 1 , further comprising:

estimating the resource amounts to be consumed by the task in the at least two resource dimensions;

wherein configuring resource amounts for the task in at least two resource dimensions respectively comprises configuring the resource amounts for the task in at least two resource dimensions respectively according to result of the estimating.

3. The method according to claim 2 , wherein estimating the resource amounts to be consumed by the task in the at least two resource dimensions comprises: estimating the resource amounts to be consumed by the task in the at least two resource dimensions according to historical information.

4. The method according to claim 2 , wherein estimating the resource amounts to be consumed by the task in the at least two resource dimensions comprises: estimating the resources amounts to be consumed by the task in the at least two resource dimensions according to sampled information.

5. The method according to claim 1 , wherein the method of scheduling is included in a Map process of a MapReduce process.

6. The method according to claim 1 , wherein the method of scheduling is included in a Reduce process of a MapReduce process.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 17, 2015
From: CAO, ZHAO; SHI, JU WEI; WANG, CHEN; WANG, LAN JUN; WANG, YU; ZOU, JIA
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 035976/0439 →
Priority Claims (1)
CN 2014 1 0011477 · Jan 10, 2014 · national
Continuity (2)
Continuation 14592087 · Jan 8, 2015
Related Publication 20150286504A1 · Oct 8, 2015