BigBug: Practical Concurrency Analysis for SDN

Roman May, Ahmed El-Hassany, Laurent Vanbever, Martin T. Vechev

Abstract

By operating in highly asynchronous environments, SDN controllers often suffer from bugs caused by concurrency violations. Unfortunately, state-of-the-art concurrency analyzers for SDNs often report thousands of true violations, limiting their effectiveness in practice.This paper presents BigBug, an approach for automatically identifying the most representative concurrency violations: those that capture the cause of the violation. The two key insights behind BigBug are that: (i) many violations share the same root cause, and (ii) violations with the same cause share common characteristics. BigBug leverages these observations to cluster reported violations according to the similarity of events in them as well as SDN-specific features. BigBug then reports the most representative violation for each cluster using a ranking function.We implemented BigBug and showed its practical effectiveness. In more than 100 experiments involving different controllers and applications, BigBug systematically produced 6 clusters or less, corresponding to a median decrease of 95% over state-of-the-art analyzers. The number of violations reported by BigBug also closely matched that of actual bugs, indicating that BigBug is effective at identifying root causes of SDN races.
BibTeX
@inproceedings{may2017bigbug,
  author = {Roman May and Ahmed El-Hassany and Laurent Vanbever and Martin T. Vechev},
  title = {{BigBug: Practical Concurrency Analysis for SDN}},
  booktitle = {SOSR},
  year = {2017},
  doi = {10.1145/3050220.3050230},
}

Loading related content...

Figure