Queue-Dispatch Asynchronous Systems

被引:3
作者
Geeraerts, Gilles [1 ]
Heussner, Alexander [2 ]
Raskin, Jean-Francois [1 ]
机构
[1] Univ Libre Bruxelles, Brussels, Belgium
[2] Univ Bamberg, Bamberg, Germany
来源
2013 13TH INTERNATIONAL CONFERENCE ON APPLICATION OF CONCURRENCY TO SYSTEM DESIGN (ACSD 2013) | 2013年
关键词
D O I
10.1109/ACSD.2013.18
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
To make the development of efficient multi-core applications easier, libraries, such as Grand Central Dispatch (GCD), have been proposed. When using such a library, the programmer writes so-called blocks, which are chunks of codes, and dispatches them, using synchronous or asynchronous calls, to several types of waiting queues. A scheduler is then responsible for dispatching those blocks on the available cores. Blocks can synchronize via a global memory. In this paper, we propose Queue-Dispatch Asynchronous Systems as a mathematical model that faithfully formalizes the synchronization mechanisms and the behavior of the scheduler in those systems. We study in detail their relationships to classical formalisms such as pushdown systems, Petri nets, fifo systems, and counter systems. Our main technical contributions are precise worst-case complexity results for the Parikh coverability problem and the termination question for several subclasses of our model. We give an outlook on extending our model towards verifying input-parametrized fork-join behaviour with the help of abstractions, and conclude with a hands-on approach for verifying GCD programs in practice.
引用
收藏
页码:150 / 159
页数:10
相关论文
共 18 条
  • [1] [Anonymous], 1976, 62 YAL U
  • [2] [Anonymous], 2009, DISPATCHWEBSERVER MA
  • [3] Bouajjani A, 1997, LECT NOTES COMPUT SC, V1243, P135
  • [4] Analysis of Recursively Parallel Programs
    Bouajjani, Ahmed
    Emmi, Michael
    [J]. ACM SIGPLAN NOTICES, 2012, 47 (01) : 203 - 214
  • [5] ON COMMUNICATING FINITE-STATE MACHINES
    BRAND, D
    ZAFIROPULO, P
    [J]. JOURNAL OF THE ACM, 1983, 30 (02) : 323 - 342
  • [6] Chadha R, 2007, LECT NOTES COMPUT SC, V4703, P136
  • [7] Deciding branching time properties for asynchronous programs
    Chadha, Rohit
    Viswanathan, Mahesh
    [J]. THEORETICAL COMPUTER SCIENCE, 2009, 410 (42) : 4169 - 4179
  • [8] Concurrency Programming Guide, 2011, TECHNICAL REPORT
  • [9] Esparza J., 1998, LNCS, V1491
  • [10] Esparza Javier, 2000, LECT NOTES COMPUTER, P232, DOI [DOI 10.1007/10722167_20, 10.1007/1072216720]