Free access
Proceedings
2007 Proceedings of the Ninth Workshop on Algorithm Engineering and Experiments (ALENEX)

Improved external memory BFS implementations

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].

Formats available

You can view the full content in the following formats:

Information & Authors

Information

Published In

cover image Proceedings
2007 Proceedings of the Ninth Workshop on Algorithm Engineering and Experiments (ALENEX)
Pages: 3 - 12
Editors: David Applegate, AT&T Labs-Research, Florham Park, New Jersey and Gerth Stølting Brodal, University of Aarhus, Aarhus, Denmark
ISBN (Online): 978-1-61197-287-0

History

Published online: 18 December 2013

Authors

Affiliations

Notes

*
This work was partially supported by the DFG grants SA 933/1-3 and ME 2088/1-3.

Metrics & Citations

Metrics

Citations

If you have the appropriate software installed, you can download article citation data to the citation manager of your choice. Simply select your manager software from the list below and click Download.

Cited By

View Options

View options

PDF

View PDF

Media

Figures

Other

Tables

Share

Share

Copy the content Link

Share with email

Email a colleague

Share on social media