Backfill Scheduling for Parallel Jobs via Task Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional parallel job schedulers face inefficiencies in resource allocation due to inaccurate user-estimated runtime and the resulting unpopulated backfill windows, leading to idle resources and suboptimal utilization, especially when dealing with embarrassingly parallel jobs.

Innovation Solution

The solution involves dynamically segmenting embarrassingly parallel jobs into sub-tasks that can fit within available backfill windows, allowing for adaptive scheduling and optimal resource utilization by creating a revised schedule that fills these windows, even when user-estimated runtimes are overestimated.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If jobs are scheduled using static resource allocation with first-come first-served backfill algorithm, then job scheduling simplicity is maintained, but resource utilization deteriorates due to unpopulated backfill windows from inaccurate runtime estimates

Engineering Contradiction:
Improvescheduling simplicityVSAvoidresource utilization
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The patent segments embarrassingly parallel jobs into multiple independent sub-tasks that can be scheduled individually. This allows the scheduler to fill backfill windows with subsets of sub-tasks rather than requiring entire jobs to fit, thereby improving resource utilization while maintaining scheduling simplicity through the modular nature of sub-task allocation

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces dynamic scheduling where job sub-tasks can be allocated flexibly based on real-time resource availability and backfill window characteristics. The scheduler dynamically determines which sub-tasks to execute in which backfill windows, adapting to varying runtime estimates and resource conditions rather than using fixed static allocation

Inventive Principle:
Principle #15Dynamics

2Reliability

If backfill windows are calculated based on user-estimated runtime, then advance resource reservation is enabled, but resource allocation efficiency deteriorates when runtime overestimation leaves backfill windows unpopulated

Engineering Contradiction:
Improveresource reservation accuracyVSAvoidbackfill window utilization
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

By dividing jobs into sub-tasks, the patent enables partial population of backfill windows even when total job runtime is overestimated. Individual sub-tasks can be scheduled in available backfill windows without requiring the complete job to fit, thus improving backfill utilization while preserving the reliability of advance resource reservations for committed jobs

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the scheduling parameter from treating jobs as monolithic units to treating sub-tasks as schedulable units. This parameter change allows the system to accommodate backfill windows of varying sizes and durations, improving utilization of previously wasted resources while maintaining the original job's resource reservation guarantees

Inventive Principle:
Principle #35Parameter changes

3Device complexity

If embarrassingly parallel jobs are scheduled as single units, then job management simplicity is maintained, but system throughput deteriorates due to idle resources during backfill windows

Engineering Contradiction:
Improvejob management complexityVSAvoidsystem throughput
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent segments embarrassingly parallel jobs into independent sub-tasks that can be scheduled individually in backfill windows. This segmentation improves system throughput by utilizing otherwise idle resources while maintaining relatively simple job management through the inherent parallelism and independence of sub-tasks, requiring minimal coordination overhead

Inventive Principle:
Principle #1Segmentation

4Device complexity

If static resource allocation is used for jobs, then resource assignment simplicity is maintained, but resource utilization efficiency deteriorates when jobs cannot fully utilize allocated resources

Engineering Contradiction:
Improveresource allocation simplicityVSAvoidresource utilization efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

By segmenting jobs into sub-tasks, the patent enables fine-grained resource allocation where sub-tasks can be assigned to specific backfill windows based on their individual requirements. This improves resource utilization efficiency while maintaining allocation simplicity through the modular, independent nature of sub-task scheduling

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies partial action by scheduling only the necessary sub-tasks in available backfill windows rather than requiring complete job allocation. This allows the system to utilize available resources partially rather than leaving them idle, improving efficiency without requiring full job commitment

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS10031775B2Backfill scheduling for embarrassingly parallel jobs
Publication Date: 2018.07.24 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10031775B2 patent drawing
  • US10031775B2 patent drawing
  • US10031775B2 patent drawing

AI summary

Backfill scheduling for embarrassingly parallel jobs. A disclosed method includes: receiving an initial schedule having a plurality of jobs scheduled over time on a plurality of nodes, determining that a first job can be split into a plurality of sub-tasks that can respectively be performed in parallel on different nodes, splitting the first job into the plurality of sub-tasks, and moving a first sub-task from its position in the initial schedule to a new position to yield a first revised schedule.