Global and Local Deadlock Freedom in BIP

被引:4
|
作者
Attie, Paul C. [1 ]
Bensalem, Saddek [2 ]
Bozga, Marius [2 ]
Jaber, Mohamad [1 ]
Sifakis, Joseph [3 ]
Zaraket, Fadi A. [1 ]
机构
[1] Amer Univ Beirut, POB 11-0236, Beirut 11072020, Lebanon
[2] UJF Grenoble 1, CNRS VERIMAG, UMR 5104, F-38041 Grenoble, France
[3] Ecole Polytech Fed Lausanne, Route Cantonale, CH-1015 Lausanne, Switzerland
关键词
Alternation; completeness; nondeterminism;
D O I
10.1145/3152910
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present a criterion for checking local and global deadlock freedom of finite state systems expressed in BIP: a component-based framework for constructing complex distributed systems. Our criterion is evaluated by model-checking a set of subsystems of the overall large system. If satisfied in small subsystems, it implies deadlock-freedom of the overall system. If not satisfied, then we re-evaluate over larger subsystems, which improves the accuracy of the check. When the subsystem being checked becomes the entire system, our criterion becomes complete for deadlock-freedom. Hence our criterion only fails to decide deadlock freedom because of computational limitations: state-space explosion sets in when the subsystems become too large. Our method thus combines the possibility of fast response together with theoretical completeness. Other criteria for deadlock freedom, in contrast, are incomplete in principle, and so may fail to decide deadlock freedom even if unlimited computational resources are available. Also, our criterion certifies freedom from local deadlock, in which a subsystem is deadlocked while the rest of the system executes. Other criteria only certify freedom from global deadlock. We present experimental results for dining philosophers and for a multi-token-based resource allocation system, which subsumes several data arbiters and schedulers, including Milner's token-based scheduler.
引用
收藏
页数:48
相关论文
共 50 条
  • [1] An Abstract Framework for Deadlock Prevention in BIP
    Attie, Paul C.
    Bensalem, Saddek
    Bozga, Marius
    Jaber, Mohamad
    Sifakis, Joseph
    Zaraket, Fadi A.
    FORMAL TECHNIQUES FOR DISTRIBUTED SYSTEMS, FMOODS/FORTE 2013, 2013, 7892 : 161 - 177
  • [2] Deadlock-freedom-by-design: Multiparty Asynchronous Global Programming
    Carbone, Marco
    Montesi, Fabrizio
    ACM SIGPLAN NOTICES, 2013, 48 (01) : 263 - 274
  • [3] THE PURSUIT OF DEADLOCK FREEDOM
    ROSCOE, AW
    DATHI, N
    INFORMATION AND COMPUTATION, 1987, 75 (03) : 289 - 327
  • [4] Efficient Deadlock-Freedom Checking Using Local Analysis and SAT Solving
    Antonino, Pedro
    Gibson-Robinson, Thomas
    Roscoe, A. W.
    INTEGRATED FORMAL METHODS (IFM 2016), 2016, 9681 : 345 - 360
  • [5] A tool for proving deadlock freedom
    Martin, JMR
    Jassim, SA
    PARALLEL PROGRAMMING AND JAVA, 1997, 50 : 1 - 16
  • [6] DEADLOCK FREEDOM USING EDGE LOCKS
    KORTH, HF
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 1982, 7 (04): : 632 - 652
  • [7] DEADLOCK-FREEDOM IN RESOURCE CONTENTIONS
    CHEN, MC
    REM, M
    ACTA INFORMATICA, 1985, 21 (06) : 585 - 598
  • [8] Deadlock and lock freedom in the linear π-calculus
    Padovani, Luca
    PROCEEDINGS OF THE JOINT MEETING OF THE TWENTY-THIRD EACSL ANNUAL CONFERENCE ON COMPUTER SCIENCE LOGIC (CSL) AND THE TWENTY-NINTH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2014,
  • [9] Comparing type systems for deadlock freedom
    Dardha, Ornela
    Perez, Jorge A.
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2022, 124
  • [10] Comparing type systems for deadlock freedom
    Dardha, Ornela
    Pérez, Jorge A.
    Journal of Logical and Algebraic Methods in Programming, 2022, 124