Open Access iconOpen Access

ARTICLE

Analysis and Prediction of Real-Time Memory and Processor Usage Using Artificial Intelligence (AI)

Kadriye Simsek Alan*, Ayca Durgut, Helin Doga Demirel

Department of Mathematical Engineering, Faculty of Chemical and Metallurgical Engineering, Yildiz Technical University, Istanbul, 34220, Turkey

* Corresponding Author: Kadriye Simsek Alan. Email: email

Journal on Artificial Intelligence 2025, 7, 397-415. https://doi.org/10.32604/jai.2025.071133

Abstract

Efficient utilization of processor and memory resources is essential for sustaining performance and energy efficiency in modern computing infrastructures. While earlier research has emphasized CPU utilization forecasting, joint prediction of CPU and memory usage under real workload conditions remains underexplored. This study introduces a machine learning–based framework for real-time prediction of CPU and RAM utilization using the Google Cluster Trace 2019 v3 dataset. The framework combines Extreme Gradient Boosting (XGBoost) with a MultiOutputRegressor (MOR) to capture nonlinear interactions across multiple resource dimensions, supported by a leakage-safe imputation strategy that prevents bias from missing values. Nested cross-validation was employed to ensure rigorous evaluation and reproducibility. Experiments demonstrated that memory usage can be predicted with higher accuracy and stability than processor usage. Residual error analysis revealed balanced error distributions and very low outlier rates, while regime-based evaluations confirmed robustness across both low and high utilization scenarios. Feature ablation consistently highlighted the central role of page cache memory, which significantly affected predictive performance for both CPU and RAM. Comparisons with baseline models such as linear regression and random forest further underscored the superiority of the proposed approach. To assess adaptability, an online prequential learning pipeline was deployed to simulate continuous operation. The system preserved offline accuracy while dynamically adapting to workload changes. It achieved stable performance with extremely low update latencies, confirming feasibility for deployment in environments where responsiveness and scalability are critical. Overall, the findings demonstrate that simultaneous modeling of CPU and RAM utilization enhances forecasting accuracy and provides actionable insights for cache management, workload scheduling, and dynamic resource allocation. By bridging offline evaluation with online adaptability, the proposed framework offers a practical solution for intelligent and sustainable cloud resource management.

Keywords

Machine learning; artificial intelligence (AI); random access memory (RAM); central processing unit (CPU); performance analysis

Cite This Article

APA Style
Alan, K.S., Durgut, A., Demirel, H.D. (2025). Analysis and Prediction of Real-Time Memory and Processor Usage Using Artificial Intelligence (AI). Journal on Artificial Intelligence, 7(1), 397–415. https://doi.org/10.32604/jai.2025.071133
Vancouver Style
Alan KS, Durgut A, Demirel HD. Analysis and Prediction of Real-Time Memory and Processor Usage Using Artificial Intelligence (AI). J Artif Intell. 2025;7(1):397–415. https://doi.org/10.32604/jai.2025.071133
IEEE Style
K. S. Alan, A. Durgut, and H. D. Demirel, “Analysis and Prediction of Real-Time Memory and Processor Usage Using Artificial Intelligence (AI),” J. Artif. Intell., vol. 7, no. 1, pp. 397–415, 2025. https://doi.org/10.32604/jai.2025.071133



cc Copyright © 2025 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 352

    View

  • 157

    Download

  • 0

    Like

Share Link