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 条
  • [1] A PARALLEL ALGORITHM FOR RECOGNIZING UNORDERED DEPTH-FIRST SEARCH
    SCHEVON, CA
    VITTER, JS
    [J]. INFORMATION PROCESSING LETTERS, 1988, 28 (02) : 105 - 110
  • [2] Recognizing unordered depth-first search trees of an undirected graph in parallel
    Peng, CH
    Wang, BF
    Wang, JS
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2000, 11 (06) : 559 - 570
  • [3] A Work-Efficient Parallel Breadth-First Search Algorithm (or How to Cope with the Nondeterminism of Reducers)
    Leiserson, Charles E.
    Schardl, Tao B.
    [J]. SPAA '10: PROCEEDINGS OF THE TWENTY-SECOND ANNUAL SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, 2010, : 303 - 314
  • [4] NEARLY WORK-EFFICIENT PARALLEL ALGORITHM FOR DIGRAPH REACHABILITY
    Fineman, Jeremy T.
    [J]. SIAM JOURNAL ON COMPUTING, 2020, 49 (05) : STOC18500 - SOTC18539
  • [5] Parallel Depth-First Search for Directed Acyclic Graphs
    Naumov, Maxim
    Vrielink, Alysson
    Garland, Michael
    [J]. PROCEEDINGS OF IA3 2017: SEVENTH WORKSHOP ON IRREGULAR APPLICATIONS: ARCHITECTURES AND ALGORITHMS, 2017,
  • [6] Efficient semi-external depth-first search
    Wan, Xiaolong
    Wang, Hongzhi
    [J]. INFORMATION SCIENCES, 2022, 599 : 170 - 191
  • [7] PLANAR STRONG CONNECTIVITY HELPS IN PARALLEL DEPTH-FIRST SEARCH
    KAO, MY
    [J]. SIAM JOURNAL ON COMPUTING, 1995, 24 (01) : 46 - 62
  • [8] Performances of randomized work scheduling for parallel depth-first tree search discrete optimization problems
    Hayes, TA
    Liszka, KJ
    [J]. PDPTA '05: Proceedings of the 2005 International Conference on Parallel and Distributed Processing Techniques and Applications, Vols 1-3, 2005, : 727 - 731
  • [9] Interleaved depth-first search
    Meseguer, P
    [J]. IJCAI-97 - PROCEEDINGS OF THE FIFTEENTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOLS 1 AND 2, 1997, : 1382 - 1387
  • [10] Scalable distributed depth-first search with greedy work stealing
    Jaffar, J
    Santosa, AE
    Yap, RHC
    Zhu, KQ
    [J]. ICTAI 2004: 16TH IEEE INTERNATIONALCONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2004, : 98 - 103