Paper summary
When switching jobs costs more than it saves
Lazer chooses when to preempt GPU training jobs, balancing wasted model loads against queueing delay.
Giving a short training job priority requires pausing a running job and loading a new model. If another job takes its place before training starts, that loading work is wasted. Lazer weighs a job’s priority against the cost of switching to it.
Two sources of avoidable delay
Scheduling at fixed intervals can prevent repeated switches, but makes newly arrived jobs wait. The challenge is to reduce both wasted loading, called futile preemption, and queueing delay.
The paper therefore measures job completion time (JCT) from arrival to completion, including waiting, loading, training, and saving work. The target is earlier job completion, including time spent waiting and moving models.
Choose the jobs, then choose when to switch
Lazer first identifies lower-priority jobs that could release enough GPUs for an arriving job. It then uses Bayesian optimization to choose a delay of 0–100 seconds, informed by recent arrivals, estimated remaining training time, and loading and saving costs.
View full-size figureSelected running jobs keep training during the delay. When it ends, the orchestrator chooses preemption candidates again using their updated states. A completion handler separately assigns freed GPUs to waiting jobs. Deferring one preemption does not block scheduling for newly arriving jobs.
Job completion time on a 16-GPU testbed
The physical testbed uses four servers with 16 heterogeneous NVIDIA GPUs and 40 GbE. It runs 100 jobs sampled from the Earth production trace, preserving the arrival-time distribution, with a dedicated scheduler CPU and separate model-storage server.
| Comparison scheduler | Median JCT / Lazer | P95 JCT / Lazer |
|---|---|---|
| SJF | 1.3× | 1.16× |
| SRTF | 1.5× | 1.2× |
| Pollux | 2.1× | 1.4× |
| Muri | 5.3× | 2.9× |
| Optimus | 8.8× | 3.8× |
Ratios are baseline JCT divided by Lazer JCT; P95 denotes the 95th percentile.
Lazer records zero futile-preemption time at both P50 and P95. Its average scheduling decision takes 7.1 ms, versus 3.8 ms for SJF and SRTF.
Full-trace simulation
Separate simulations replay all jobs in the Earth, Saturn and Uranus traces. For Uranus, SJF’s P95 JCT is 6,999.9 minutes versus Lazer’s 29.9 minutes. The physical-testbed ratios above and full-trace simulation results describe different experiment scales.
Key takeaways
- Preemption can waste work before useful training starts. Avoiding interrupted model loads with fixed scheduling intervals also creates waiting, exposing a tradeoff in when to switch.
- Timing is part of the scheduling decision. Lazer predicts a deferral from job and cluster conditions while selected jobs continue running.
- Less wasted loading can accompany shorter waits. On the 16-GPU, 100-job testbed, median JCT and waiting time improve by 8.8× and 22.2× over Optimus, with zero futile-preemption time at P50 and P95.