首页> 外文会议>ACM SIGPLAN symposium on principles and practice of parallel programming >Efficient Deadlock Avoidance for Streaming Computation with Filtering
【24h】

Efficient Deadlock Avoidance for Streaming Computation with Filtering

机译:通过过滤有效避免死锁

获取原文

摘要

Parallel streaming computations have been studied extensively, and many languages, libraries, and systems have been designed to support this model of computation. In particular, we consider acyclic streaming computations in which individual nodes can choose to filler, or discard, some of their inputs in a data-dependent manner. In these applications, if the channels between nodes have finite buffers, the computation can deadlock. One method of deadlock avoidance is to augment the data streams between nodes with occasional dummy messages; however, for general DAG topologies, no polynomial time algorithm is known to compute the intervals at which dummy messages must be sent to avoid deadlock. In this paper, we show that deadlock avoidance for streaming computations with filtering can be performed efficiently for a large class of DAG topologies. We first present a new method where each dummy message is tagged with a destination, so as to reduce the number of dummy messages sent over the network. We then give efficient algorithms for dummy interval computation in series-parallel DAGs. We finally generalize our results to a larger graph family, which we call the CS4 DACs, in which every undirected Cycle is Single-Source and Single-Sink (CS~4). Our results show that, for a large set of application topologies that are both intuitively useful and formalizable, the streaming model with filtering can be implemented safely with reasonable overhead.
机译:并行流计算已被广泛研究,并且许多语言,库和系统已被设计为支持这种计算模型。特别是,我们考虑了非循环流计算,其中各个节点可以选择依赖于数据的方式来填充或丢弃其某些输入。在这些应用中,如果节点之间的通道具有有限的缓冲区,则计算可能会死锁。避免死锁的一种方法是使用偶发的虚假消息来增加节点之间的数据流。但是,对于一般的DAG拓扑,尚无多项式时间算法来计算必须发送虚拟消息以避免死锁的时间间隔。在本文中,我们表明,对于大类DAG拓扑,可以有效地执行带过滤的流计算避免死锁。我们首先提出一种新方法,其中每个虚假消息都标记有目标,以减少通过网络发送的虚假消息的数量。然后,我们给出了在串并联DAG中进行虚拟间隔计算的有效算法。最后,我们将结果推广到一个更大的图形系列,我们称之为CS4 DAC,其中每个无向周期都是单源和单沉(CS〜4)。我们的结果表明,对于在直观上有用且可形式化的大量应用程序拓扑,可以安全地以合理的开销实现带有过滤的流模型。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号