Predicting Performance Anomalies in Software Systems at Run-time

Author:

Zhao Guoliang1ORCID,Hassan Safwat2,Zou Ying3,Truong Derek4,Corbin Toby5

Affiliation:

1. School of Computing, Queen’s University, Canada

2. Department of Engineering, Thompson Rivers University, Canada

3. Department of Electrical and Computer Engineering, Canada

4. IBM, Canada

5. IBM, United Kingdom

Abstract

High performance is a critical factor to achieve and maintain the success of a software system. Performance anomalies represent the performance degradation issues (e.g., slowing down in system response times) of software systems at run-time. Performance anomalies can cause a dramatically negative impact on users’ satisfaction. Prior studies propose different approaches to detect anomalies by analyzing execution logs and resource utilization metrics after the anomalies have happened. However, the prior detection approaches cannot predict the anomalies ahead of time; such limitation causes an inevitable delay in taking corrective actions to prevent performance anomalies from happening. We propose an approach that can predict performance anomalies in software systems and raise anomaly warnings in advance. Our approach uses a Long-Short Term Memory neural network to capture the normal behaviors of a software system. Then, our approach predicts performance anomalies by identifying the early deviations from the captured normal system behaviors. We conduct extensive experiments to evaluate our approach using two real-world software systems (i.e., Elasticsearch and Hadoop). We compare the performance of our approach with two baselines. The first baseline is one state-to-the-art baseline called Unsupervised Behavior Learning. The second baseline predicts performance anomalies by checking if the resource utilization exceeds pre-defined thresholds. Our results show that our approach can predict various performance anomalies with high precision (i.e., 97–100%) and recall (i.e., 80–100%), while the baselines achieve 25–97% precision and 93–100% recall. For a range of performance anomalies, our approach can achieve sufficient lead times that vary from 20 to 1,403 s (i.e., 23.4 min). We also demonstrate the ability of our approach to predict the performance anomalies that are caused by real-world performance bugs. For predicting performance anomalies that are caused by real-world performance bugs, our approach achieves 95–100% precision and 87–100% recall, while the baselines achieve 49–83% precision and 100% recall. The obtained results show that our approach outperforms the existing anomaly prediction approaches and is able to predict performance anomalies in real-world systems.

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference72 articles.

1. Amazon. [n.d.]. Amazon EC2 Instance Types. Retrieved from https://aws.amazon.com/ec2/instance-types/. Amazon. [n.d.]. Amazon EC2 Instance Types. Retrieved from https://aws.amazon.com/ec2/instance-types/.

2. Apache. [n.d.]. Apache Hadoop RandomTextWriter application. Retrieved from https://hadoop.apache.org/docs/r1.2.1/api/org/apache/hadoop/examples/RandomTextWriter.html. Apache. [n.d.]. Apache Hadoop RandomTextWriter application. Retrieved from https://hadoop.apache.org/docs/r1.2.1/api/org/apache/hadoop/examples/RandomTextWriter.html.

3. Apache. [n.d.]. Apache Hadoop System. Retrieved from http://hadoop.apache.org/. Apache. [n.d.]. Apache Hadoop System. Retrieved from http://hadoop.apache.org/.

Cited by 16 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Revealing inputs causing web API performance latency using response-time-guided genetic algorithm fuzzing;Artificial Life and Robotics;2024-08-02

2. RADig-X: a Tool for Regressions Analysis of User Digital Experience;2024 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER);2024-03-12

3. Why and how bug blocking relations are breakable: An empirical study on breakable blocking bugs;Information and Software Technology;2024-02

4. AltOOM: A Data-driven Out of Memory Root Cause Identification Strategy;2023 IEEE International Conference on Big Data (BigData);2023-12-15

5. FSFP: A Fine-Grained Online Service System Performance Fault Prediction Method Based on Cross-attention;2023 30th Asia-Pacific Software Engineering Conference (APSEC);2023-12-04

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3