Inferring Models of Concurrent Systems from Logs of Their Behavior with CSight

被引:110
|
作者
Beschastnikh, Ivan [1 ]
Brun, Yuriy [2 ]
Ernst, Michael D. [3 ]
Krishnamurthy, Arvind [3 ]
机构
[1] Univ British Columbia, Dept Comp Sci, Vancouver, BC, Canada
[2] Univ Massachusetts, Sch Comp Sci, Amherst, MA 01003 USA
[3] Univ Washington, Comp Sci & Engn, Seattle, WA 98195 USA
关键词
Model inference; log analysis; concurrency; distributed systems; CSight;
D O I
10.1145/2568225.2568246
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Concurrent systems are notoriously difficult to debug and understand. A common way of gaining insight into system behavior is to inspect execution logs and documentation. Unfortunately, manual inspection of logs is an arduous process, and documentation is often incomplete and out of sync with the implementation. To provide developers with more insight into concurrent systems, we developed CSight. CSight mines logs of a system's executions to infer a concise and accurate model of that system's behavior, in the form of a communicating finite state machine (CFSM). Engineers can use the inferred CFSM model to understand complex behavior, detect anomalies, debug, and increase confidence in the correctness of their implementations. CSight's only requirement is that the logged events have vector timestamps. We provide a tool that automatically adds vector timestamps to system logs. Our tool prototypes are available at http://synoptic.googlecode.com/. This paper presents algorithms for inferring CFSM models from traces of concurrent systems, proves them correct, provides an implementation, and evaluates the implementation in two ways: by running it on logs from three different networked systems and via a user study that focused on bug finding. Our evaluation finds that CSight infers accurate models that can help developers find bugs.
引用
收藏
页码:468 / 479
页数:12
相关论文
共 50 条
  • [41] REASONING ABOUT PROBABILISTIC BEHAVIOR IN CONCURRENT SYSTEMS
    PURUSHOTHAMAN, S
    SUBRAHMANYAM, PA
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1987, 13 (06) : 740 - 745
  • [42] Behavior of composed concurrent systems: Logic and reasoning
    Arbab, Farhad
    Sirjani, Marjan
    FUNDAMENTA INFORMATICAE, 2008, 82 (04) : CP3 - CP3
  • [43] SIBLING DIFFERENCES IN ADOLESCENT SEXUAL-BEHAVIOR - INFERRING PROCESS MODELS FROM FAMILY COMPOSITION PATTERNS
    RODGERS, JL
    ROWE, DC
    HARRIS, DF
    JOURNAL OF MARRIAGE AND FAMILY, 1992, 54 (01) : 142 - 152
  • [44] Discovering workflow performance models from timed logs
    van der Aalst, WMP
    van Dongen, BF
    ENGINEERING AND DEPLOYMENT OF COOPERATIVE INFORMATION SYSTEMS, PROCEEDINGS, 2002, 2480 : 45 - 63
  • [45] Discovering Process Models from Unlabelled Event Logs
    Ferreira, Diogo R.
    Gillblad, Daniel
    BUSINESS PROCESS MANAGEMENT, PROCEEDINGS, 2009, 5701 : 143 - +
  • [46] Discovery of Business Process Models from Incomplete Logs
    Wang, Lili
    Fang, Xianwen
    Shao, Chifeng
    ELECTRONICS, 2022, 11 (19)
  • [47] Generating Event Logs from Hybrid Process Models
    Alman, Anti
    Maggi, Fabrizio Maria
    Montali, Marco
    Rivkin, Andrey
    BUSINESS PROCESS MANAGEMENT WORKSHOPS, BPM 2023, 2024, 492 : 289 - 301
  • [48] Inferring Mechanical Fault Models from the Electrical Domain
    Dall'Ora, Nicola
    Tosoni, Francesco
    Fraccaroli, Enrico
    Fummi, Franco
    2022 IEEE 5TH INTERNATIONAL CONFERENCE ON INDUSTRIAL CYBER-PHYSICAL SYSTEMS, ICPS, 2022,
  • [49] Inferring Quantitative Models from Noisy Biophysical Data
    Presse, Steve
    BIOPHYSICAL JOURNAL, 2014, 106 (02) : 195A - 195A
  • [50] Inferring Executable Models from Formalized Experimental Evidence
    Nigam, Vivek
    Donaldson, Robin
    Knapp, Merrill
    McCarthy, Tim
    Talcott, Carolyn
    COMPUTATIONAL METHODS IN SYSTEMS BIOLOGY, CMSB 2015, 2015, 9308 : 90 - 103