Introduction
Traditional scheduling algorithms designed for Big Data or High-Performance Computing (HPC) are often "GPU-blind." They treat GPUs as generic resources, failing to account for the unique characteristics of Deep Learning (DL) jobs. DL training is highly iterative and communication-intensive, making it sensitive to job placement (locality). Meanwhile, DL inference requires sub-second response times and often faces "bursty" request patterns. Without specialized schedulers, GPU datacenters suffer from low hardware utilization, high operational costs, and poor user experience. This paper synthesizes years of research to explain how we can better orchestrate these massive compute clusters.
Taxonomy of DL Workloads
As a comprehensive survey, the paper establishes a robust taxonomy to categorize existing research. The field is divided into three main areas:
- DL Training Workloads: Categorized by scheduling objectives (efficiency, fairness, deadlines) and resource consumption features (heterogeneity, GPU sharing, elastic training).
- DL Inference Workloads: Categorized by objectives (accuracy, latency, cost, throughput) and resource features (colocation, hardware heterogeneity).
- Specialized Workloads: Covering Hyperparameter Optimization (HPO) and hybrid environments where training and inference share the same cluster.
Key Insights and Scheduling Concepts
The survey identifies several critical challenges and innovative solutions in the DL scheduling landscape:
- The "Locality vs. Wait Time" Dilemma: Training jobs are "placement sensitive." A job might run 1.3x faster if its GPUs are on the same CPU socket. Schedulers must decide whether to run a job immediately on scattered GPUs or wait for a "consolidated" block to open up.
- Elasticity is King: Unlike traditional "gang scheduling" (where a job needs all requested GPUs to start), "elastic training" allows jobs to scale their GPU count up or down dynamically. This significantly reduces queuing delay and improves cluster-wide utilization.
- The Inference Trade-off Triangle: Inference scheduling is a three-way balance between Latency, Accuracy, and Cost. For example, a scheduler might choose a smaller, less accurate model to meet a strict latency deadline during a traffic spike.
Notable Schedulers and Results
The paper summarizes the performance of dozens of specialized schedulers. Key examples include:
- Tiresias: Uses a "Least Attained Service" (LAS) algorithm to prioritize shorter jobs, reducing average Job Completion Time (JCT) without prior knowledge of job durations.
- Gandiva: Introduced "time-slicing" and "introspection" to GPUs, allowing jobs to be suspended and migrated with low overhead.
- Pollux: Co-optimizes training "goodput" by dynamically adjusting both the number of GPUs and the batch size/learning rate, improving cluster-wide performance by up to 37-50%.
- Clockwork (Inference): Exploits the deterministic nature of DL kernels to provide tight latency guarantees for thousands of models simultaneously.
Future Directions
The authors identify several gaps in current research:
- Convergence Risks: Elastic training must be made "AI-safe" to ensure that dynamic batch size changes do not hurt final model accuracy.
- Hardware-Software Co-design: Deeper integration is needed where DL frameworks (PyTorch/TensorFlow) and schedulers "negotiate" resource needs.
- Energy Efficiency: Optimizing for the carbon footprint or power-draw of GPU datacenters is an urgent frontier.
- Scale: New heuristic or Reinforcement Learning-based approaches are required to handle clusters with tens of thousands of GPUs where traditional optimization algorithms fail to scale.
Summary updated