# US 2009/0276781 A1 · System and method for multi-level preemption scheduling in high performance processing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2009/0276781 A1
- Document ID: US20090276781A1
- Status: Published application
- Kind: A1
- Application number: 12/112,462
- Filed: 2008-04-30
- Published: 2009-11-05
- Earliest claimed: 2008-04-30
- Assignees: International Business Machines Corporation
- Inventors: Waiman Chan; Joseph F. Skovira
- Web page: https://patentgrep.com/patent/US20090276781A1

## CPC

- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 2209/483: Multiproc
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computing system configured to handle preemption events in an environment having jobs with high and low priorities. The system includes a job queue configured to receive job requests from users, the job queue storing the jobs in an order based on the priority of the jobs, and indicating whether a job is a high priority job or a low priority job. The system also includes a plurality of node clusters, each node cluster including a plurality of nodes and a scheduler coupled to the job queue and to the plurality of node clusters and configured to assign jobs from the job queue to the plurality of node clusters. The scheduler is configured to preempt a first low priority job running in a first node cluster with a high priority job that appears in the job queue after the low priority job has started and, in the event that a second low priority job from the job queue may run on a portion of the plurality of nodes in the first node cluster during a remaining processing time for the high priority job, backfill the second low priority job into the portion of the plurality of nodes and, in the event a second high priority job is received in the job queue and may run on the portion of the plurality of nodes, return the second low priority job to the job queue.

## Claims

### Claim 1

A computing system configured to handle preemption events in an environment having jobs with high and low priorities, the system comprising:
a job queue configured to receive job requests from users, the job queue storing the jobs in an order based on the priority of the jobs, and indicating whether a job is a high priority job or a low priority job;
a plurality of node clusters, each node cluster including a plurality of nodes;
a scheduler coupled to the job queue and to the plurality of node clusters, the scheduler configured to assign jobs from the job queue to the plurality of node clusters, wherein the scheduler is configured to preempt a first low priority job running in a first node cluster with a high priority job that appears in the job queue after the low priority job has started and, in the event that a second low priority job from the job queue may run on a portion of the plurality of nodes in the first node cluster during a remaining processing time for the high priority job, backfill the second low priority job into the portion of the plurality of nodes and, in the event a second high priority job is received in the job queue and may run on the portion of the plurality of nodes, return the second low priority job to the job queue.

### Claim 2 (depends on 1)

The system of claim 1, wherein the job queue includes an identification of a number of nodes required and a time required to complete for each job.

### Claim 3 (depends on 1)

The system of claim 1, further comprising a machine list configured to store the status of nodes in each of the node clusters.

### Claim 4 (depends on 4)

The system of claim 4, wherein the scheduler is coupled to the machine list and is configured to scan the machine list to determine the node clusters on which the second high priority job is to be run

### Claim 5 (depends on 1)

The system of claim 1, wherein the scheduler is configured to determine, in the event that that the second low priority job is to be returned to the job queue, a processing status of the second low priority job

### Claim 6 (depends on 5)

The system of claim 5, wherein the scheduler is configured to store processing performed on the second low priority job if the processing status is above a predetermined threshold.

### Claim 7

A method for managing preemption events in a backfill enabled computing system, the method comprising:
suspending a first low priority job running on one or modes of a node cluster upon receipt of a first high priority job;
running the first high priority job on one or more nodes of the node cluster;
selecting a second low priority job from a job queue, the second low priority job having a position in the job queue;
running the second low priority job on available nodes of the node cluster while the high priority job is running;
receiving a request for a second high priority job; and
returning, after receiving the request for the second high priority job, the second low priority job to a job queue in the position in the job queue.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
running the second high priority job on available nodes of the node cluster.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
restarting the first low priority job after the high priority job and the second high priority job have completed.

### Claim 10 (depends on 7)

The method of claim 7, further comprising:
determining a processing status for the second low priority job; and
saving processing performed on the second low priority job in the event the processing status exceeds a predetermined threshold.

### Claim 11 (depends on 10)

The method of claim 10, wherein the predetermined is an indication of the portion of the total process performed on the second low priority job.

### Claim 12

A method of managing the operation of computing system including a plurality of node clusters, each node cluster including a plurality of nodes, the method comprising:
allocating a first low priority job to run on an a first set of the nodes in a first node cluster;
running the first low priority job on the first set of nodes;
receiving, at a job queue, a first high priority job;
suspending the first low priority job;
running the first high priority job on a second set of nodes in the first node cluster for a predetermined amount of time;
selecting a second low priority job from the job queue;
running the second low priority job on a third set of nodes in the first node cluster;
receiving a second high priority job on the job queue;
returning the second low priority job to the job queue; and
running the first low priority job after the first and second high priority jobs are complete.

### Claim 13 (depends on 12)

The method of claim 12, wherein selecting the second low priority job includes determining a completion time for the second low priority job and determining a number of nodes required to run the second low priority job.

### Claim 14 (depends on 13)

The method of claim 13, wherein determining includes determining that the completion time is shorter than a time remaining to complete the first high priority job.

### Claim 15 (depends on 14)

The method of claim 14, wherein determining includes determining that the number of nodes required is less than a difference between a total number of nodes in the plurality of nodes and a number of nodes in the second set of nodes.
