Skip to main content
QUICK REVIEW

[Paper Review] Machine Learning for Predictive Analytics of Compute Cluster Jobs

Dan Andresen, William Hsu|arXiv (Cornell University)|May 20, 2018
Data Stream Mining TechniquesComputer Science15 references9 citations
TL;DR

This paper proposes a supervised machine learning approach to predict HPC job failures due to insufficient memory or CPU allocation at submission time, using historical job logs from Kansas State University's Beocat cluster. The study demonstrates that classification models, particularly Gaussian Naive Bayes, achieve high accuracy in predicting resource-related job failures using features available at submission, enabling personalized feedback for improved resource estimation.

ABSTRACT

We address the problem of predicting whether sufficient memory and CPU resources have been requested for jobs at submission time. For this purpose, we examine the task of training a supervised machine learning system to predict the outcome - whether the job will fail specifically due to insufficient resources - as a classification task. Sufficiently high accuracy, precision, and recall at this task facilitates more anticipatory decision support applications in the domain of HPC resource allocation. Our preliminary results using a new test bed show that the probability of failed jobs is associated with information freely available at job submission time and may thus be usable by a learning system for user modeling that gives personalized feedback to users.

Motivation & Objective

  • To develop a machine learning system that predicts whether HPC jobs will fail due to insufficient CPU or memory allocation at submission time.
  • To improve HPC resource allocation by enabling anticipatory decision support through predictive analytics.
  • To build a test bed using real-world job logs from the Beocat HPC cluster to train and evaluate models on historical job behavior.
  • To explore user modeling by linking job failure patterns to user experience and demographic profiles for personalized feedback.
  • To assess the feasibility of using supervised learning to predict job resource usage and failure outcomes using only submission-time metadata.

Proposed method

  • Collected and processed historical job submission and monitoring logs from the Beocat HPC system, including job request parameters and actual resource usage.
  • Extracted features from job submissions such as requested CPU time, memory, number of cores, and user-specific historical behavior.
  • Applied supervised classification models (e.g., CART, Gaussian Naive Bayes, Random Forest) to predict job failure due to resource underestimation.
  • Used regression models (e.g., CART regression) to predict actual CPU and memory usage based on submission features.
  • Evaluated models using metrics like accuracy, precision, recall, and F1 score, with a focus on low inference time for production use.
  • Explored user clustering and social network modeling to detect communities of expertise and improve user profiling for personalized recommendations.

Experimental results

Research questions

  • RQ1Can machine learning models trained on historical job logs predict job failures due to insufficient resource allocation with high accuracy at submission time?
  • RQ2Which machine learning algorithms perform best in terms of accuracy, precision, and inference speed for classifying resource-related job failures?
  • RQ3To what extent can user-specific historical behavior (e.g., past failure rates) improve prediction performance?
  • RQ4How do different data distributions (e.g., non-linear CPU vs. linear memory usage) affect the choice of regression and classification models?
  • RQ5Can social network structures among users, based on job similarity and failure patterns, enhance predictive modeling and user feedback personalization?

Key findings

  • Gaussian Naive Bayes achieved the highest accuracy among classification models and was selected as the most efficient due to its low inference time.
  • CART regression effectively predicted CPU usage, which exhibited a non-linear distribution, but failed to predict memory usage accurately due to its nearly linear distribution.
  • No significant improvement in F1 score or accuracy was observed when adding per-user aggregate features, suggesting limited predictive power from current feature sets.
  • Incremental gains in R-squared were observed for CPU usage prediction with per-user features, indicating some marginal benefit.
  • The study found no strong, identifiable relationships between job failure and standard submission-time features, indicating that current data may lack sufficient predictive signals.
  • The results suggest the need for more advanced causal models such as Bayesian networks or graphical models to better capture user behavior and failure patterns.

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.