Skip to main content
QUICK REVIEW

[Paper Review] Predicting Scheduling Failures in the Cloud

Mbarka Soualhia, Foutse Khomh|PolyPublie (École Polytechnique de Montréal)|Jul 13, 2015
Cloud Computing and Resource ManagementComputer Science24 references6 citations
TL;DR

This paper proposes a statistical failure prediction model using historical task and resource utilization data from Google's cloud clusters to proactively identify scheduling failures before they occur. By applying Random Forest to predict task outcomes with 97.4% precision and 96.2% recall, the approach enables early rescheduling, reducing job failures by up to 40% in simulations and decreasing Hadoop job failures by 45% with under 5 minutes of overhead.

ABSTRACT

Cloud Computing has emerged as a key technology to deliver and manage computing, platform, and software services over the Internet. Task scheduling algorithms play an important role in the efficiency of cloud computing services as they aim to reduce the turnaround time of tasks and improve resource utilization. Several task scheduling algorithms have been proposed in the literature for cloud computing systems, the majority relying on the computational complexity of tasks and the distribution of resources. However, several tasks scheduled following these algorithms still fail because of unforeseen changes in the cloud environments. In this paper, using tasks execution and resource utilization data extracted from the execution traces of real world applications at Google, we explore the possibility of predicting the scheduling outcome of a task using statistical models. If we can successfully predict tasks failures, we may be able to reduce the execution time of jobs by rescheduling failed tasks earlier (i.e., before their actual failing time). Our results show that statistical models can predict task failures with a precision up to 97.4%, and a recall up to 96.2%. We simulate the potential benefits of such predictions using the tool kit GloudSim and found that they can improve the number of finished tasks by up to 40%. We also perform a case study using the Hadoop framework of Amazon Elastic MapReduce (EMR) and the jobs of a gene expression correlations analysis study from breast cancer research. We find that when extending the scheduler of Hadoop with our predictive models, the percentage of failed jobs can be reduced by up to 45%, with an overhead of less than 5 minutes.

Motivation & Objective

  • To investigate the frequency and characteristics of task and job failures in cloud environments, particularly in Google's production clusters.
  • To determine whether scheduling outcomes can be predicted using historical execution and resource utilization data from cloud logs.
  • To evaluate the performance benefits of integrating failure prediction into task schedulers, such as reduced execution time and increased job completion rates.
  • To demonstrate the practical feasibility and impact of predictive rescheduling in real-world cloud frameworks like Hadoop on Amazon EMR.

Proposed method

  • Extracted task and job attributes, including execution time, scheduling time, resource usage, machine workload, and scheduling constraints from Google's production trace data.
  • Identified failed tasks and jobs using status indicators such as 'Failed', 'Evicted', 'Lost', or 'Killed' in the log files.
  • Mapped task-level failures to job-level outcomes to analyze cascading failure effects across dependent tasks.
  • Trained and evaluated multiple statistical models—Decision Tree, Boost, GLM, CTree, Random Forest, and Neural Network—on the extracted features to predict scheduling outcomes.
  • Integrated the best-performing model (Random Forest) into GloudSim and Hadoop schedulers to simulate early rescheduling of predicted failures.
  • Measured performance improvements using metrics such as number of finished tasks, job completion rates, and execution time reduction in both simulation and real-world deployment.

Experimental results

Research questions

  • RQ1How often are scheduled tasks or jobs failed, evicted, lost, or killed in cloud environments?
  • RQ2Can scheduling outcomes be predicted using cluster log files and historical execution data?
  • RQ3What performance benefits can be achieved by predicting scheduling failures and enabling early rescheduling?
  • RQ4How does integrating failure prediction into real-world schedulers like Hadoop affect job completion and system overhead?

Key findings

  • 42% of jobs and 40% of tasks in the Google dataset were not completed successfully, with failures often linked to long waiting and execution times.
  • The Random Forest model achieved a precision of 97.4% and a recall of 96.2% in predicting task scheduling failures, outperforming other models including Neural Networks.
  • In GloudSim simulations, the prediction-based rescheduling approach increased the number of finished tasks by up to 40% and reduced execution time.
  • When deployed on Hadoop via Amazon EMR, the predictive scheduler reduced job failures by up to 45% with less than 5 minutes of additional overhead.
  • The study demonstrates that proactive failure prediction and rescheduling significantly improve cloud system reliability and efficiency.
  • The results suggest that integrating failure prediction into cloud schedulers can enhance QoS without incurring prohibitive performance costs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.