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

ASA——自适应调度算法(The Adaptive Scheduling Algorithm)

ASA -- The Adaptive Scheduling Algorithm

Abel Souza, Kristiaan Pelckmans, Devarshi Ghoshal, Lavanya Ramakrishnan, Johan Tordsson

AI总结:

针对 HPC 中预分配浪费资源与动态分配可能延长工作流完成时间的矛盾,本文提出具有收敛保证的 ASA,通过预测队列等待并提前请求资源变更,在两台超级计算机上显著降低等待与完成时间。

摘要:

在高性能计算(HPC)基础设施中,批处理系统对资源的控制可能导致队列等待时间延长,并对应用程序的总体执行时间产生不利影响;在数据密集型和低延迟工作流中尤其如此,因为这些场景的高效处理依赖于资源规划和及时分配。预先分配最大容量可确保最快执行,但会造成剩余资源和空闲资源、延长的队列等待以及高昂的使用成本。相反,基于工作流各阶段需求进行动态分配可优化资源使用,但可能对工作流总完成时间(makespan)产生负面影响。为解决这些问题,我们提出 ASA,即自适应调度算法(Adaptive Scheduling Algorithm)。ASA 是一种新颖且具有收敛性证明的调度技术,通过估计队列等待时间,提前主动提交资源变更请求,从而最小化作业的阶段间等待时间。它在探索与利用之间取得平衡,同时考虑学习(等待时间)和应用已学到的洞察。在两个超级计算机中心使用科学工作流开展的真实世界实验证明了 ASA 的有效性:其实现了接近最优的资源利用率和准确性,工作流平均队列等待时间和完成时间分别最高降低 10% 和 2%。

英文摘要:

In High Performance Computing (HPC) infrastructures, the control of resources by batch systems can lead to prolonged queue waiting times and adverse effects on the overall execution times of applications, particularly in data-intensive and low-latency workflows where efficient processing hinges on resource planning and timely allocation. Allocating the maximum capacity upfront ensures the fastest execution but results in spare and idle resources, extended queue waits, and costly usage. Conversely, dynamic allocation based on workflow stage requirements optimizes resource usage but may negatively impact the total workflow makespan. To address these issues, we introduce ASA, the Adaptive Scheduling Algorithm. ASA is a novel, convergence-proven scheduling technique that minimizes jobs inter-stage waiting times by estimating the queue waiting times to proactively submit resource change requests ahead of time. It strikes a balance between exploration and exploitation, considering both learning (waiting times) and applying learnt insights. Real-world experiments over two supercomputers centers with scientific workflows demonstrate ASA's effectiveness, achieving near-optimal resource utilization and accuracy, with up to 10% and 2% reductions in average workflow queue waiting times and makespan, respectively.

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

↑