Tiered Scheduling and Cost‐Benefit‐Aware Speculation for Optimizing Spark in Heterogeneous Clusters

ABSTRACT In heterogeneous clusters, Apache Spark's task scheduling strategy does not account for node performance variations, which can lead to workload imbalance, while its straggler detection mechanism lacks heterogeneity awareness, potentially causing inaccurate straggler detection and unnecessary speculative execution. To address these issues, we propose Heterogeneity‐Aware Tiered Scheduling (HATS), which classifies nodes into performance tiers and assigns tasks to appropriate tiers according to their computational demands while respecting data locality. For speculative execution, we propose Cost‐Benefit‐Aware Speculative Execution (CBASE), which maintains node‐adaptive thresholds for straggler detection, uses an execution time model to prioritize stragglers that are most likely to delay job completion, and applies cost‐benefit analysis to determine whether speculative tasks should be launched. We implement both strategies in Spark 3.4.2 and evaluate them using representative benchmarks. Experimental results show that HATS reduces job completion time by 16.1%–25.1% and improves average CPU and memory utilization by 11.6% and 13.1%, respectively, compared with Spark's default scheduling strategy. CBASE reduces job completion time by 18.4%–22.3% and improves cluster throughput by 22.5%–28.8% compared with Spark's default speculative execution strategy.

Authors

Institutions

Publication Details

Journal
Concurrency and Computation Practice and Experience
Published
2026-06-26
DOI
https://doi.org/10.1002/cpe.70844
Primary Topic
Cloud Computing and Resource Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Tiered Scheduling and Cost‐Benefit‐Aware Speculation for Optimizing Spark in Heterogeneous Clusters

Xiaojin Ren, Junyang Yu, Hang Yuan, Yufei Ren et al.
Concurrency and Computation Practice and Experience
Cloud Computing and Resource Management
article

Tiered Scheduling and Cost‐Benefit‐Aware Speculation for Optimizing Spark in Heterogeneous Clusters

Xiaojin Ren, Junyang Yu, Hang Yuan, Yufei Ren, Weipeng Du
article en

Abstract

ABSTRACT In heterogeneous clusters, Apache Spark's task scheduling strategy does not account for node performance variations, which can lead to workload imbalance, while its straggler detection mechanism lacks heterogeneity awareness, potentially causing inaccurate straggler detection and unnecessary speculative execution. To address these issues, we propose Heterogeneity‐Aware Tiered Scheduling (HATS), which classifies nodes into performance tiers and assigns tasks to appropriate tiers according to their computational demands while respecting data locality. For speculative execution, we propose Cost‐Benefit‐Aware Speculative Execution (CBASE), which maintains node‐adaptive thresholds for straggler detection, uses an execution time model to prioritize stragglers that are most likely to delay job completion, and applies cost‐benefit analysis to determine whether speculative tasks should be launched. We implement both strategies in Spark 3.4.2 and evaluate them using representative benchmarks. Experimental results show that HATS reduces job completion time by 16.1%–25.1% and improves average CPU and memory utilization by 11.6% and 13.1%, respectively, compared with Spark's default scheduling strategy. CBASE reduces job completion time by 18.4%–22.3% and improves cluster throughput by 22.5%–28.8% compared with Spark's default speculative execution strategy.

Concurrency and Computation Practice and ExperienceVol. 38(13)
Henan University (CN)
Decent work and economic growth
Openalex Percentile: Top 3%
Cloud Computing and Resource Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.