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 条
  • [1] Deadlock Avoidance for Streaming Computations with Filtering
    Li, Peng
    Agrawal, Kunal
    Buhler, Jeremy
    Chamberlain, Roger D.
    SPAA '10: PROCEEDINGS OF THE TWENTY-SECOND ANNUAL SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, 2010, : 243 - 252
  • [2] AN EFFICIENT DEADLOCK-AVOIDANCE ALGORITHM
    FINKEL, R
    MADDURI, HH
    INFORMATION PROCESSING LETTERS, 1987, 24 (01) : 25 - 30
  • [3] AN EFFICIENT DEADLOCK-AVOIDANCE TECHNIQUE
    BELIK, F
    IEEE TRANSACTIONS ON COMPUTERS, 1990, 39 (07) : 882 - 888
  • [4] An efficient distributed deadlock avoidance algorithm for the AND model
    Wu, H
    Chin, WN
    Jaffar, J
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2002, 28 (01) : 18 - 29
  • [5] Deadlock and deadlock avoidance of batch processes system
    Wu, YL
    Zeng, JC
    PROCEEDINGS OF THE 3RD WORLD CONGRESS ON INTELLIGENT CONTROL AND AUTOMATION, VOLS 1-5, 2000, : 2356 - 2359
  • [6] Avoiding Deadlock Avoidance
    Pyla, Hari K.
    Varadarajan, Srinidhi
    PACT 2010: PROCEEDINGS OF THE NINETEENTH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, 2010, : 75 - 85
  • [7] Towards Efficient MaxBRNN Computation for Streaming Updates
    Ning, Wentao
    Yan, Xiao
    Tang, Bo
    2021 IEEE 37TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2021), 2021, : 2297 - 2302
  • [8] Deadlock-avoidance for Streaming Applications with Split-Join Structure: Two Case Studies
    Li, Peng
    Agrawal, Kunal
    Buhler, Jeremy
    Chamberlain, Roger D.
    Lancaster, Joseph M.
    21ST IEEE INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS, 2010,
  • [9] Transitive Joins: A Sound and Efficient Online Deadlock-Avoidance Policy
    Voss, Caleb
    Cogumbreiro, Tiago
    Sarkar, Vivek
    PROCEEDINGS OF THE 24TH SYMPOSIUM ON PRINCIPLES AND PRACTICE OF PARALLEL PROGRAMMING (PPOPP '19), 2019, : 378 - 390
  • [10] An Efficient Algorithm for Quantile Computation over Streaming Data
    Yang, Bei
    Huang, Houkuan
    Wang, Zhihai
    2007 SECOND INTERNATIONAL CONFERENCE ON BIO-INSPIRED COMPUTING: THEORIES AND APPLICATIONS, 2007, : 136 - 141