Lune

NSDI2023Top-tier venue

Shockwave: Fair and Efficient Cluster Scheduling for Dynamic Adaptation in Machine Learning

Pengfei Zheng, Rui Pan, Tarannum Khan, Shivaram Venkataraman, Aditya Akella

Abstract

Dynamic adaptation has become an essential technique in accelerating distributed machine learning (ML) training. Recent studies have shown that dynamically adjusting model structure (e.g., lottery ticket hypothesis [16]) or hyperparameters (e.g., batch size [1]) can significantly accelerate training without sacrificing accuracy. However, existing ML cluster schedulers are not designed to handle dynamic adaptation. We show that existing schemes fail to provide fairness and degrade system efficiency when the training throughput changes over time under dynamic adaptation. We design Shockwave, a scheduler with future planning that builds on two key ideas. First, Shockwave extends classic market theory from static settings to dynamic settings to co-optimize efficiency and fairness. Second, Shockwave utilizes stochastic dynamic programming to handle dynamic changes. We build a system for Shockwave and validate its performance with both tracedriven simulation and cluster experiments. Results show that for traces of ML jobs with dynamic adaptation, Shockwave improves makespan by 1.3× and fairness by 2× when compared with existing fair scheduling schemes.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning cites Language Models are Few-Shot Learners
  • Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning cites Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
  • When will my ML Job finish? Toward providing Completion Time Estimates through Predictability-Centric Scheduling cites Elastic Resource Sharing for Distributed Deep Learning
  • When will my ML Job finish? Toward providing Completion Time Estimates through Predictability-Centric Scheduling cites Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning
  • When will my ML Job finish? Toward providing Completion Time Estimates through Predictability-Centric Scheduling cites Balancing efficiency and fairness in heterogeneous GPU clusters for deep learning
  • When will my ML Job finish? Toward providing Completion Time Estimates through Predictability-Centric Scheduling cites Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
  • CASSINI: Network-Aware Job Scheduling in Machine Learning Clusters cites Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning
  • CASSINI: Network-Aware Job Scheduling in Machine Learning Clusters cites Language Models are Few-Shot Learners
  • Lucid: A Non-intrusive, Scalable and Interpretable Scheduler for Deep Learning Training Jobs cites Elastic Resource Sharing for Distributed Deep Learning
  • Lucid: A Non-intrusive, Scalable and Interpretable Scheduler for Deep Learning Training Jobs cites Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning
  • Lucid: A Non-intrusive, Scalable and Interpretable Scheduler for Deep Learning Training Jobs cites Balancing efficiency and fairness in heterogeneous GPU clusters for deep learning
  • Lucid: A Non-intrusive, Scalable and Interpretable Scheduler for Deep Learning Training Jobs cites Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
  • Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads cites Balancing efficiency and fairness in heterogeneous GPU clusters for deep learning
  • Sia: Heterogeneity-aware, goodput-optimized ML-cluster scheduling cites Elastic Resource Sharing for Distributed Deep Learning
  • Sia: Heterogeneity-aware, goodput-optimized ML-cluster scheduling cites Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep Learning
  • Sia: Heterogeneity-aware, goodput-optimized ML-cluster scheduling cites Balancing efficiency and fairness in heterogeneous GPU clusters for deep learning
  • Sia: Heterogeneity-aware, goodput-optimized ML-cluster scheduling cites Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
  • Crux: GPU-Efficient Communication Scheduling for Deep Learning Training cites CASSINI: Network-Aware Job Scheduling in Machine Learning Clusters
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. CASSINI: Network-Aware Job Scheduling in Machine Learning ClustersSudarsanan Rajasekaran, Manya Ghobadi, Aditya AkellaNSDI 2024 · 144 citations
  2. Crux: GPU-Efficient Communication Scheduling for Deep Learning TrainingJiamin Cao, Yu Guan, Kun Qian, Jiaqi Gao et al.SIGCOMM 2024 · 60 citations
  3. Sia: Heterogeneity-aware, goodput-optimized ML-cluster schedulingSuhas Jayaram Subramanya, Daiyaan Arfeen, Shouxu Lin, Aurick Qiao et al.SOSP 2023 · 50 citations
  4. Lucid: A Non-intrusive, Scalable and Interpretable Scheduler for Deep Learning Training JobsQinghao Hu, Meng Zhang, Peng Sun, Yonggang Wen et al.ASPLOS 2023 · 45 citations
  5. When will my ML Job finish? Toward providing Completion Time Estimates through Predictability-Centric SchedulingAbdullah Bin Faisal, Noah Martin, Hafiz Mohsin Bashir, Swaminathan Lamelas et al.OSDI 2024 · 6 citations

Builds on8

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning WorkloadsDeepak Narayanan, Keshav Santhanam, Fiodar Kazhamiaka, Amar Phanishayee et al.OSDI 2020 · 286 citations
  3. Pollux: Co-adaptive Cluster Scheduling for Goodput-Optimized Deep LearningAurick Qiao, Sang Keun Choe, Suhas Jayaram Subramanya, Willie Neiswanger et al.OSDI 2021 · 258 citations
  4. Balancing efficiency and fairness in heterogeneous GPU clusters for deep learningShubham Chaudhary, Ramachandran Ramjee, Muthian Sivathanu, Nipun Kwatra et al.EuroSys 2020 · 135 citations
  5. Elastic Resource Sharing for Distributed Deep LearningChangho Hwang, Taehyun Kim, Sunghyun Kim, Jinwoo Shin et al.NSDI 2021 · 111 citations

Related papers

  1. Themis: Fair and Efficient GPU Cluster SchedulingKshiteej Mahajan, Arjun Balasubramanian, Arjun Singhvi, Shivaram Venkataraman et al.NSDI 2020 · 22 citations
  2. Hare: Exploiting Inter-job and Intra-job Parallelism of Distributed Machine Learning on Heterogeneous GPUsFahao Chen, Peng Li, Celimuge Wu, Song GuoHPDC 2022 · 10 citations
  3. Fela: Incorporating Flexible Parallelism and Elastic Tuning to Accelerate Large-Scale DMLJinkun Geng, Dan Li, Shuai WangICDE 2020 · 5 citations
  4. Prediction-Assisted Online Distributed Deep Learning Workload Scheduling in GPU ClustersZiyue Luo, Jia Liu, Myungjin Lee, Ness B. ShroffINFOCOM 2025 · 5 citations
  5. Online evolutionary batch size orchestration for scheduling deep learning workloads in GPU clustersZhengda Bian, Shenggui Li, Wei Wang, Yang YouSC 2021 · 22 citations
Dusk over the sea between two cliffs drawn in fine vertical lines