[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/3697090.3699798acmotherconferencesArticle/Chapter ViewAbstractPublication PagesladcConference Proceedingsconference-collections
Work in Progress

Comparison of Machine Learning Algorithms for Detecting Software Aging in SQL Server

Published: 10 December 2024 Publication History

Abstract

Software aging is a phenomenon characterized by the progressive degradation of system performance, resulting from the accumulation of internal erros, such as memory leaks and resource exhaustion. Efficient detection of this process is essential to prevent critical failures in production environments. Although several studies use Machine Learning (ML) algorithms to detect software aging, systematic comparison between these algorithms is still limited, especially in terms of their ability to predict resource exhaustion. This paper aims to fill this gap by comparing ML algorithms for detecting software aging, focusing on RAM memory exhaustion as the main indicator. The analysis was conducted using a dataset on RAM memory usage in SQL Server, applying the algorithms K-Nearest Neighbors (KNN), Support Vector Machine (SVM), and Random Forest (RF). The performance of the models was evaluated using the metrics Mean Absolute Error (MAE), Root Mean Square Error (RMSE) and coefficient of determination (R2). Based on these indicators, it was possible to identify the most accurate algorithm and predict the time until memory exhaustion.

References

[1]
Ermeson Andrade, Roberto Pietrantuono, Fumio Machida, and Domenico Cotroneo. 2021. A comparative analysis of software aging in image classifiers on cloud and edge. IEEE Transactions on Dependable and Secure Computing 20, 1 (2021), 563–573.
[2]
Gérard Biau and Erwan Scornet. 2016. A random forest guided tour. Test 25 (2016), 197–227.
[3]
Richard G Brereton and Gavin R Lloyd. 2010. Support vector machines for classification and regression. Analyst 135, 2 (2010), 230–267.
[4]
Herderson Couto, Ermeson Andrade, Francisco Airton Silva, and Gustavo Callou. 2023. Analysis of Software Aging in a Database Environment. IEEE Latin America Transactions 21, 7 (2023), 821–828.
[5]
Herderson Couto, Fumio Machida, Gustavo Callou, and Ermeson Andrade. 2024. A Comparative Analysis of Software Aging in Relational Database System Environments. IEEE Transactions on Emerging Topics in Computing (2024), 1–12.
[6]
Matthew J Cracknell and Anya M Reading. 2014. Geological mapping using remote sensing data: A comparison of five machine learning algorithms, their response to variations in the spatial distribution of training data and the use of explicit spatial information. Computers & Geosciences 63 (2014), 22–33.
[7]
Steve R Gunn. 1998. Support Vector Machines for Classification and Regression. (1998).
[8]
Zeming Hao and Jing Liu. 2020. GAN-ASD: Precise software aging state detection for Android system based on BEGAN model and state clustering. In 2020 20th IEEE/ACM International Symposium on Cluster, Cloud and Internet Computing (CCGRID). IEEE, 212–221.
[9]
Timothy O Hodson. 2022. Root mean square error (RMSE) or mean absolute error (MAE): When to use them or not. Geoscientific Model Development Discussions 2022 (2022), 1–10.
[10]
Shouyu Huo, Dongdong Zhao, Xing Liu, Jianwen Xiang, Yingshou Zhong, and Haiguo Yu. 2018. Using machine learning for software aging detection in Android system. In 2018 Tenth International Conference on Advanced Computational Intelligence (ICACI). IEEE, 741–746.
[11]
Shiqing Jia, Chunyan Hou, and Jinsong Wang. [n. d.]. Software aging analysis and prediction in a web server based on multiple linear regression algorithm. In 2017 IEEE 9th International Conference on Communication Software and Networks (ICCSN).
[12]
Diane Kiernan. 2014. Chapter 7: correlation and simple linear regression. Open SUNY Textbooks (2014).
[13]
Scikit learn Developers. 2024. scikit-learn: Machine Learning in Python. https://scikit-learn.org/stable/modules/neighbors.html#nearest-neighbors-regression
[14]
Joseph W McKean and Gerald L Sievers. 1987. Coefficients of determination for least absolute deviation analysis. Statistics & Probability Letters 5, 1 (1987), 49–54.
[15]
A Ian McLeod. 2005. Kendall rank correlation and Mann-Kendall trend test. R package Kendall 602 (2005), 1–10.
[16]
Derrick Mwiti. 2023. Random Forest Regression: When Does It Fail and Why?https://neptune.ai/blog/random-forest-regression-when-does-it-fail-and-why
[17]
Shruthi Parashivamurthy and Nagaraj Girish Cholli. 2023. Software aging prediction-a new approach. International Journal of Electrical & Computer Engineering (2088-8708) 13, 2 (2023).
[18]
Fangyun Qin, Xiaohui Wan, and Beibei Yin. 2020. An empirical study of factors affecting cross-project aging-related bug prediction with TLAP. Software Quality Journal 28 (2020), 107–134.
[19]
Fangyun Qin, Zheng Zheng, Yu Qiao, and Kishor S Trivedi. 2018. Studying aging-related bug prediction using cross-project models. IEEE Transactions on Reliability 68, 3 (2018), 1134–1153.
[20]
Mohammad Rafiuzzaman, Julien Gascon-Samson, Karthik Pattabiraman, and Sathish Gopalakrishnan. 2019. Failure prediction in the internet of things due to memory exhaustion. In Proceedings of the 34th ACM/SIGAPP Symposium on Applied Computing. 292–301.
[21]
Proddutur Shruthi and Nagaraj G. Cholli. 2020. An analysis of software aging in cloud environment. International Journal of Electrical and Computer Engineering 10 (2020), 5985–5991. https://api.semanticscholar.org/CorpusID:229487928
[22]
Kishor S Trivedi, Michael Grottke, and Ermeson Andrade. 2010. Software fault mitigation and availability assurance techniques. International Journal of System Assurance Engineering and Management 1 (2010), 340–350.
[23]
IM Umesh and GN Srinivasan. 2016. Optimum software aging prediction and rejuvenation model for virtualized environment. Indonesian Journal of Electrical Engineering and Computer Science 3, 3 (2016), 572–578.
[24]
I M Umesh, Dr. Srinivasan G N, and R B Varma. 2017. Machine Learning Framework for Software Aging Forecasting.
[25]
I. M. Umesh, G. N. Srinivasan, and R. B. Ravi Varma. 2017. Machine Learning Framework for Software Aging Forecasting. In The Sixth Intl. Conf. On Advances In Computing, Control And Networking - ACCN 2017.
[26]
Moona Yakhchi, Javier Alonso, Mahdi Fazeli, Amir Akhavan Bitaraf, and Ahmad Patooqhy. 2015. Neural network based approach for time to crash prediction to cope with software aging. Journal of Systems Engineering and Electronics 26, 2 (2015), 407–414.
[27]
Yongquan Yan and Ping Guo. 2016. A Practice Guide of Software Aging Prediction in a Web Server Based on Machine Learning. China Communications (2016), 225.

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Other conferences
LADC '24: Proceedings of the 13th Latin-American Symposium on Dependable and Secure Computing
November 2024
283 pages
ISBN:9798400717406
DOI:10.1145/3697090
Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the owner/author(s).

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 10 December 2024

Check for updates

Author Tags

  1. Software Aging Detection
  2. Machine Learning
  3. Memory Exhaustion.

Qualifiers

  • Work in progress

Conference

LADC 2024

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 14
    Total Downloads
  • Downloads (Last 12 months)14
  • Downloads (Last 6 weeks)11
Reflects downloads up to 28 Jan 2025

Other Metrics

Citations

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Full Text

View this article in Full Text.

Full Text

HTML Format

View this article in HTML Format.

HTML Format

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media