Cooperative Empirical Failure Avoidance for Multithreaded Programs

被引:16
|
作者
Lucia, Brandon [1 ]
Ceze, Luis [1 ]
机构
[1] Univ Washington, Dept Comp Sci & Engn, Seattle, WA 98195 USA
基金
美国国家科学基金会;
关键词
Algorithms; Reliability; concurrency; cooperative failure avoidance;
D O I
10.1145/2499368.2451121
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Concurrency errors in multithreaded programs are difficult to find and fix. We propose Aviso, a system for avoiding schedule-dependent failures. Aviso monitors events during a program's execution and, when a failure occurs, records a history of events from the failing execution. It uses this history to generate schedule constraints that perturb the order of events in the execution and thereby avoids schedules that lead to failures in future program executions. Aviso leverages scenarios where many instances of the same software run, using a statistical model of program behavior and experimentation to determine which constraints most effectively avoid failures. After implementing Aviso, we showed that it decreased failure rates for a variety of important desktop, server, and cloud applications by orders of magnitude, with an average overhead of less than 20% and, in some cases, as low as 5%.
引用
收藏
页码:39 / 50
页数:12
相关论文
共 50 条
  • [1] Security for multithreaded programs under cooperative scheduling
    Russo, Alejandro
    Sabelfeld, Andrei
    [J]. PERSPECTIVES OF SYSTEMS INFORMATICS, 2007, 4378 : 474 - +
  • [2] Maximally Permissive Deadlock Avoidance for Multithreaded Computer Programs
    Wang, Yin
    Liao, Hongwei
    Nazeem, Ahmed
    Reveliotis, Spyros
    Kelly, Terence
    Mahlke, Scott
    Lafortune, Stephane
    [J]. 2009 IEEE INTERNATIONAL CONFERENCE ON AUTOMATION SCIENCE AND ENGINEERING, 2009, : 37 - +
  • [3] SIMULATION ANALYSIS OF MULTITHREADED PROGRAMS UNDER DEADLOCK-AVOIDANCE CONTROL
    Liao, Hongwei
    Zhou, Hao
    Lafortune, Stephane
    [J]. PROCEEDINGS OF THE 2011 WINTER SIMULATION CONFERENCE (WSC), 2011, : 703 - 715
  • [4] Analysis of multithreaded programs
    Rinard, M
    [J]. STATIC ANALYSIS, PROCEEDINGS, 2001, 2126 : 1 - 19
  • [5] Checkpointing multithreaded programs
    Carothers, Christopher D.
    Szymanski, Boleslaw K.
    [J]. Dr. Dobb's Journal, 2002, 27 (08):
  • [6] Security of multithreaded programs by compilation
    Barthe, Gilles
    Rezk, Tamara
    Russo, Alejandro
    Sabelfeld, Andrei
    [J]. COMPUTER SECURITY - ESORICS 2007, PROCEEDINGS, 2007, 4734 : 2 - +
  • [7] CARET Analysis of Multithreaded Programs
    Huu-Vu Nguyen
    Touili, Tayssir
    [J]. LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION (LOPSTR 2017), 2018, 10855 : 73 - 90
  • [8] File Descriptors And Multithreaded Programs
    Babkin, Sergey
    [J]. DR DOBBS JOURNAL, 2008, 33 (12): : 42 - 45
  • [9] Pointer analysis for multithreaded programs
    Rugina, R
    Rinard, M
    [J]. ACM SIGPLAN NOTICES, 1999, 34 (05) : 77 - 90
  • [10] Taming Deadlocks in Multithreaded Programs
    Cai, Yan
    Chan, W. K.
    Yu, Y. T.
    [J]. 2013 13TH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC), 2013, : 276 - 279