Efficient Deadlock Avoidance for Streaming Computation with Filtering

被引:5
|
作者
Buhler, Jeremy D. [1 ]
Agrawal, Kunal [1 ]
Li, Peng [1 ]
Chamberlain, Roger D. [1 ]
机构
[1] Washington Univ, Dept Comp Sci & Engn, St Louis, MO 63130 USA
关键词
Algorithms; Design; Theory; Deadlock Avoidance; Graph Theory; Streaming Computation;
D O I
10.1145/2370036.2145846
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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 filter, 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 DAGs, in which every undirected Cycle is Single-Source and Single-Sink (CS4). 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.
引用
收藏
页码:235 / 246
页数:12
相关论文
共 50 条
  • [31] A DISTRIBUTED DEADLOCK-AVOIDANCE TECHNIQUE
    BELIK, F
    LECTURE NOTES IN COMPUTER SCIENCE, 1988, 312 : 144 - 154
  • [32] A NEW ALGORITHM FOR DEADLOCK-AVOIDANCE
    DATTA, AK
    GHOSH, S
    CHOU, TS
    INFORMATION SCIENCES, 1988, 46 (1-2) : 47 - 72
  • [33] Deadlock avoidance for wormhole based switches
    Theiss, I
    Lysne, O
    EURO-PAR 2000 PARALLEL PROCESSING, PROCEEDINGS, 2000, 1900 : 890 - 899
  • [34] A FAST METHOD OF DEADLOCK-AVOIDANCE
    BAK, P
    RAIRO-INFORMATIQUE THEORIQUE ET APPLICATIONS-THEORETICAL INFORMATICS AND APPLICATIONS, 1984, 18 (01): : 71 - 80
  • [35] On the optimality of randomized deadlock avoidance policies
    Reveliotis, SA
    Choi, JY
    DISCRETE EVENT DYNAMIC SYSTEMS-THEORY AND APPLICATIONS, 2003, 13 (04): : 303 - 320
  • [36] The Analysis and Avoidance of Concurrent Processes Deadlock
    Shang, Kun
    Zhang, Kai
    ADVANCED RESEARCH ON INFORMATION SCIENCE, AUTOMATION AND MATERIAL SYSTEM, PTS 1-6, 2011, 219-220 : 45 - 48
  • [37] Deadlock avoidance in semiconductor track systems
    Wu, NQ
    Zhou, MC
    2002 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION, VOLS I-IV, PROCEEDINGS, 2002, : 193 - 198
  • [38] Deadlock avoidance in cellular manufacturing systems
    Fanti, MP
    Maione, B
    Turchiano, B
    1998 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS, VOLS 1-5, 1998, : 588 - 593
  • [39] An algorithm for deadlock avoidance in an AGV system
    Yoo, JW
    Sim, ES
    Cao, CX
    Park, JW
    INTERNATIONAL JOURNAL OF ADVANCED MANUFACTURING TECHNOLOGY, 2005, 26 (5-6): : 659 - 668
  • [40] SUBSYSTEMS OF PROCESSES WITH DEADLOCK-AVOIDANCE
    LOMET, DB
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1980, 6 (03) : 297 - 304