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

Tarema:异构集群中可扩展科学工作流的自适应资源分配

Tarema: Adaptive Resource Allocation for Scalable Scientific Workflows in Heterogeneous Clusters

Jonathan Bader, Lauritz Thamsen, Svetlana Kulagina, Jonathan Will, Henning Meyerhenke, Odej Kao

摘要:

像Nextflow这样的科学工作流管理系统通过抽象科学工作流的细节来支持大规模数据分析。在这些系统中,工作流由多个抽象任务组成,这些任务的实例并行运行,并将输入分区转换为输出分区。像Kubernetes这样的资源管理器在集群基础设施上执行这样的工作流任务。然而,这些资源管理器在将任务分配给资源时只考虑CPU的数量和可用内存的数量;它们不会考虑这些数量之外的硬件差异,而计算速度和内存访问速率可能会有很大差异。我们提出Tarema,一个系统,用于在执行可扩展的科学工作流的过程中分配任务实例到异构集群资源。首先,Tarema使用一组基准测试程序分析可用的基础设施,并将具有类似性能的集群节点分组。其次,Tarema使用任务的在线监控数据,根据任务的资源使用情况为任务分配标签。第三,Tarema使用节点组和任务标签,根据资源需求动态地将任务实例均匀分配给资源。我们对Kubernetes的原型实现进行了评估,使用了来自流行的nf核心框架的五个真实世界的Nextflow工作流和两个由不同虚拟机组成的15节点集群,与广泛使用的资源管理器中的流行集群相比,隔离作业运行时间平均减少了19.8%,与启发式SJFN相比减少了4.54%,同时提供了更好的集群使用率。此外,在有限资源上并行执行两个长时间运行的工作流表明,Tarema能够在提供公平的集群使用率的同时进一步减少运行时间。

英文摘要:

Scientific workflow management systems like Nextflow support large-scale data analysis by abstracting away the details of scientific workflows. In these systems, workflows consist of several abstract tasks, of which instances are run in parallel and transform input partitions into output partitions. Resource managers like Kubernetes execute such workflow tasks on cluster infrastructures. However, these resource managers only consider the number of CPUs and the amount of available memory when assigning tasks to resources; they do not consider hardware differences beyond these numbers, while computational speed and memory access rates can differ significantly. We propose Tarema, a system for allocating task instances to heterogeneous cluster resources during the execution of scalable scientific workflows. First, Tarema profiles the available infrastructure with a set of benchmark programs and groups cluster nodes with similar performance. Second, Tarema uses online monitoring data of tasks, assigning labels to tasks depending on their resource usage. Third, Tarema uses the node groups and task labels to dynamically assign task instances evenly to resources based on resource demand. Our evaluation of a prototype implementation for Kubernetes, using five real-world Nextflow workflows from the popular nf-core framework and two 15-node clusters consisting of different virtual machines, shows a mean reduction of isolated job runtimes by 19.8% compared to popular schedulers in widely-used resource managers and 4.54% compared to the heuristic SJFN, while providing a better cluster usage. Moreover, executing two long-running workflows in parallel and on restricted resources shows that Tarema is able to reduce the runtimes even more while providing a fair cluster usage.

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

↑