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

Nf-PEAK: 基于过程的Nextflow工作流在Kubernetes集群上的能耗归因

Nf-PEAK: Process-Based Energy Attribution for Nextflow Workflows on Kubernetes Clusters

Humboldt-Universität zu Berlin(柏林洪堡大学);Freie Universität Berlin(柏林自由大学);University of Glasgow(格拉斯哥大学)

Philipp Thamm, Somayeh Mohammadi, Kathleen West, Knut Reinert, Lauritz Thamsen, Ulf Leser

AI总结:

本文提出Nf-PEAK方法,用于在Kubernetes集群上对Nextflow工作流中的任务进行基于过程的能耗归因,以提高能耗分析的准确性,特别是在高负载情况下。

摘要:

科学工作流是相互依赖任务的管道。它们越来越多地通过Nextflow等工作流引擎在共享的Kubernetes集群上执行。它们的能耗对成本和可持续性都有影响。有必要单独检查和优化工作流任务,因为它们可以非常异构。然而,在集群上估计任务级能耗是困难的:Intel RAPL计数器只能报告节点级能耗,访问计数器和主机进程信息通常受到限制,并且并发工作负载引入了资源争用和测量噪声。我们提出了Nf-PEAK,一种容器化的方法,用于将CPU包和DRAM能耗归因于单独的过程和Nextflow任务。Nf-PEAK (i) 识别工作流pod,(ii) 通过cgroup元数据将pod映射到主机进程,(iii) 采样RAPL和每进程性能计数器,(iv) 在汇总到任务级别之前应用非线性能耗信用模型。在Kubernetes集群上,我们在受控的共置CPU负载下评估了三个nf-core工作流。Nf-PEAK在隔离运行时达到平均绝对百分比误差为6.6%,当无关工作负载饱和每个节点8个硬件线程时,误差为10.9%,并在2、3、4和8个节点上保持稳定。与最先进的Kubernetes工具Kepler相比,Nf-PEAK在平均误差上更低,特别是在共置负载下。

英文摘要:

Scientific workflows are pipelines of interdependent tasks. They are increasingly executed on shared Kubernetes clusters via workflow engines such as Nextflow. Their energy consumption matters for both cost and sustainability. It is necessary to examine and optimize workflow tasks individually, because they can be very heterogeneous. However, estimating task-level energy on clusters is difficult: Intel RAPL counters report only node-level energy, access to counters and host process information is typically restricted, and concurrent workloads introduce resource contention and measurement noise. We present Nf-PEAK, a containerized method to attribute CPU-package and DRAM energy to individual processes and Nextflow tasks. Nf-PEAK (i) identifies workflow pods, (ii) maps pods to host processes via cgroup metadata, (iii) samples RAPL and per-process performance counters, and (iv) applies a non-linear energy-credit model before aggregating results at task level. On a Kubernetes cluster, we evaluate three nf-core workflows under controlled co-located CPU load. Nf-PEAK reaches an average Mean Absolute Percentage Error of 6.6% in isolated runs and 10.9% when an unrelated workload saturates 8 of 32 hardware threads per node, and remains stable across 2, 3, 4, and 8 nodes. Compared to the state-of-the-art Kubernetes tool Kepler, Nf-PEAK yields lower error on average, particularly under co-located load.

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

↑