EaCO:资源共享动态及其对DNN训练能效的影响
EaCO: Resource Sharing Dynamics and Its Impact on Energy Efficiency for DNN Training
AI总结:
针对GPU集群中深度学习训练能耗高、利用率低的问题,提出能效感知调度算法EaCO,通过硬件上下文切换实现GPU共享,结合预测与观测平衡性能与能效,实验验证其能显著降能耗且性能损失极小。
摘要:
深度学习训练(DLT)因计算成本高且作业数量不断增加,已成为共享GPU/CPU集群中日益增长的工作负载,这导致GPU集群的能源消耗显著,而生产集群日志显示,GPU利用率不足进一步加剧了这一问题。应对这一挑战需要制定工作负载调度与资源分配策略,实现高效的GPU共享,以在维持性能的同时提升资源与能源效率。但以往研究主要针对性能进行优化,往往忽视甚至牺牲能效。\n 本文提出EaCO,这是首个专为GPU集群中的DLT工作负载设计的能效感知调度算法。EaCO利用硬件支持的上下文切换功能,实现多个DLT作业间的GPU共享,提升资源与能源利用率。GPU共享可能会延长作业完成时间(JCT),若使用不当还可能引发资源争用。为解决该问题,EaCO整合了基于实验与历史数据的预测以及早期阶段观测结果,在优化能效的同时确保满足性能预期。\n 我们首先通过实验探究了DLT作业共置的动态特性,研究其对能源与资源利用率的影响。结果表明,共置可将单个作业的能效提升最高达44%,并将平均GPU利用率提高至97%。此外,利用生产轨迹在大规模集群上开展的评估显示,与现有算法相比,EaCO可将总能耗降低最高达39%,且作业运行时间增幅极小——在我们的模拟中不足3.2%。
英文摘要:
Deep Learning Training (DLT) is a growing workload in shared GPU/CPU clusters due to its high computational cost and increasing number of jobs. This contributes to significant energy consumption in GPU clusters, further exacerbated by GPU under-utilization, as shown in production cluster logs. Addressing this challenge requires workload scheduling and resource allocation policies for efficient GPU sharing to improve resource and energy efficiency while maintaining performance. However, previous works primarily optimize for performance, often overlooking or even sacrificing energy efficiency. In this paper, we present EaCO, the first energy-aware scheduling algorithm designed specifically for DLT workloads in GPU clusters. EaCO leverages hardware-supported context switching to enable GPU sharing across multiple DLT jobs, improving resource and energy utilization. GPU sharing can increase Job Completion Time (JCT) and may lead to contention if not employed carefully. To address this, EaCO integrates experiment and historical-based predictions as well as early-stage observations, ensuring performance expectations are met while optimizing energy efficiency. We begin by experimentally exploring the dynamics of co-locating DLTs, investigating its impact on energy and resource utilization. Our results show that co-location improves energy efficiency by up to 44% for individual jobs, and increases average GPU utilization to as high as 97%. Additionally, evaluations on large-scale clusters using production traces demonstrate that EaCO reduces total energy by up to 39% compared to existing algorithms, which comes with a minimal increase in job runtime-less than 3.2% in our simulations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。