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 条
  • [21] Inferring Students’ Personality from Their Communication Behavior in Web-based Learning Systems
    Wen Wu
    Li Chen
    Qingchang Yang
    You Li
    International Journal of Artificial Intelligence in Education, 2019, 29 : 189 - 216
  • [22] Inferring Students' Personality from Their Communication Behavior in Web-based Learning Systems
    Wu, Wen
    Chen, Li
    Yang, Qingchang
    Li, You
    INTERNATIONAL JOURNAL OF ARTIFICIAL INTELLIGENCE IN EDUCATION, 2019, 29 (02) : 189 - 216
  • [23] Inferring local transition functions of discrete dynamical systems from observations of system behavior
    Adiga, Abhijin
    Kuhlman, Chris J.
    Marathe, Madhav V.
    Ravi, S. S.
    Rosenkrantz, Daniel J.
    Stearns, Richard E.
    THEORETICAL COMPUTER SCIENCE, 2017, 679 : 126 - 144
  • [24] Checking Concurrent Behavior in UML/OCL Models
    Przigoda, Nils
    Hilken, Christoph
    Wille, Robert
    Peleska, Jan
    Drechsler, Rolf
    2015 ACM/IEEE 18TH INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS (MODELS), 2015, : 176 - 185
  • [25] Topical Behavior Prediction from Massive Logs
    Su, Shih-Chieh
    2017 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2017, : 3677 - 3683
  • [26] A knowledge-based method for inferring semantic concepts from visual models of system behavior
    Mills, KL
    Gomaa, H
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2000, 9 (03) : 306 - 337
  • [27] A Data-Driven Approach for Inferring Student Proficiency from Game Activity Logs
    Falakmasir, Mohammad H.
    Gonzalez-Brenes, Jose P.
    Gordon, Geoffrey J.
    DiCerbo, Kristen E.
    PROCEEDINGS OF THE THIRD (2016) ACM CONFERENCE ON LEARNING @ SCALE (L@S 2016), 2016, : 341 - 349
  • [28] Inferring behavior from functional brain images
    Dehaene, S
    Le Clec'H, G
    Cohen, L
    Poline, JB
    van de Moortele, PF
    Le Bihan, D
    NATURE NEUROSCIENCE, 1998, 1 (07) : 549 - 550
  • [29] Inferring behavior from functional brain images
    Stanislas Dehaene
    Gurvan Le Clec'H
    Laurent Cohen
    Jean-Baptiste Poline
    Pierre-François van de Moortele
    Denis Le Bihan
    Nature Neuroscience, 1998, 1 : 549 - 549
  • [30] ON INFERRING ONES BELIEFS FROM ONES BEHAVIOR
    KIESLER, CA
    NISBETT, RE
    ZANNA, MP
    JOURNAL OF PERSONALITY AND SOCIAL PSYCHOLOGY, 1969, 11 (04) : 321 - &