• DocumentCode
    633716
  • Title

    Queue-Dispatch Asynchronous Systems

  • Author

    Geeraerts, Gilles ; Heussner, Alexander ; Raskin, Jean-Francois

  • Author_Institution
    Univ. Libre de Bruxelles, Brussels, Belgium
  • fYear
    2013
  • fDate
    8-10 July 2013
  • Firstpage
    150
  • Lastpage
    159
  • Abstract
    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.
  • Keywords
    computational complexity; formal verification; scheduling; GCD library; Parikh coverability problem; grand central dispatch library; input-parametrized fork-join behaviour; multicore application; queue-dispatch asynchronous system; scheduler; synchronization mechanism; worst-case complexity; Cost accounting; Dispatching; Libraries; Petri nets; Protocols; Semantics; Sockets; asynchronous programming model; grand central dispatch; graph-rewriting; task-based concurrency; waiting queues;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Application of Concurrency to System Design (ACSD), 2013 13th International Conference on
  • Conference_Location
    Barcelona
  • Type

    conf

  • DOI
    10.1109/ACSD.2013.18
  • Filename
    6598350