Skip to content
Open access

Predicting Runtime in Spark‐Like Systems With Allocation‐Aware Deterministic Models

Aug 2026 · Software, Practice & Experience · 0 citations · 8 references

TL;DR

This work presents the first deterministic approach for modeling Spark application execution time under dynamic executor allocation, and the proposed models are lightweight, interpretable, and require minimal input data, offering a practical alternative for performance prediction and resource optimization in distributed data‐processing systems.

Abstract

Apache Spark is widely used for distributed data processing, but accurately predicting application execution time remains challenging because performance depends on application structure, resource configuration, and executor‐allocation behavior. This article presents two deterministic, graph‐based simulation models for predicting the execution time of Spark applications under static and dynamic executor allocation. The first model, the Static Allocation Model (SAM), represents an application as a monolithic directed acyclic graph (DAG) of stages and simulates execution using Spark's scheduling behavior under a fixed number of executor cores. To capture more realistic execution environments, this framework is extended to a Dynamic Allocation Model (DAM), which accounts for runtime changes in executor resources using backlog‐time and idle‐time thresholds. DAM dynamically adjusts executor allocation during execution and integrates these changes within the deterministic scheduling framework. Validation of SAM on three TPC‐DS benchmark queries—Query‐64, Query‐26, and Query‐52—yielded prediction errors of 2.9%, 4.3%, and 0.4%, respectively, with a mean absolute error of 2.5%. Experimental evaluation of DAM on TPC‐DS Query‐52 and the SparkBench K‐Means workload yielded prediction errors of 5% and 4.7%, respectively. To the best of our knowledge, this work presents the first deterministic approach for modeling Spark application execution time under dynamic executor allocation. The proposed models are lightweight, interpretable, and require minimal input data, offering a practical alternative for performance prediction and resource optimization in distributed data‐processing systems.

Read PDF

Similar papers

Book Open access Sep 2026

Execution-Driven Auto-Tuning of Static Schedules for Resource-Efficient HPC

Task-based HPC runtimes are typically tuned under a performance-first requirement with the assumption that the fastest configuration requires all available cores. This paper asks whether that assumption holds, and whether high performance can be achieved with fewer resources. We study this question using SWITCHES, a ta...

Hui-Min Zhang, Andreas Diavastos · 0 citations
Preprint Sep 2026

RASER: Resilient Agent Scheduling and Execution Runtime for HPC Clusters

RASER is presented, a user-space framework that enables seamless execution of agentic workflows on production HPC clusters by extending Slurm's internal primitives and provides resilience against preemption and failures while maintaining minimal checkpoint/restore overhead.

Sima Attar-Khorasani, Matthias Lieber, Siavash Ghiasvand · 1 citation
Preprint Aug 2026

PeakBench: Benchmarking Resource-Aware Tool Invocation in LLM Agents

PeakBench is a benchmark of executable multi-tool workflows with execution-grounded dependency annotations and measured resource profiles that shows that strong logical planning does not reliably translate into safe or efficient execution under resource constraints, and exposes resource information to reduce avoidable...

Zhi-Kai Chen, Xu-Xiang Zhong, Song-Yan Li et al. · 2 citations

Cold start performance optimization in serverless computing platforms

This paper analyzes the main influencing factors related to the formation mechanism and optimization path of cold starts, focusing on code download, instance startup, runtime initialization, and user code initialization, and summarizes methods such as container reuse, snapshot recovery, warm-up and elastic scaling, int...

Chen-Ye Kang · 0 citations
Preprint Aug 2026

A Smallest-Need-First Job Scheduling Framework with Adaptive Optimization of Idle Node Counts for Energy-Efficient HPC Systems

SNF-ICON is presented, an event-driven controller combining smallest-need-first (SNF) gang scheduling, predictive wake timing, and adaptive warm-spare control that reduces average waiting time relative to the FCFS-based baseline in all six cases and remains close to at least one heuristic energy baseline in five.

Reza Pulungan, Raka Satya Prasasta, Santana Yuda Pradata et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.