WuKong: Automatically Detecting and Localizing Bugs that Manifest at Large System Scales

Bowen Zhou, Jonathan Too, Milind Kulkarni, and Saurabh Bagchi

HPDC 2013 · Symposium on High Performance Parallel and Distributed Computing · June 2013 · pp. 131-142

Acceptance rate 15%

Abstract

A key challenge in developing large scale applications is finding bugs that are latent at the small scales of testing, but manifest themselves when the application is deployed at a large scale. Here, we ascribe a dual meaning to “large scale”—it could mean a large number of executing processes or applications ingesting large amounts of input data (or both). Traditional statistical techniques fail to detect or diagnose such kinds of bugs because no error-free run is available at the large deployment scales for training purposes. Prior work used scaling models to detect anomalous behavior at large scales without training on correct behavior at that scale. However, that work cannot localize bugs automatically, i.e., cannot pinpoint the region of code responsible for the error. In this paper, we resolve that shortcoming by making the following three contributions: (i) we develop an automatic diagnosis technique, based on * feature reconstruction*; (ii) we design a heuristic to effectively prune the large feature space; and (iii) we demonstrate that our system scales well, in terms of both accuracy and overhead. We validate our design through a large-scale fault-injection study and two case-studies of real-world bugs, finding that our system can effectively localize bugs in 92.5% of the cases, dramatically easing the challenge of finding bugs in large-scale programs.

BibTeX

@inproceedings{zhou13hpdc,
  author    = {Bowen Zhou and Jonathan Too and Milind Kulkarni and Saurabh Bagchi},
  title     = {{WuKong}: Automatically Detecting and Localizing Bugs that Manifest at Large System Scales},
  booktitle = {Proceedings of the Symposium on High Performance Parallel and Distributed Computing (HPDC)},
  pages     = {131--142},
  publisher = {ACM},
  address   = {New York, New York, USA},
  year      = {2013},
  month     = jun,
  doi       = {10.1145/2462902.2462907}
}

Group members