Cargando…

A Framework for Detecting System Performance Anomalies Using Tracing Data Analysis

Advances in technology and computing power have led to the emergence of complex and large-scale software architectures in recent years. However, they are prone to performance anomalies due to various reasons, including software bugs, hardware failures, and resource contentions. Performance metrics r...

Descripción completa

Detalles Bibliográficos
Autores principales: Kohyarnejadfard, Iman, Aloise, Daniel, Dagenais, Michel R., Shakeri, Mahsa
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8392060/
https://www.ncbi.nlm.nih.gov/pubmed/34441151
http://dx.doi.org/10.3390/e23081011
_version_ 1783743417713426432
author Kohyarnejadfard, Iman
Aloise, Daniel
Dagenais, Michel R.
Shakeri, Mahsa
author_facet Kohyarnejadfard, Iman
Aloise, Daniel
Dagenais, Michel R.
Shakeri, Mahsa
author_sort Kohyarnejadfard, Iman
collection PubMed
description Advances in technology and computing power have led to the emergence of complex and large-scale software architectures in recent years. However, they are prone to performance anomalies due to various reasons, including software bugs, hardware failures, and resource contentions. Performance metrics represent the average load on the system and do not help discover the cause of the problem if abnormal behavior occurs during software execution. Consequently, system experts have to examine a massive amount of low-level tracing data to determine the cause of a performance issue. In this work, we propose an anomaly detection framework that reduces troubleshooting time, besides guiding developers to discover performance problems by highlighting anomalous parts in trace data. Our framework works by collecting streams of system calls during the execution of a process using the Linux Trace Toolkit Next Generation(LTTng), sending them to a machine learning module that reveals anomalous subsequences of system calls based on their execution times and frequency. Extensive experiments on real datasets from two different applications (e.g., MySQL and Chrome), for varying scenarios in terms of available labeled data, demonstrate the effectiveness of our approach to distinguish normal sequences from abnormal ones.
format Online
Article
Text
id pubmed-8392060
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-83920602021-08-28 A Framework for Detecting System Performance Anomalies Using Tracing Data Analysis Kohyarnejadfard, Iman Aloise, Daniel Dagenais, Michel R. Shakeri, Mahsa Entropy (Basel) Article Advances in technology and computing power have led to the emergence of complex and large-scale software architectures in recent years. However, they are prone to performance anomalies due to various reasons, including software bugs, hardware failures, and resource contentions. Performance metrics represent the average load on the system and do not help discover the cause of the problem if abnormal behavior occurs during software execution. Consequently, system experts have to examine a massive amount of low-level tracing data to determine the cause of a performance issue. In this work, we propose an anomaly detection framework that reduces troubleshooting time, besides guiding developers to discover performance problems by highlighting anomalous parts in trace data. Our framework works by collecting streams of system calls during the execution of a process using the Linux Trace Toolkit Next Generation(LTTng), sending them to a machine learning module that reveals anomalous subsequences of system calls based on their execution times and frequency. Extensive experiments on real datasets from two different applications (e.g., MySQL and Chrome), for varying scenarios in terms of available labeled data, demonstrate the effectiveness of our approach to distinguish normal sequences from abnormal ones. MDPI 2021-08-03 /pmc/articles/PMC8392060/ /pubmed/34441151 http://dx.doi.org/10.3390/e23081011 Text en © 2021 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Kohyarnejadfard, Iman
Aloise, Daniel
Dagenais, Michel R.
Shakeri, Mahsa
A Framework for Detecting System Performance Anomalies Using Tracing Data Analysis
title A Framework for Detecting System Performance Anomalies Using Tracing Data Analysis
title_full A Framework for Detecting System Performance Anomalies Using Tracing Data Analysis
title_fullStr A Framework for Detecting System Performance Anomalies Using Tracing Data Analysis
title_full_unstemmed A Framework for Detecting System Performance Anomalies Using Tracing Data Analysis
title_short A Framework for Detecting System Performance Anomalies Using Tracing Data Analysis
title_sort framework for detecting system performance anomalies using tracing data analysis
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8392060/
https://www.ncbi.nlm.nih.gov/pubmed/34441151
http://dx.doi.org/10.3390/e23081011
work_keys_str_mv AT kohyarnejadfardiman aframeworkfordetectingsystemperformanceanomaliesusingtracingdataanalysis
AT aloisedaniel aframeworkfordetectingsystemperformanceanomaliesusingtracingdataanalysis
AT dagenaismichelr aframeworkfordetectingsystemperformanceanomaliesusingtracingdataanalysis
AT shakerimahsa aframeworkfordetectingsystemperformanceanomaliesusingtracingdataanalysis
AT kohyarnejadfardiman frameworkfordetectingsystemperformanceanomaliesusingtracingdataanalysis
AT aloisedaniel frameworkfordetectingsystemperformanceanomaliesusingtracingdataanalysis
AT dagenaismichelr frameworkfordetectingsystemperformanceanomaliesusingtracingdataanalysis
AT shakerimahsa frameworkfordetectingsystemperformanceanomaliesusingtracingdataanalysis