• Home
  • Search
  • Improved external memory BFS implementations
  • Open Access IconOpen Access
  • Cite Icon46
  • https://doi.org/10.1137/1.9781611972870.1Copy DOI Icon

Improved external memory BFS implementations

  • Jan 6, 2007
  • Deepak Ajwani +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Breadth first search (BFS) traversal on massive graphs in external memory was considered non-viable until recently, because of the large number of I/Os it incurs. Ajwani et al. [3] showed that the randomized variant of the o(n) I/O algorithm of Mehlhorn and Meyer [24] (MM_BFS) can compute the BFS level decomposition for large graphs (around a billion edges) in a few hours for small diameter graphs and a few days for large diameter graphs. We improve upon their implementation of this algorithm by reducing the overhead associated with each BFS level, thereby improving the results for large diameter graphs which are more difficult for BFS traversal in external memory. Also, we present the implementation of the deterministic variant of MM_BFS and show that in most cases, it outperforms the randomized variant. The running time for BFS traversal is further improved with a heuristic that preserves the worst case guarantees of MM_BFS. Together, they reduce the time for BFS on large diameter graphs from days shown in [3] to hours. In particular, on line graphs with random layout on disks, our implementation of the deterministic variant of MM_BFS with the proposed heuristic is more than 75 times faster than the previous best result for the randomized variant of MM_BFS in [3].

Similar Papers
  • Conference Article
  • Citations5

Inverse-Deletion BFS - Revisiting Static Graph BFS Traversals with Dynamic Graph Operations

  • Sep 20, 2021
  • Oded Green
  • Conference Article

Fast Exact Diameter Computation of Sparse Graphs

  • Sep 08, 2025
  • Cameron Bradley +2
  • Conference Article
  • Citations2

The Communication Analysis of Implementation in Breadth First Search Algorithm

  • Dec 01, 2016
  • Yichun Sun +2
  • Research Article

Distributed multithreaded breadth-first search on large graphs using DXGraph

  • Nov 13, 2016
  • Stefan Nothaas +2
  • Research Article
  • Citations60

Traversing large graphs on GPUs with unified memory

  • Mar 01, 2020
  • Proceedings of the VLDB Endowment
  • Prasun Gera +4
  • Research Article
  • Citations35

On external-memory MST, SSSP and multi-way planar graph separation

  • May 21, 2004
  • Journal of Algorithms
  • Lars Arge +2
  • Research Article
  • Citations30

An Adaptive Parallel Algorithm for Computing Connected Components

  • Sep 01, 2017
  • IEEE Transactions on Parallel and Distributed Systems
  • Chirag Jain +4
  • Research Article
  • Citations1

Framework for Enhancement Performance of Heterogeneous System via Social Network Analysis

  • Jul 01, 2017
  • Abdulkareem Merhej Radhi
  • Research Article
  • Citations4

Linear‐time graph distance and diameter approximation

  • Nov 30, 2015
  • International Transactions in Operational Research
  • Raphael C.S Machado +1
  • Research Article

GTSM: A multi-edge-centric temporal subgraph matching framework on GPUs

  • Oct 09, 2025
  • ACM Transactions on Architecture and Code Optimization
  • Jiezhong He +4
  • Conference Article
  • Citations10

Measuring bias in the mixing time of social graphs due to graph sampling

  • Oct 01, 2012
  • Abedelaziz Mohaisen +4
  • Conference Article
  • Citations47

Deploying Graph Algorithms on GPUs: An Adaptive Solution

  • May 01, 2013
  • Da Li +1
  • Research Article
  • Citations1

A task‐based approach for finding SCCs in real‐world graphs on external memory

  • Jun 05, 2017
  • Concurrency and Computation: Practice and Experience
  • Huiming Lv +4
  • Conference Article
  • Citations6

Massively parallel breadth first search using a tree-structured memory model

  • Feb 26, 2012
  • Tom St John +2
  • Conference Article
  • Citations20

DualIso: An Algorithm for Subgraph Pattern Matching on Very Large Labeled Graphs

  • Jun 01, 2014
  • Matthew Saltz +5
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.