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

Lotaru:异构集群中科学工作流任务运行时间的局部估计

Lotaru: Locally Estimating Runtimes of Scientific Workflow Tasks in Heterogeneous Clusters

Jonathan Bader, Fabian Lehmann, Lauritz Thamsen, Jonathan Will, Ulf Leser, Odej Kao

摘要:

许多科学的工作流调度算法需要事先知道任务的运行时间来进行有效的调度。在异构集群基础设施中,这个问题变得更加严重,因为每个任务节点对都需要这些运行时。使用历史数据通常是不可行的,因为日志通常不会无限期地保留,并且工作负载以及基础设施会发生变化。相比之下,在线方法在工作流运行时预测特定节点上的任务运行时间,必须应对示例运行的缺乏,特别是在启动期间。在本文中,我们提出了Lotaru,一种新的在线方法,用于在异构集群上的科学工作流中本地估计任务运行时间。Lotaru首先使用一组短期运行的统一微基准测试来分析集群中的所有节点。接下来,它在用户的本地机器上运行要调度的工作流,并使用大量减少的数据来确定重要的任务特征。基于这些测量,Lotaru学习贝叶斯线性回归模型来预测给定输入大小的任务的运行时间,并最终根据微基准测试结果专门针对集群中的每个任务节点对调整预测的运行时间。由于其贝叶斯方法,Lotaru还可以计算鲁棒的不确定性估计,并将其作为高级调度方法的输入。我们对五个真实科学工作流程和不同数据集的评估表明,Lotaru在同质和异质集群的预测误差方面明显优于基线。

英文摘要:

Many scientific workflow scheduling algorithms need to be informed about task runtimes a-priori to conduct efficient scheduling. In heterogeneous cluster infrastructures, this problem becomes aggravated because these runtimes are required for each task-node pair. Using historical data is often not feasible as logs are typically not retained indefinitely and workloads as well as infrastructure changes. In contrast, online methods, which predict task runtimes on specific nodes while the workflow is running, have to cope with the lack of example runs, especially during the start-up. In this paper, we present Lotaru, a novel online method for locally estimating task runtimes in scientific workflows on heterogeneous clusters. Lotaru first profiles all nodes of a cluster with a set of short-running and uniform microbenchmarks. Next, it runs the workflow to be scheduled on the user's local machine with drastically reduced data to determine important task characteristics. Based on these measurements, Lotaru learns a Bayesian linear regression model to predict a task's runtime given the input size and finally adjusts the predicted runtime specifically for each task-node pair in the cluster based on the micro-benchmark results. Due to its Bayesian approach, Lotaru can also compute robust uncertainty estimates and provides them as an input for advanced scheduling methods. Our evaluation with five real-world scientific workflows and different datasets shows that Lotaru significantly outperforms the baselines in terms of prediction errors for homogeneous and heterogeneous clusters.

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

↑