调度异步系统
Queue-Dispatch Asynchronous Systems
摘要:
为了使高效的多核应用程序的开发更容易,已经提出了诸如Grand Central Dispatch之类的库。当使用这样的库时,程序员编写所谓的块,即代码块,并使用同步或异步调用将它们分派到几种类型的等待队列。然后,调度器负责在可用核上分派这些块。块可以通过全局存储器同步。在本文中,我们提出了一个数学模型,忠实地形式化的同步机制和这些系统中的调度器的行为的调度调度异步系统。我们详细研究了它们与经典形式主义的关系,如下推系统,Petri网,FIFO系统和计数器系统。我们的主要技术贡献是我们模型的几个子类的Parikh可覆盖性问题的精确最坏情况复杂性结果。
英文摘要:
To make the development of efficient multi-core applications easier, libraries, such as Grand Central Dispatch, 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 for several subclasses of our model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。