[Paper Review] A Simulator for Data-Intensive Job Scheduling
This paper proposes a simulation-based evaluation of size-based job schedulers in data-intensive batch systems, where job sizes are estimated rather than known exactly. Despite significant estimation errors (log-normal distribution with σ=1), the FSP+PS scheduler consistently outperforms FIFO and fair sharing, reducing mean sojourn times by orders of magnitude and demonstrating strong robustness to imprecise size predictions.
Despite the fact that size-based schedulers can give excellent results in terms of both average response times and fairness, data-intensive computing execution engines generally do not employ size-based schedulers, mainly because of the fact that job size is not known a priori. In this work, we perform a simulation-based analysis of the performance of size-based schedulers when they are employed with the workload of typical data-intensive schedules and with approximated size estimations. We show results that are very promising: even when size estimation is very imprecise, response times of size-based schedulers can be definitely smaller than those of simple scheduling techniques such as processor sharing or FIFO.
Motivation & Objective
- To assess the feasibility and performance of size-based schedulers in data-intensive batch workloads where job size is not known a priori.
- To evaluate how size estimation errors impact scheduling performance, particularly in terms of mean sojourn time and fairness.
- To compare the effectiveness of different scheduling strategies—FIFO, processor sharing (PS), FSP, and hybrid FSP+PS—under realistic workload traces and estimation uncertainty.
- To provide empirical evidence supporting the design of the HFSP Hadoop scheduler, using simulation results to guide real-world deployment.
- To analyze the sensitivity of scheduling performance to system load and the d/n parameter, which controls job size distribution.
Proposed method
- The authors developed a custom Python-based simulator using numpy and matplotlib, abstracting away low-level execution engine details to focus on scheduling logic.
- Jobs are modeled as (arrival time, execution time) pairs, with execution times drawn from real Hadoop workload traces (FB09-0, FB09-1, FB10).
- Size estimation errors are modeled using a log-normal distribution: estimated size ŝ = sX, where X ~ Log-N(0, σ²), allowing controlled error levels.
- The simulator implements standard schedulers: FIFO, processor sharing (PS), shortest-remaining-processing-time (SRPT), and fair size-based policy (FSP), including hybrid variants like FSP+PS and FSP+FIFO.
- Performance is evaluated using mean sojourn time (time from submission to completion), with results averaged across multiple simulation runs to ensure stability.
- The simulation evaluates three key system parameters: load (l), estimation error (σ), and the d/n parameter, which controls the skew of job size distributions.
Experimental results
Research questions
- RQ1How do size-based schedulers perform under realistic data-intensive workloads when job sizes are estimated rather than known exactly?
- RQ2What is the impact of size estimation error (modeled as log-normal distribution) on mean sojourn time and fairness in batch job scheduling?
- RQ3How does the FSP+PS scheduler compare to FIFO, PS, and FSP+FIFO in terms of response time and robustness to estimation errors?
- RQ4How does system load affect the performance gap between size-based and non-size-based schedulers?
- RQ5What is the sensitivity of scheduling performance to the d/n parameter, which controls the shape of the job size distribution?
Key findings
- Even with high estimation error (σ=1), where over 50% of estimates are off by a factor of 2 or more, the FSP+PS scheduler consistently reduces mean sojourn time by orders of magnitude compared to FIFO.
- FSP+PS significantly outperforms both PS and FIFO across all three Hadoop traces (FB09-0, FB09-1, FB10), especially under high load and estimation error.
- The FSP+FIFO scheduler shows high variance and occasional outlier performance due to severe underestimation, where long jobs are scheduled too early and block progress.
- FSP and SRPT perform nearly identically in the absence of estimation errors, confirming that FSP’s fairness guarantee comes at negligible cost in mean sojourn time.
- As system load increases beyond 1.0, performance differences between schedulers shrink, suggesting diminishing returns for size-based policies under extreme congestion.
- The d/n parameter has minimal impact on overall performance, indicating that scheduling outcomes are robust to variations in job size distribution skew.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.