Bounded Partial-Order Reduction

被引:2
|
作者
Coons, Katherine E. [1 ]
Musuvathi, Madanlal
McKinley, Kathryn S. [1 ]
机构
[1] Univ Texas Austin, Austin, TX 78712 USA
关键词
Algoirthms; Verification; bounded partial-order reduction; dynamic partial-order reduction; concurrency; fairness; liveness; model checking; shared-memory programs; software testing;
D O I
10.1145/2544173.2509556
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Eliminating concurrency errors is increasingly important as systems rely more on parallelism for performance. Exhaustively exploring the state-space of a program's thread interleavings finds concurrency errors and provides coverage guarantees, but suffers from exponential state-space explosion. Two prior approaches alleviate state-space explosion. (1) Dynamic partial-order reduction (DPOR) provides full coverage and explores only one interleaving of independent transitions. (2) Bounded search provides bounded coverage by enumerating interleavings that do not exceed a bound. In particular, we focus on preemption-bounding. Combining partial-order reduction with preemption-bounding had remained an open problem. We show that preemption-bounded search explores the same partial orders repeatedly and consequently explores more executions than unbounded DPOR, even for small bounds. We further show that if DPOR simply uses the preemption bound to prune the state space as it explores new partial orders, it misses parts of the state space reachable in the bound and is therefore unsound. The bound essentially induces dependences between otherwise independent transitions in the DPOR state space. We introduce Bounded Partial Order Reduction (BPOR), a modification of DPOR that compensates for bound dependences. We identify properties that determine how well bounds combine with partial-order reduction. We prove sound coverage and empirically evaluate BPOR with preemption and fairness bounds. We show that by eliminating redundancies, BPOR significantly reduces testing time compared to bounded search. BPOR's faster incremental guarantees will help testers verify larger concurrent programs.
引用
收藏
页码:833 / 848
页数:16
相关论文
共 50 条
  • [1] Cartesian partial-order reduction
    Gueta, Guy
    Flanagan, Cormac
    Yahav, Eran
    Sagiv, Mooly
    [J]. MODEL CHECKING SOFTWARE, PROCEEDINGS, 2007, 4595 : 95 - +
  • [2] Stateful dynamic partial-order reduction
    National Laboratory for Parallel and Distributed Processing, Changsha, China
    [J]. Lect. Notes Comput. Sci, 2006, (149-167):
  • [3] Stateful dynamic partial-order reduction
    Yi, Xiaodong
    Wang, Ji
    Yang, Xuejun
    [J]. FORMAL METHODS AND SOFTWARE ENGINEERING, PROCEEDINGS, 2006, 4260 : 149 - +
  • [4] Partial-Order Reduction for GPU Model Checking
    Neele, Thomas
    Wijs, Anton
    Bosnacki, Dragan
    van de Pol, Jaco
    [J]. AUTOMATED TECHNOLOGY FOR VERIFICATION AND ANALYSIS, ATVA 2016, 2016, 9938 : 357 - 374
  • [5] Guard-based partial-order reduction
    Laarman, Alfons
    Pater, Elwin
    van de Pol, Jaco
    Hansen, Henri
    [J]. INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2016, 18 (04) : 427 - 448
  • [6] Guard-based partial-order reduction
    Alfons Laarman
    Elwin Pater
    Jaco van de Pol
    Henri Hansen
    [J]. International Journal on Software Tools for Technology Transfer, 2016, 18 : 427 - 448
  • [7] Partial-Order Reduction for Supervisory Controller Synthesis
    van der Sanden, Bram
    Geilen, Marc
    Reniers, Michel
    Basten, Twan
    [J]. IEEE TRANSACTIONS ON AUTOMATIC CONTROL, 2022, 67 (02) : 870 - 885
  • [8] Cluster-Based Partial-Order Reduction
    Twan Basten
    Dragan Bošnački
    Marc Geilen
    [J]. Automated Software Engineering, 2004, 11 (4) : 365 - 402
  • [9] Partial-order reduction for general state exploring algorithms
    Bošnackǐki D.
    Leue S.
    Lluch Lafuente A.
    [J]. International Journal on Software Tools for Technology Transfer, 2009, 11 (01) : 39 - 51
  • [10] Dynamic partial-order reduction for model checking software
    Flanagan, C
    Godefroid, P
    [J]. ACM SIGPLAN NOTICES, 2005, 40 (01) : 110 - 121