Enhancing SJF and SRTF CPU Scheduling Through Machine Learning-Based Burst Time Prediction: A Comparative Study

Authors

  • Haffiz-Ud-Din Department of Research and Development, Gilgit-Baltistan First Research Center, Binary HUB, Gilgit-Baltistan, Pakistan Author https://orcid.org/0009-0005-3377-8454
  • Musharraf Ali Department of Research and Development, Gilgit-Baltistan First Research Center, Binary HUB, Gilgit-Baltistan, Pakistan Author
  • Anzal Hussain Department of Research and Development, Gilgit-Baltistan First Research Center, Binary HUB, Gilgit-Baltistan, Pakistan Author

DOI:

https://doi.org/10.57041/n0j0jg02

Keywords:

CPU Scheduling, Burst Time Prediction, Machine Learning, SJF, SRTF, Gradient Boosting, Regression Models

Abstract

Accurate prediction of CPU burst time is essential for effective process scheduling, particularly in Shortest Job First (SJF) and Shortest Remaining Time First (SRTF) algorithms. Traditional estimation techniques, such as exponential averaging, can produce substantial prediction errors, resulting in inefficient scheduling, increased waiting and turnaround times, and reduced system throughput. Although machine learning (ML) approaches have recently been investigated for CPU burst time prediction, existing studies are often limited by small datasets, restricted model comparisons, inadequate preprocessing, and insufficiently reproducible implementation frameworks. This study addresses these limitations by developing a comprehensive ML-based framework for CPU burst time prediction using a large-scale real-world workload dataset containing more than 404,000 processes and 29 features.

The proposed framework evaluates a broad range of supervised regression algorithms, including Linear Regression, Ridge, Lasso, ElasticNet, Decision Tree, Random Forest, Gradient Boosting, AdaBoost, XGBoost, LightGBM, K-Nearest Neighbors, Support Vector Regression, and Multi-Layer Perceptron. The experimental pipeline incorporates exploratory data analysis, strict train-test separation to prevent data leakage, missing-value imputation, outlier capping, categorical encoding, feature engineering, and standardized performance evaluation using R², adjusted R², RMSE, MAE, and MAPE.

Experimental results demonstrate that gradient-boosting approaches substantially outperform conventional and alternative ML models. XGBoost achieved the best performance, attaining a test R² of 0.872, RMSE of 487.3 s, MAE of 196.5 s, and MAPE of 14.2%, compared with approximately 0.70 R² and 30% MAPE for linear baselines. LightGBM achieved a comparable R² of 0.868 while reducing training time by 43%. Feature importance analysis identified AverageCPUTimeUsed, ReqTime, UsedMemory, and NProcs as the dominant predictors, collectively contributing more than 74% of predictive power. The findings indicate strong potential for integrating ML-based burst time prediction into SJF and SRTF scheduling. However, scheduler-level simulations and validation across diverse workload environments are required to quantify actual improvements in waiting time, turnaround time, and throughput.

Author Biography

  • Haffiz-Ud-Din, Department of Research and Development, Gilgit-Baltistan First Research Center, Binary HUB, Gilgit-Baltistan, Pakistan

    I’m an AI/DS practitioner committed to building trustworthy, end-to-end machine learning systems that create real-world impact. My focus is on clear problem framing, careful data curation, robust modeling, and rigorous evaluation—paired with reproducibility, ethics, and continuous learning.

    Areas I’m passionate about include medical AI and clinical decision support, perception and tracking for autonomous systems, multimodal learning with geospatial context, and scientific ML such as protein classification. I also enjoy applying ML to systems analytics and performance modeling. Beyond building models, I value mentoring, collaborative research, and communicating results with clarity.

    I’m motivated by meaningful problems, disciplined execution, and steady improvement. Open to collaborations and roles where rigorous ML, careful experimentation, and responsible deployment are core values.

Downloads

Published

2026-09-12

Issue

Section

Emerging Trends in Artificial Intelligence, Multidisciplinary Engineering, Health and Smart Technologies

How to Cite

Enhancing SJF and SRTF CPU Scheduling Through Machine Learning-Based Burst Time Prediction: A Comparative Study. (2026). International Journal of Emerging Engineering and Technology, 5(1-2), 28-45. https://doi.org/10.57041/n0j0jg02

Similar Articles

21-30 of 34

You may also start an advanced similarity search for this article.