DiggerBees: Depth First Search Leveraging Hierarchical Block-Level Stealing on GPUs
Yuyao Niu, Yuechen Lu, Weifeng Liu, Marc Casas
Abstract
Depth First Search (DFS) is a fundamental graph traversal algorithm with broad applications. While existing workstealing DFS approaches achieve strong performance on CPUs, mapping them to modern GPUs faces three major challenges: (1) limited shared memory cannot accommodate deep stacks, (2) frequent stack operations hinder efficient intra-block execution, and (3) irregular workloads complicate scalable inter-block execution.
In this paper, we propose DiggerBees, a GPU-optimized parallel DFS algorithm with hierarchical block-level stealing, consisting of three components. First, we introduce a twolevel stack structure to mitigate shared memory limitations. Second, we employ warp-level DFS with intra-block work stealing to enable efficient execution within a block. Third, we implement inter-block work stealing to achieve scalable execution across blocks and sustain high parallelism. Experimental results on the latest NVIDIA GPUs show that Dig-gerBees outperforms existing DFS approaches, CKL-PDFS, ACR-PDFS, and NVG-DFS, achieving average speedups of 1.37×, 1.83×, and 30.18×, respectively. Moreover, DiggerBees even surpasses high-performance GPU BFS implementations on graphs with deep and narrow traversal paths, and scales efficiently across GPU generations.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 9233a85f-351b-4ea8-a292-a767a52a9545Builds on13
- Efficient and Scalable Graph Pattern Mining on GPUsXuhao Chen, ArvindOSDI 2022 · 53 citations
- Non-blocking interpolation search trees with doubly-logarithmic running timeTrevor Brown, Aleksandar Prokopec, Dan AlistarhPPoPP 2020 · 29 citations
- Scaling graph traversal to 281 trillion edges with 40 million coresHuanqi Cao, Yuanwei Wang, Haojie Wang, Heng Lin et al.PPoPP 2022 · 27 citations
- STMatch: Accelerating Graph Pattern Matching on GPU with Stack-Based Loop OptimizationsYihua Wei, Peng JiangSC 2022 · 21 citations
- Glign: Taming Misaligned Graph Traversals in Concurrent Graph ProcessingXizhe Yin, Zhijia Zhao, Rajiv GuptaASPLOS 2023 · 20 citations
Related papers
- Faster Depth-First Subgraph Matching on GPUsLyuheng Yuan, Da Yan, Jiao Han, Akhlaque Ahmad et al.ICDE 2024 · 11 citations
- Efficient Multi-GPU Graph Processing with Remote Work StealingKe Meng, Liang Geng, Xue Li, Qian Tao et al.ICDE 2023 · 8 citations
- Fast Optimal Group Steiner Tree Search using GPUsJiayu Li, Yahui Sun, Bojing Ma, Libang Chen et al.SIGMOD 2026 · 1 citation
- Self-adaptive Graph Traversal on GPUsMo Sha, Yuchen Li, Kian-Lee TanSIGMOD 2021 · 12 citations
- GPU-Accelerated Subgraph Enumeration on Partitioned GraphsWentian Guo, Yuchen Li, Mo Sha, Bingsheng He et al.SIGMOD 2020 · 71 citations
