arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.01484cs.DC
收藏

Themis:公平高效的GPU集群调度

Themis: Fair and Efficient GPU Cluster Scheduling

Kshiteej Mahajan, Arjun Balasubramanian, Arjun Singhvi, Shivaram Venkataraman, Aditya Akella, Amar Phanishayee, Shuchi Chawla

摘要:

现代分布式机器学习(ML)训练工作负载从利用GPU中受益匪浅。然而,当多个这样的工作负载在GPU的共享集群上运行时,会引起严重的争用。一个关键问题是如何在工作负载之间公平分配GPU。我们发现,由于ML工作负载的独特属性,已建立的集群调度规则不太适合:ML作业具有需要进行组调度的长时间运行的任务,并且它们的性能对任务的相对位置敏感。我们提出了Themis,这是一种用于ML训练工作负载的新调度框架。它的GPU分配策略强制ML工作负载以完成时公平的方式完成,这是我们引入的一个新概念。为了捕获放置敏感性并确保效率,Themis使用两级调度架构,其中ML工作负载对由中央仲裁器运行的拍卖中提供的可用资源进行竞标。我们的拍卖设计通过在短期内权衡效率和公平性,但从长期来看确保完成时间的公平性,将GPU分配给中标者。我们对生产跟踪的评估表明,Themis可以将公平性提高2.25倍以上,与最先进的集群相比,集群效率提高了5%到250%。

英文摘要:

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. We find that established cluster scheduling disciplines are a poor fit because of ML workloads' unique attributes: ML jobs have long-running tasks that need to be gang-scheduled, and their performance is sensitive to tasks' relative placement. 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 ensuring finish-time fairness in the long term. Our evaluation on a production trace shows that Themis can improve fairness by more than 2.25X and is ~5% to 250% more cluster efficient in comparison to state-of-the-art schedulers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑