[Paper Review] Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
Gavel is a heterogeneity-aware cluster scheduler for deep learning workloads that formulates scheduling policies as optimization problems to improve fairness, makespan, and cost efficiency. By modeling performance heterogeneity across accelerators (e.g., GPUs, TPUs) and enabling space sharing, Gavel achieves up to 3.5× better average job completion time and 2.5× lower makespan compared to heterogeneity-agnostic schedulers.
Specialized accelerators such as GPUs, TPUs, FPGAs, and custom ASICs have been increasingly deployed to train deep learning models. These accelerators exhibit heterogeneous performance behavior across model architectures. Existing schedulers for clusters of accelerators, which are used to arbitrate these expensive training resources across many users, have shown how to optimize for various multi-job, multi-user objectives, like fairness and makespan. Unfortunately, existing schedulers largely do not consider performance heterogeneity. In this paper, we propose Gavel, a heterogeneity-aware scheduler that systematically generalizes a wide range of existing scheduling policies. Gavel expresses these policies as optimization problems, making it easy to optimize for objectives in a heterogeneity-aware way, while also being cognizant of performance optimizations like space sharing. Gavel then uses a round-based scheduling mechanism to ensure jobs receive their ideal allocation given the target scheduling policy. Gavel's heterogeneity-aware policies allow a heterogeneous cluster to sustain higher input load, and improve end objectives such as average job completion time and makespan by up to 3.5x compared to heterogeneity-agnostic policies.
Motivation & Objective
- To address the lack of heterogeneity awareness in existing GPU and accelerator cluster schedulers, which often ignore performance differences across accelerator types.
- To enable a unified framework that generalizes diverse scheduling policies—such as fairness, makespan minimization, and cost-aware scheduling—while accounting for accelerator performance heterogeneity.
- To integrate performance optimizations like space sharing and placement sensitivity in a way that enhances scheduling objectives in heterogeneous environments.
- To support complex, hierarchical scheduling policies that balance fairness across departments and individual jobs, while remaining efficient and analytically grounded.
- To provide a decoupled, round-based scheduling mechanism that ensures optimal allocations are practically realized on physical hardware.
Proposed method
- Formulate scheduling policies as optimization problems where the objective function depends on job throughputs, enabling heterogeneity-aware optimization.
- Use a throughput estimator based on profiling and matrix completion to predict co-located job performance in real time, enabling accurate allocation decisions.
- Decouple policy formulation from allocation enforcement via a round-based scheduling mechanism that ensures jobs receive their ideal resource fractions.
- Incorporate space sharing and placement sensitivity into the optimization model, improving utilization and performance beyond ad-hoc co-location strategies.
- Support a wide range of policies—including max-min fairness, shortest job first, minimum makespan, and hierarchical fairness—by expressing each as a distinct optimization objective.
- Leverage existing performance estimation techniques (e.g., Quasar) to infer missing throughput data online, maintaining high scheduling accuracy under dynamic workloads.
Experimental results
Research questions
- RQ1Can scheduling policies be systematically generalized to be heterogeneity-aware across diverse accelerator types and model architectures?
- RQ2How does explicit modeling of performance heterogeneity and space sharing affect key cluster objectives like job completion time and makespan?
- RQ3To what extent can a unified optimization-based framework support diverse scheduling policies (e.g., fairness, cost minimization, makespan) in a heterogeneous cluster?
- RQ4How does Gavel’s round-based allocation mechanism ensure that optimal, heterogeneity-aware allocations are practically realized on physical hardware?
- RQ5What performance gains are achievable when scheduling decisions account for both accelerator heterogeneity and co-location effects?
Key findings
- Gavel improves average job completion time by up to 3.5× compared to heterogeneity-agnostic schedulers like Gandiva and Tiresias.
- Makespan is reduced by up to 2.5× through heterogeneity-aware policy optimization, particularly under high cluster load.
- Cost efficiency improves by 1.4× when minimizing cost subject to latency SLOs, due to better accelerator selection and job co-location.
- Explicit modeling of space sharing in Gavel improves scheduling objectives by up to 2.2× compared to Gandiva’s ad-hoc co-location approach.
- Gavel sustains a higher maximum cluster load than heterogeneity-agnostic schedulers, demonstrating improved scalability and resource utilization.
- The throughput estimator enables accurate online performance prediction, resulting in only a small decrease in average job completion time even at high load.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.