Predicting the Performance of Scientific Workflow Tasks for Cluster Resource Management: An Overview of the State of the Art

Jonathan Bader, Kathleen West, Sören Becker, Svetlana Kulagina, Fabian Lehmann, Lauritz Thamsen, Henning Meyerhenke, Odej KaoarXiv 2025 · OpenReview

TL;DR

This paper provides a comprehensive overview and comparison of state-of-the-art methods for predicting the performance (runtime and memory usage) of individual tasks within scientific workflows. Accurate predictions are crucial for efficient cluster resource management, enabling better scheduling, energy savings, and cost optimization.

What Problem Does This Paper Address?

Scientific workflows are increasingly used for large-scale data analysis on cluster infrastructures. To manage these workflows effectively, resource managers need to estimate the performance of each task (e.g., how long it will run, how much memory it will consume). However, manual estimates by users are often inaccurate, leading to either workflow failures (due to underestimation) or inefficient resource allocation (due to overestimation, which reduces parallelism). This paper addresses the challenge of automating these performance predictions to improve the overall efficiency and reliability of scientific workflow execution on clusters.

Methods

The paper categorizes and compares existing methods for predicting workflow task runtime and memory usage. It identifies key characteristics for evaluating these methods, including:

  • General: Publication year, code availability, domain specificity.
  • Model: Prediction method (e.g., regression, neural networks), training time (offline, online, pre-execution), applicability to heterogeneous infrastructures, and GPU support.
  • Model Input: Hardware capacity, hardware performance, task input size, and task resource usage.
  • Evaluation: Workflow system used, number of workflows, and experiment type (real infrastructure, simulation).

The paper then reviews and analyzes numerous state-of-the-art approaches based on these characteristics, categorizing them into:

  • Offline Prediction: Models are trained on historical data before workflow execution.
  • Online Prediction: Models are updated and refined during workflow execution.
  • Pre-Execution Prediction: Models are built before execution using profiling without historical data.

Datasets

The paper does not introduce new datasets. Instead, it discusses how existing methods are evaluated using:

  • Real-world workflow executions: Traces gathered from actual runs on cluster infrastructures.
  • Simulations: Using traces from real executions or synthetic traces.

Commonly used workflow management systems for generating these traces include Pegasus and Nextflow.

Key Insights and Ideas

  • The critical role of accurate predictions: Inaccurate performance estimates are a major bottleneck, leading to either task failures or wasted resources, impacting overall workflow efficiency and throughput.
  • The shift towards automation: Manually estimating task performance is error-prone and time-consuming, highlighting the need for automated prediction methods.
  • Runtime vs. Memory Prediction: While both are important, the paper notes that many methods focus on one or the other, though some are beginning to address both.
  • Heterogeneity is a challenge: Many runtime prediction methods account for heterogeneous infrastructures, but this is less common for memory prediction, possibly due to the assumption of more stable memory consumption across different hardware.
  • Reproducibility is limited: A significant number of published methods do not make their source code or experimental setups publicly available, hindering reproducibility and reuse.
  • Simulation is prevalent for evaluation: Most methods are evaluated using simulations, likely due to the time and resource costs of running large-scale workflows on real systems. However, evaluating in real-world environments remains an important open research area.

Key Results

The paper provides a detailed comparison of nineteen state-of-the-art methods for runtime prediction and eleven for memory prediction. While specific quantitative results (e.g., percentage improvement in prediction accuracy) are presented for individual methods within their respective sections, the paper's primary contribution is the systematic overview and comparative analysis of these methods, rather than a single overarching quantitative result. It highlights that:

  • Runtime prediction: Many methods leverage machine learning (neural networks, regression) and consider various inputs like hardware characteristics, task input size, and resource usage. Some methods are designed for heterogeneous environments.
  • Memory prediction: A higher percentage of memory prediction methods make their source code available compared to runtime prediction. Most memory prediction methods operate online, adapting during execution. Error handling (adjusting predictions after a task failure) is a common and important feature.

Limitations and Future Work

The authors acknowledge several limitations and suggest future research directions:

  • Lack of GPU support: None of the reviewed runtime prediction methods specifically consider GPU execution, which is increasingly important for AI/ML applications.
  • Limited heterogeneity in memory prediction: While runtime prediction methods often handle heterogeneous infrastructures, memory prediction methods generally do not. Further research is needed if memory consumption varies significantly across different architectures.
  • Evaluation in real-world systems: Most methods are evaluated via simulations. There is a need to integrate and evaluate these methods in real execution environments to understand their performance and interactions with schedulers in live systems.
  • Reproducibility: The lack of publicly available source code and experimental setups limits the ability of other researchers to reproduce results and build upon existing work.
  • Domain specificity: While some methods are general, many are evaluated only for specific domains, suggesting a need for broader applicability.
  • Cost prediction focus: State-of-the-art methods for cost prediction and optimization predominantly focus on cloud environments, with less attention paid to shared cluster environments where costs are measured differently.
  • Accurate resource prediction assumption: Many advanced resource management techniques (scheduling, energy efficiency, cost prediction) rely on accurate resource predictions, an assumption that may not hold in real-world systems, leaving room for research that accounts for these uncertainties.

Summary updated

Abstract

Scientific workflow management systems support large-scale data analysis on cluster infrastructures. For this, they interact with resource managers which schedule workflow tasks onto cluster nodes. In addition to workflow task descriptions, resource managers rely on task performance estimates such as main memory consumption and runtime to efficiently manage cluster resources. Such performance estimates should be automated, as user-based task performance estimates are error-prone. In this book chapter, we describe key characteristics of methods for workflow task runtime and memory prediction, provide an overview and a detailed comparison of state-of-the-art methods from the literature, and discuss how workflow task performance prediction is useful for scheduling, energy-efficient and carbon-aware computing, and cost prediction.
BibTeX
@misc{bader2025predicting,
  author = {Jonathan Bader and Kathleen West and Sören Becker and Svetlana Kulagina and Fabian Lehmann and Lauritz Thamsen and Henning Meyerhenke and Odej Kao},
  title = {{Predicting the Performance of Scientific Workflow Tasks for Cluster Resource Management: An Overview of the State of the Art}},
  year = {2025},
  eprint = {2504.20867},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.20867},
}

Loading related content...

Figure