Themis: Fair and Efficient GPU Cluster Scheduling for Machine Learning Workloads
By Kshiteej S. Mahajan, Arjun Singhvi, Arjun Balasubramanian, Varun Batra, Surya Teja Chavali, Shivaram Venkataraman, Aditya Akella, Amar Phanishayee, S. Chawla. 2019
249 citations recorded by the source corpus.
Modern distributed machine learning (ML) training workloads benefit significantly from leveraging GPUs. However, significant contention ensues when multiple such workloads are run atop a shared cluster of GPUs. A key question is how to fairly apportion GPUs across workloads while ensuring overall cluster efficiency. We find that established cluster scheduling disciplines that provide instantaneous fair share of resources are a poor fit because of ML workloads' unique attributes. ML jobs are typically long running, have coarse grained tasks that need to be gang-scheduled, and their performance is sensitive to tasks' relative placement. These properties cannot be captured by existing fair sharing schemes. We propose Themis, a new scheduling framework for ML training workloads. It's GPU allocation policy enforces that ML workloads complete in a finish-time fair manner, a new notion we introduce. To capture placement sensitivity and ensure efficiency, Themis uses a two-level scheduling architecture where ML workloads bid on available resources that are offered in an auction run by a central arbiter. Our auction design allocates GPUs to winning bids by trading off efficiency for fairness in the short term but compensating for finish-time fairness in the long term. Our evaluation on a number of machine learning models shows that Themis can ensure greater fairness while providing more efficient allocations compared to state-of-the-art schedulers.
Subfields: Artificial Intelligence, Computer Networks and Communications, Information Systems
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Artificial Intelligence
- Matei A. Zaharia
- Keshav Santhanam
- D. Narayanan
- Amar Phanishayee
- Ion Stoica
- Gangmuk Lim
- Youngjin Kwon
- Yong Li
In Computer Networks and Communications
- Ion Stoica
- Matei A. Zaharia
- Myeongjae Jeon
- D. Narayanan
- Amar Phanishayee
- Yangqing Jia
- Wencong Xiao
- Scott Shenker
In Information Systems
- Ion Stoica
- Matei A. Zaharia
- Keshav Santhanam
- D. Narayanan
- Yangqing Jia
- Mosharaf Chowdhury
- Jimmy J. Lin
- Sheng-Chieh Lin
Citations in the corpus
- Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads (2020, methodology): “To improve cluster utilization, existing GPU schedulers often deploy optimizations such as space sharing as in Gandiva [58], where multiple jobs can use the same accelerator concurrently, and placement sensitivity as in Themis and Tiresias [28, 40], which involves the careful placement of tasks in a”
- Wavelet: Efficient DNN Training with Tick-Tock Scheduling (2021, background): “, 2019), with focus on fairness (Mahajan et al., 2020), better locality (Xiao et al.”
- Zico: Efficient GPU Memory Sharing for Concurrent DNN Training (2021, background): “Hyperparameter tuning jobs dominate training workloads run atop shared GPU clusters [20, 26, 43].”
- AntMan: Dynamic Scaling on GPU Clusters for Deep Learning (2020, background): “In large companies, multi-tenant clusters are commonly used to improve hardware utilization, where users can sometimes oversubscribe GPU resource quota, especially when GPU demands burst [33].”