Lune

OSDI2020顶会

HiveD: Sharing a GPU Cluster for Deep Learning with Guarantees

Hanyu Zhao, Zhenhua Han, Zhi Yang, Quanlu Zhang, Fan Yang, Lidong Zhou, Mao Yang, Francis C. M. Lau, Yuqi Wang, Yifan Xiong, Bin Wang

摘要

Deep learning training on a shared GPU cluster is becoming a common practice. However, we observe severe sharing anomaly in production multi-tenant clusters where jobs in some tenants experience worse queuing delay than they would have in a private cluster with their allocated shares of GPUs. This is because tenants use quota, the number of GPUs, to reserve resources, whereas deep learning jobs often use GPUs with a desirable GPU affinity, which quota cannot guarantee.

HiveD is the first framework to share a GPU cluster safely, so that such anomaly would never happen by design. In HiveD, each tenant reserves resources through a Virtual Private Cluster (VC), defined in terms of multi-level cell structures corresponding to different levels of GPU affinity in a cluster. This design allows HiveD to incorporate any existing schedulers within each VC to achieve their respective design goals while sharing the cluster safely.

HiveD develops an elegant buddy cell allocation algorithm to ensure sharing safety by efficiently managing the dynamic binding of cells from VCs to those in a physical cluster. A straightforward extension of buddy cell allocation can further support low-priority jobs to scavenge the unused GPU resources to improve cluster utilization.

With a combination of real deployment and trace-driven simulation, we show that: (i) sharing anomaly exists in three state-of-the-art deep learning schedulers, incurring extra queuing delay of up to 1,000 minutes; (ii) HiveD can incorporate these schedulers and eliminate the sharing anomaly in all of them, achieving separation of concerns that allows the schedulers to focus on their own scheduling goals without violating sharing safety.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 19 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Parrot: Efficient Serving of LLM-based Applications with Semantic Variable 引用了 Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
  • Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient Descent 引用了 Transparent GPU Sharing in Container Clouds for Deep Learning Workloads
  • Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient Descent 引用了 Characterization and prediction of deep learning workloads in large-scale GPU datacenters
  • Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient Descent 引用了 Balancing efficiency and fairness in heterogeneous 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
  • Transparent GPU Sharing in Container Clouds for Deep Learning Workloads 引用了 Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
  • CASSINI: Network-Aware Job Scheduling in Machine Learning Clusters 引用了 Scaling Distributed Machine Learning with In-Network Aggregation
  • Characterization and prediction of deep learning workloads in large-scale GPU datacenters 引用了 Balancing efficiency and fairness in heterogeneous GPU clusters for deep learning
  • Characterization and prediction of deep learning workloads in large-scale GPU datacenters 引用了 Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads
  • Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloads 引用了 Balancing efficiency and fairness in heterogeneous GPU clusters for deep learning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper19

  1. CASSINI: Network-Aware Job Scheduling in Machine Learning ClustersSudarsanan Rajasekaran, Manya Ghobadi, Aditya AkellaNSDI 2024 · 144 次引用
  2. Characterization and prediction of deep learning workloads in large-scale GPU datacentersQinghao Hu, Peng Sun, Shengen Yan, Yonggang Wen 等SC 2021 · 136 次引用
  3. Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient DescentQizhen Weng, Lingyun Yang, Yinghao Yu, Wei Wang 等USENIX ATC 2023 · 115 次引用
  4. Parrot: Efficient Serving of LLM-based Applications with Semantic VariableChaofan Lin, Zhenhua Han, Chengruidong Zhang, Yuqing Yang 等OSDI 2024 · 112 次引用
  5. Transparent GPU Sharing in Container Clouds for Deep Learning WorkloadsBingyang Wu, Zili Zhang, Zhihao Bai, Xuanzhe Liu 等NSDI 2023 · 112 次引用

它引用的 Paper3

  1. Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning WorkloadsDeepak Narayanan, Keshav Santhanam, Fiodar Kazhamiaka, Amar Phanishayee 等OSDI 2020 · 286 次引用
  2. Balancing efficiency and fairness in heterogeneous GPU clusters for deep learningShubham Chaudhary, Ramachandran Ramjee, Muthian Sivathanu, Nipun Kwatra 等EuroSys 2020 · 135 次引用
  3. Scaling Distributed Machine Learning with In-Network AggregationAmedeo Sapio, Marco Canini, Chen-Yu Ho, Jacob Nelson 等NSDI 2021

相关 Paper

  1. AntMan: Dynamic Scaling on GPU Clusters for Deep LearningWencong Xiao, Shiru Ren, Yong Li, Yang Zhang 等OSDI 2020 · 260 次引用
  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 次引用
  3. Lyra: Elastic Scheduling for Deep Learning ClustersJiamin Li, Hong Xu, Yibo Zhu, Zherui Liu 等EuroSys 2023 · 59 次引用
  4. An efficient and non-intrusive GPU scheduling framework for deep learning training systemsShaoqi Wang, Oscar J. Gonzalez, Xiaobo Zhou, Thomas Williams 等SC 2020 · 21 次引用
  5. Looking Beyond GPUs for DNN Scheduling on Multi-Tenant ClustersJayashree Mohan, Amar Phanishayee, Janardhan Kulkarni, Vijay ChidambaramOSDI 2022 · 91 次引用
黄昏的海面,两侧是细线勾勒的悬崖