【24h】

Queue-Dispatch Asynchronous Systems

机译:队列调度异步系统

获取原文

摘要

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
机译:为了使高效的多核应用更容易开发,已经提出了盛大中央调度(GCD)的图书馆。当使用这样的库时,程序员写入所谓的块,这些块是代码的块,并使用同步或异步呼叫向几种类型的等待队列调度它们。然后,调度程序负责调度可用核心上的这些块。块可以通过全局内存同步。在本文中,我们将队列调度异步系统提出作为忠实地将同步机制和调度程序在这些系统中的行为正式的数学模型。我们详细研究了他们与古典形式主义的关系,如推动系统,培养网,FIFO系统和计数器系统。我们的主要技术贡献是对Parikh覆盖性问题的精确最糟糕的复杂性,以及我们模型的几个子类的终止问题。我们展望延长我们的模型,以便在抽象的帮助下验证输入 - 参数化的叉行为,并借助动手方法来验证GCD程序在实践中

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号