arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.09706cs.DC
收藏

一种基于强化学习的HPC协同调度器

A HPC Co-Scheduler with Reinforcement Learning

Abel Souza, Kristiaan Pelckmans, Johan Tordsson

AI总结:

本文提出一种基于自适应强化学习的HPC协同调度算法,结合应用性能分析与集群监控,利用决策树建模实际资源使用,集成Slurm与Mesos,实验显示集群利用率最高提升51%,低负载下平均队列makespan减少55%。

摘要:

尽管高性能计算(HPC)用户了解基本的资源需求,例如CPU数量和内存限制,但内部基础设施利用数据仅由集群操作员使用,他们利用这些数据来配置批处理调度器。由于现代科学工作流的集群规模日益扩大且异构性不断增强,这项任务变得极具挑战性且日益复杂。因此,HPC系统的利用率较低,作业完成时间(makespan)较长。为应对这些挑战,我们提出了一种基于自适应强化学习算法的协同调度算法,其中将应用性能分析与集群监控相结合。由此产生的集群调度器以细粒度方式(即操作系统级别)将资源利用率与应用性能相匹配。与名义分配不同,我们应用决策树来建模应用的实际资源使用情况,并利用这些模型来估计一次分配中的多少资源容量可以协同分配给其他应用。我们的算法从错误的协同调度决策中学习,并适应不断变化的环境条件,同时评估这些变化何时会导致资源争用,从而影响服务质量指标(如作业减速)。我们将该算法集成到一个HPC资源管理器中,该管理器结合了Slurm和Mesos,分别用于作业调度和协同分配。我们在一个专用集群上进行的实验评估中,混合运行了四种不同的真实科学工作流,结果表明即使在高负载场景下,集群利用率也可提高多达51%,在低负载下平均队列makespan减少55%。

英文摘要:

Although High Performance Computing (HPC) users understand basic resource requirements such as the number of CPUs and memory limits, internal infrastructural utilization data is exclusively leveraged by cluster operators, who use it to configure batch schedulers. This task is challenging and increasingly complex due to ever larger cluster scales and heterogeneity of modern scientific workflows. As a result, HPC systems achieve low utilization with long job completion times (makespans). To tackle these challenges, we propose a co-scheduling algorithm based on an adaptive reinforcement learning algorithm, where application profiling is combined with cluster monitoring. The resulting cluster scheduler matches resource utilization to application performance in a fine-grained manner (i.e., operating system level). As opposed to nominal allocations, we apply decision trees to model applications' actual resource usage, which are used to estimate how much resource capacity from one allocation can be co-allocated to additional applications. Our algorithm learns from incorrect co-scheduling decisions and adapts from changing environment conditions, and evaluates when such changes cause resource contention that impacts quality of service metrics such as jobs slowdowns. We integrate our algorithm in an HPC resource manager that combines Slurm and Mesos for job scheduling and co-allocation, respectively. Our experimental evaluation performed in a dedicated cluster executing a mix of four real different scientific workflows demonstrates improvements on cluster utilization of up to 51% even in high load scenarios, with 55% average queue makespan reductions under low loads.

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

↑