A Work-Efficient Algorithm for Parallel Unordered Depth-First Search

被引:11
|
作者
Acar, Umut A. [1 ,2 ]
Chargueraud, Arthur [2 ,3 ]
Rainey, Mike [2 ]
机构
[1] Carnegie Mellon Univ, Pittsburgh, PA 15213 USA
[2] Inria, Rocquencourt, France
[3] LRI Univ Paris Sud, CNRS, Gif Sur Yvette, France
关键词
1ST SEARCH; COMPUTATIONS;
D O I
10.1145/2807591.2807651
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Advances in processing power and memory technology have made multicore computers an important platform for high-performance graph-search (or graph-traversal) algorithms. Since the introduction of multicore, much progress has been made to improve parallel breadth-first search. However, less attention has been given to algorithms for unordered or loosely ordered traversals. We present a parallel algorithm for unordered depth-first-search on graphs. We prove that the algorithm is work efficient in a realistic algorithmic model that accounts for important scheduling costs. This work-efficiency result applies to all graphs, including those with high diameter and high out-degree vertices. The algorithmic techniques behind this result include a new data structure for representing the frontier of vertices in depth-first search, a new amortization technique for controlling excess parallelism, and an adaptation of the lazy-splitting technique to depth first search. We validate the theoretical results with an implementation and experiments. The experiments show that the algorithm performs well on a range of graphs and that it can lead to significant improvements over comparable algorithms.
引用
收藏
页数:12
相关论文
共 50 条
  • [21] Concurrent depth-first search algorithms based on Tarjan's Algorithm
    Lowe, Gavin
    [J]. INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2016, 18 (02) : 129 - 147
  • [22] Linear Algebraic Depth-First Search
    Spampinato, Daniele G.
    Sridhar, Upasana
    Low, Tze Meng
    [J]. ARRAY '2019: PROCEEDINGS OF THE 6TH ACM SIGPLAN INTERNATIONAL WORKSHOP ON LIBRARIES, LANGUAGES AND COMPILERS FOR ARRAY PROGRAMMING, 2019, : 93 - 104
  • [23] Work-efficient parallel union-find
    Simsiri, Natcha
    Tangwongsan, Kanat
    Tirthapura, Srikanta
    Wu, Kun-Lung
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2018, 30 (04):
  • [24] Distributed algorithms for depth-first search
    Makki, SAM
    Havas, G
    [J]. INFORMATION PROCESSING LETTERS, 1996, 60 (01) : 7 - 12
  • [25] An extended depth-first search algorithm for optimal triangulation of Bayesian networks
    [J]. Li, Chao (chao.li.314@gmail.com), 1600, Elsevier Inc. (80):
  • [26] A Depth-First Search Algorithm for Optimizing the Gravity Pipe Networks Layout
    Weyne Rodrigues, Gustavo Paiva
    Magalhaes Costa, Luis Henrique
    Farias, Guilherme Marques
    Holanda de Castro, Marco Aurelio
    [J]. WATER RESOURCES MANAGEMENT, 2019, 33 (13) : 4583 - 4598
  • [27] Concurrent depth-first search algorithms based on Tarjan’s Algorithm
    Gavin Lowe
    [J]. International Journal on Software Tools for Technology Transfer, 2016, 18 : 129 - 147
  • [28] A depth-first search algorithm for computing pseudo-closed sets
    Bazin, Alexandre
    [J]. DISCRETE APPLIED MATHEMATICS, 2018, 249 : 28 - 35
  • [29] An extended depth-first search algorithm for optimal triangulation of Bayesian networks
    Li, Chao
    Ueno, Maomi
    [J]. INTERNATIONAL JOURNAL OF APPROXIMATE REASONING, 2017, 80 : 294 - 312
  • [30] A Depth-First Search Algorithm for Optimizing the Gravity Pipe Networks Layout
    Gustavo Paiva Weyne Rodrigues
    Luis Henrique Magalhães Costa
    Guilherme Marques Farias
    Marco Aurélio Holanda de Castro
    [J]. Water Resources Management, 2019, 33 : 4583 - 4598