Work

A Hybrid Approach to Cloud System Performance Bug Detection, Diagnosis and Fix.

Year: 2019
Type: article
Abstract: DAI, TING. A Hybrid Approach to Cloud System Performance Bug Detection, Diagnosis and Fix.(Under the direction of Xiaohui (Helen) Gu.) Server applications running inside production cloud infrastructures are prone to various performance problems (e.g., software hang, performance slowdown). When those problems occur, developers often have little clue to diagnose those problems. First, we present Hytrace, a novel hybrid approach to diagnosing performance problems in production cloud infrastructures. Hytrace combines rule-based static analysis and runtime inference techniques to achieve higher bug localization accuracy than pure-static and pure-dynamic approaches for performance bugs. Hytrace does not require source code and can be applied to both compiled and interpreted programs such as C/C++ and Java.We conduct experiments using real performance bugs from seven commonly used server applications in production cloud infrastructures. The results show that our approach can significantly improve the performance bug diagnosis accuracy compared to existing diagnosis techniques. Many performance problems happen in cloud server systems such as Hadoop and Cassandra are caused by data corruption. Software hang bugs make the system become unavailable to either part of or all of the users, which is one of the most severe performance problems production systems try to avoid. Generic approaches including Hytrace cannot detect the data-corruption induced software hang bugs. Thus, we present DScope, a tool that statically detects data-corruption related software hang bugs in cloud server systems.DScope statically analyzes I/O operations and loops in a software package, and identifies loops whose exit conditions can be affected by I/O operations through returned data, returned error code, or I/O exception handling. After identifying those loops which are prone to hang problems under data corruption, DScope conducts loop bound and loop stride analysis to prune out false positives. We have implemented DScope and evaluated it using 9 common cloud server systems. Our results show that DScope can detect 42 real software hang bugs including 29 newly discovered software hang bugs. In contrast, existing bug detection tools miss detecting most of those bugs. To correct those performance problems, especially the software hang bugs caused by data processing or inter-process communication failures in the cloud, we present an automatic fixing tool, HangFix. HangFix extracts commonly seen hang bug patterns and provides different patching strategies based on the identified bug patterns. HangFix is application-agnostic, which does not require any application source code or knowledge to produce the hang bug fix. We have implemented a prototype of HangFix and evaluated the system on 42 real-world software hang bugs in 10 people, whom I would like to acknowledge now. First and foremost, I would like to thank my advisor Dr. Xiaohui (Helen) Gu.Her passion about research, knowledge of cloud computing, and experience of industry pushed my limits and made me work much harder than I ever possibly could over the past several years.I truly enjoyed working with her and it is such an experience.I would like to thank Dr. Shan Lu for the guidance and advise she gave me in our cooperated projects. Her experience of static analysis and software bugs guided me to the right direction in my research.
Author: Ting Dai
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W2990540276
FWCI:
Cites: 72
Cited by: 1
Related to: 10