
Two jobs arrive together. One is nearly finished and the other can occupy the whole cluster for a minute. Which gets the next free worker? A scheduling AI model can learn a policy for choosing among ready tasks. Its answer depends on the objective: improving average completion time can make a different job wait longer.
Which work can actually run together?
Represent a job as a graph with directed edges from prerequisite to dependent task. A worker becoming free does not make all tasks eligible. Record arrival times, available workers, task durations and transfer or setup time. Distinguish a lack of ready work from an idle worker that the scheduler could have used.

What did the researchers compare?
In their 2019 study, MIT’s Decima researchers used graph representations and reinforcement learning to schedule data-processing jobs. In a Spark prototype on a 25-node cluster, they reported improvements in average job completion time over the hand-tuned heuristics they tested. This is evidence about those workloads, constraints and competitors. A different mix of arrivals, memory limits or priorities changes the scheduling problem. MIT’s Decima scheduling research Decima’s scheduling experiment and scope

Whose waiting time did the average hide?
Report each job’s time from arrival to completion, the time the final job finished, and a measure of long waits. A policy evaluated only on completed jobs can hide jobs that never received service before the test ended. Include unfinished jobs and record the additional time or compute spent making scheduling decisions. When Can an AI Forecast Help Two Cloud Workloads Share a Machine?

Try it with the evidence
Compare two legal schedules
Source notes. Fictional workload with one worker. Both jobs arrive at minute zero. Job S needs 2 minutes. Job L needs 8 minutes. Neither can be interrupted. There is no setup time.
Prompt. Calculate both job completion times, their mean and the time all work finishes when S runs first and when L runs first. Which metric would miss the difference?
Check your reading
S first gives completion times 2 and 10, with a mean of 6 minutes. L first gives 8 and 10, with a mean of 9. Both workloads finish at minute 10. The final completion time alone misses how long the individual jobs waited.
Illustrated field notes
Dependencies, workers and data movement








Measuring cost, service and completion




