Lyra: Elastic Scheduling for Deep Learning Clusters
Jiamin Li, Hong Xu, Yibo Zhu, Zherui Liu, Chuanxiong Guo, Cong Wang
摘要
Companies build separate training and inference GPU clusters for deep learning, and use separate schedulers to manage them. This leads to problems for both training and inference: inference clusters have low GPU utilization when the traffic load is low; training jobs often experience long queueing time due to lack of resources. We introduce Aryl, a new cluster scheduler to address these problems. Aryl introduces capacity loaning to loan idle inference GPU servers for training jobs. It further exploits elastic scaling that scales a training job's GPU allocation to better utilize loaned resources. Capacity loaning and elastic scaling create new challenges to cluster management. When the loaned servers need to be returned, we need to minimize the number of job preemptions; when more GPUs become available, we need to allocate them to elastic jobs and minimize the job completion time (JCT). Aryl addresses these combinatorial problems using principled heuristics. It introduces the notion of server preemption cost which it greedily reduces during server reclaiming. It further relies on the JCT reduction value defined for each additional worker for an elastic job to solve the scheduling problem as a multiple-choice knapsack problem. Prototype implementation on a 64-GPU testbed and large-scale simulation with 15-day traces of over 50,000 production jobs show that Aryl brings 1.53x and 1.50x reductions in average queuing time and JCT, and improves cluster usage by up to 26.9% over the cluster scheduler without capacity loaning or elastic scaling.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 18 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- GPU-Disaggregated Serving for Deep Learning Recommendation Models at Scale 引用了 Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient Descent
- Orion: Interference-aware, Fine-grained GPU Sharing for ML Applications 引用了 Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
- Orion: Interference-aware, Fine-grained GPU Sharing for ML Applications 引用了 AntMan: Dynamic Scaling on GPU Clusters for Deep Learning
- Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient Descent 引用了 Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
- Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient Descent 引用了 AntMan: Dynamic Scaling on GPU Clusters for Deep Learning
- USHER: Holistic Interference Avoidance for Resource Optimized ML Inference 引用了 Orion: Interference-aware, Fine-grained GPU Sharing for ML Applications
- USHER: Holistic Interference Avoidance for Resource Optimized ML Inference 引用了 Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient Descent
- USHER: Holistic Interference Avoidance for Resource Optimized ML Inference 引用了 Serving DNNs like Clockwork: Performance Predictability from the Bottom Up
- USHER: Holistic Interference Avoidance for Resource Optimized ML Inference 引用了 Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
- A Unified Architecture for Accelerating Distributed DNN Training in Heterogeneous GPU/CPU Clusters 引用了 Large Batch Optimization for Deep Learning: Training BERT in 76 minutes
引用它的顶会 Paper18
- Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient DescentQizhen Weng, Lingyun Yang, Yinghao Yu, Wei Wang 等USENIX ATC 2023 · 115 次引用
- Orion: Interference-aware, Fine-grained GPU Sharing for ML ApplicationsFoteini Strati, Xianzhe Ma, Ana KlimovicEuroSys 2024 · 96 次引用
- USHER: Holistic Interference Avoidance for Resource Optimized ML InferenceSudipta Saha Shubha, Haiying Shen, Anand P. IyerOSDI 2024 · 35 次引用
- Oobleck: Resilient Distributed Training of Large Models Using Pipeline TemplatesInsu Jang, Zhenning Yang, Zhen Zhang, Xin Jin 等SOSP 2023 · 27 次引用
- GPU-Disaggregated Serving for Deep Learning Recommendation Models at ScaleLingyun Yang, Yongchen Wang, Yinghao Yu, Qizhen Weng 等NSDI 2025 · 22 次引用
它引用的 Paper13
- Large Batch Optimization for Deep Learning: Training BERT in 76 minutesYang You, Jing Li, Sashank J. Reddi, Jonathan Hseu 等ICLR 2020 · 1,170 次引用
- Serving DNNs like Clockwork: Performance Predictability from the Bottom UpArpan Gujarati, Reza Karimi, Safya Alzayat, Wei Hao 等OSDI 2020 · 392 次引用
- A Unified Architecture for Accelerating Distributed DNN Training in Heterogeneous GPU/CPU ClustersYimin Jiang, Yibo Zhu, Chang Lan, Bairen Yi 等OSDI 2020 · 390 次引用
- Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning WorkloadsDeepak Narayanan, Keshav Santhanam, Fiodar Kazhamiaka, Amar Phanishayee 等OSDI 2020 · 286 次引用
- AntMan: Dynamic Scaling on GPU Clusters for Deep LearningWencong Xiao, Shiru Ren, Yong Li, Yang Zhang 等OSDI 2020 · 260 次引用
相关 Paper
- An efficient and non-intrusive GPU scheduling framework for deep learning training systemsShaoqi Wang, Oscar J. Gonzalez, Xiaobo Zhou, Thomas Williams 等SC 2020 · 21 次引用
- Sia: Heterogeneity-aware, goodput-optimized ML-cluster schedulingSuhas Jayaram Subramanya, Daiyaan Arfeen, Shouxu Lin, Aurick Qiao 等SOSP 2023 · 50 次引用
- EasyScale: Elastic Training with Consistent Accuracy and Improved Utilization on GPUsMingzhen Li, Wencong Xiao, Hailong Yang, Biao Sun 等SC 2023 · 16 次引用
- Online evolutionary batch size orchestration for scheduling deep learning workloads in GPU clustersZhengda Bian, Shenggui Li, Wei Wang, Yang YouSC 2021 · 22 次引用
- Resilience-Aware Elastic Scaling for Cloud-Native Online DL Training on Multi-Tenant GPU ClustersQianhao Wu, Jiazhi Jiang, Guihui Ling, Yue PangVLDB 2026
