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 条
  • [21] Double Wedgie: Efficient Filtering Algorithm for Streaming Time Series
    Liu, Junling
    Liu, Jiangxiu
    Sun, Huanliang
    FIFTH INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS AND KNOWLEDGE DISCOVERY, VOL 5, PROCEEDINGS, 2008, : 335 - +
  • [22] Atomic wedgie: Efficient query filtering for streaming time series
    Wei, L
    Keogh, E
    Van Herle, H
    Mafra-Neto, A
    FIFTH IEEE INTERNATIONAL CONFERENCE ON DATA MINING, PROCEEDINGS, 2005, : 490 - 497
  • [23] Symbolic Computation and Representation of Deadlock Avoidance Policies for Complex Resource Allocation Systems with Application to Multithreaded Software
    Fei, Zhennan
    Akesson, Knut
    Reveliotis, Spyros
    2014 IEEE 53RD ANNUAL CONFERENCE ON DECISION AND CONTROL (CDC), 2014, : 5935 - 5942
  • [24] Efficient Similarity Computation for Collaborative Filtering in Dynamic Environments
    Jeunen, Olivier
    Verstrepen, Koen
    Goethals, Bart
    RECSYS 2019: 13TH ACM CONFERENCE ON RECOMMENDER SYSTEMS, 2019, : 251 - 259
  • [25] An algorithm for deadlock avoidance in an AGV System
    Jung-woon Yoo
    Eok-Su Sim
    Chengxuan Cao
    Jin-Woo Park
    The International Journal of Advanced Manufacturing Technology, 2005, 26 : 659 - 668
  • [26] An algorithm for deadlock avoidance in an AGV System
    Park, J.-W. (autofact@snu.ac.kr), 1600, Springer-Verlag London Ltd (26): : 5 - 6
  • [27] On the Optimality of Randomized Deadlock Avoidance Policies
    Spyros A. Reveliotis
    Jin Young Choi
    Discrete Event Dynamic Systems, 2003, 13 : 303 - 320
  • [28] A modular approach for deadlock avoidance in FMS
    Piroddi, Luigi
    Ferrarini, Luca
    2005 44TH IEEE CONFERENCE ON DECISION AND CONTROL & EUROPEAN CONTROL CONFERENCE, VOLS 1-8, 2005, : 4646 - 4651
  • [29] ServerNet deadlock avoidance and fractahedral topologies
    Horst, R
    10TH INTERNATIONAL PARALLEL PROCESSING SYMPOSIUM - PROCEEDINGS OF IPPS '96, 1996, : 274 - 280
  • [30] On the optimality of randomized deadlock avoidance policies
    Reveliotis, SA
    Choi, JY
    2001 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS, VOLS 1-5: E-SYSTEMS AND E-MAN FOR CYBERNETICS IN CYBERSPACE, 2002, : 1795 - 1800