arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2407.13088cs.DC
收藏

通过智能资源共享在多租户GPU集群中调度深度学习作业

Scheduling Deep Learning Jobs in Multi-Tenant GPU Clusters via Wise Resource Sharing

Yizhou Luo, Qiang Wang, Shaohuai Shi, Jiaxin Lai, Shuhan Qi, Jiajia Zhang, Xuan Wang

AI总结:

提出SJF-BSBF调度算法,通过智能GPU共享与梯度累积优化多租户集群DL作业调度,无需抢占即可降低平均完成时间27-33%,并优于激进共享策略17%。

摘要:

深度学习(DL)已在多个领域展现出显著成功,促使在GPU集群中构建专用GPU加速器以提供高质量的训练服务。针对此类集群的高效调度器设计对于降低运营成本和提升资源利用率至关重要。尽管近期调度器通过周期性重新分配或选择GPU资源,在优化DL作业性能和集群利用率方面表现出色,但它们也面临诸如抢占和迁移开销以及潜在的DL精度下降等挑战。然而,很少有研究探索GPU共享在提高资源利用率和减少作业排队时间方面的潜在优势。受这些观察启发,我们提出了一种作业调度模型,允许多个作业共享同一组GPU,且不改变作业的训练设置。我们引入了SJF-BSBF(最短作业优先与最佳共享收益优先),一种简单而有效的启发式调度算法。SJF-BSBF智能地选择作业对进行GPU资源共享,并确定运行时设置(子批次大小和调度时间点),以优化整体性能,同时通过梯度累积确保DL收敛精度。在物理DL工作负载和基于轨迹的模拟实验中,即使作为无抢占策略,SJF-BSBF相对于最先进的抢占式DL调度器,将平均作业完成时间降低了27-33%。此外,SJF-BSBF能够明智地确定最佳资源共享设置,如共享时间点和用于梯度累积的子批次大小,在大规模轨迹中优于激进的GPU共享方法(基线SJF-FFS策略)高达17%。

英文摘要:

Deep learning (DL) has demonstrated significant success across diverse fields, leading to the construction of dedicated GPU accelerators within GPU clusters for high-quality training services. Efficient scheduler designs for such clusters are vital to reduce operational costs and enhance resource utilization. While recent schedulers have shown impressive performance in optimizing DL job performance and cluster utilization through periodic reallocation or selection of GPU resources, they also encounter challenges such as preemption and migration overhead, along with potential DL accuracy degradation. Nonetheless, few explore the potential benefits of GPU sharing to improve resource utilization and reduce job queuing times. Motivated by these insights, we present a job scheduling model allowing multiple jobs to share the same set of GPUs without altering job training settings. We introduce SJF-BSBF (shortest job first with best sharing benefit first), a straightforward yet effective heuristic scheduling algorithm. SJF-BSBF intelligently selects job pairs for GPU resource sharing and runtime settings (sub-batch size and scheduling time point) to optimize overall performance while ensuring DL convergence accuracy through gradient accumulation. In experiments with both physical DL workloads and trace-driven simulations, even as a preemption-free policy, SJF-BSBF reduces the average job completion time by 27-33\% relative to the state-of-the-art preemptive DL schedulers. Moreover, SJF-BSBF can wisely determine the optimal resource sharing settings, such as the sharing time point and sub-batch size for gradient accumulation, outperforming the aggressive GPU sharing approach (baseline SJF-FFS policy) by up to 17\% in large-scale traces.

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

↑