COMPUTING SESSION WORKLOAD SCHEDULING AND MANAGEMENT OF PARENT-CHILD TASKS
First Claim
1. A method for parent-child scheduling and management of a computer workload, the method comprising:
- scheduling, by a single workload scheduler, a parent task of a parent-child workload submitted by a client application, on a resource available to the single workload scheduler, wherein the single workload scheduler controls the scheduling on the resource available to the single workload scheduler;
receiving, by the single workload scheduler, a request to schedule a child task of the parent task of the parent-child workload, wherein the parent task of the parent-child workload is dependent on a result of the child task;
receiving, by the single workload scheduler, a message from the parent task of the parent-child workload yielding the resource to the single workload scheduler;
receiving by the single workload scheduler, a resume request from the parent task; and
returning, by the single workload scheduler, the resource yielded by the parent task to the parent task.
1 Assignment
0 Petitions
Accused Products
Abstract
A single workload scheduler schedules sessions and tasks having a tree structure to resources, wherein the single workload scheduler has scheduling control of the resources and the tasks of the parent-child workload sessions and tasks. The single workload scheduler receives a request to schedule a child session created by a scheduled parent task that when executed results in a child task; the scheduled parent task is dependent on a result of the child task. The single workload scheduler receives a message from the scheduled parent task yielding a resource based on the resource not being used by the scheduled parent task, schedules tasks to backfill the resource, and returns the resource yielded by the scheduled parent task to the scheduled parent task based on receiving a resume request from the scheduled parent task or determining dependencies of the scheduled parent task have been met.
-
Citations
20 Claims
-
1. A method for parent-child scheduling and management of a computer workload, the method comprising:
-
scheduling, by a single workload scheduler, a parent task of a parent-child workload submitted by a client application, on a resource available to the single workload scheduler, wherein the single workload scheduler controls the scheduling on the resource available to the single workload scheduler; receiving, by the single workload scheduler, a request to schedule a child task of the parent task of the parent-child workload, wherein the parent task of the parent-child workload is dependent on a result of the child task; receiving, by the single workload scheduler, a message from the parent task of the parent-child workload yielding the resource to the single workload scheduler; receiving by the single workload scheduler, a resume request from the parent task; and returning, by the single workload scheduler, the resource yielded by the parent task to the parent task. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer program product for parent-child scheduling and management of a computer workload, the computer program product comprising:
-
a computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code comprising; computer-readable program code configured to schedule, by a single workload scheduler, a parent task of a parent-child workload submitted by a client application, on a resource available to the single workload scheduler, wherein the single workload scheduler controls the scheduling on the resource available to the single workload scheduler; computer-readable program code configured to receive, by the single workload scheduler, a request to schedule a child task of the parent task of the parent-child workload, wherein the parent task of the parent-child workload is dependent on a result of the child task; computer-readable program code configured to receive, by the single workload scheduler, a message from the parent task of the parent-child workload yielding the resource to the single workload scheduler; computer-readable program code configured to receive by the single workload scheduler, a resume request from the parent task; and computer-readable program code configured to return, by the single workload scheduler, the resource yielded by the parent task to the parent task. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A computer system for parent-child scheduling and management of a computer workload, the computer system comprising:
-
one or more computer processors; one or more computer-readable storage media; program instructions stored on the computer-readable storage media for execution by at least one of the one or more processors, the program instructions comprising; program instructions to schedule, by a single workload scheduler, a parent task of a parent-child workload submitted by a client application, on a resource available to the single workload scheduler, wherein the single workload scheduler controls the scheduling on the resource available to the single workload scheduler; program instructions to receive, by the single workload scheduler, a request to schedule a child task of the parent task of the parent-child workload, wherein the parent task of the parent-child workload is dependent on a result of the child task; program instructions to receive, by the single workload scheduler, a message from the parent task of the parent-child workload yielding the resource to the single workload scheduler; program instructions to receive by the single workload scheduler, a resume request from the parent task; and program instructions to return, by the single workload scheduler, the resource yielded by the parent task to the parent task. - View Dependent Claims (18, 19, 20)
-
Specification