An Adaptive Parallel Algorithm for Computing Connected Components
Chirag Jain, Patrick Flick, Tony C Pan et al. · arXiv (Cornell University) · 2016
We present an efficient distributed memory parallel algorithm for computing connected components in undirected graphs based on Shiloach-Vishkin's PRAM approach. We discuss multiple optimization techniques that reduce communication volume as well as load-balance the algorithm. We also note that the efficiency of the parallel graph connectivity algorithm depends on the underlying graph topology. Particularly for short diameter graph components, we observe that parallel Breadth First Search (BFS) method offers better performance. However, running parallel BFS is not efficient for computing large diameter components or large number of small components. To address this challenge, we employ a heuristic that allows the algorithm to quickly predict the type of the network by computing the degree distribution and follow the optimal hybrid route. Using large graphs with diverse topologies from domains including metagenomics, web crawl, social graph and road networks, we show that our hybrid implementation is efficient and scalable for each of the graph types. Our approach achieves a runtime of 215 seconds using 32K cores of Cray XC30 for a metagenomic graph with over 50 billion edges. When compared against the previous state-of-the-art method, we see performance improvements up to 24x.
Cited by 0 works. doi:10.48550/arxiv.1607.06156 Open-access PDF
Authors
References
- The university of Florida sparse matrix collection
- Scale-free characteristics of random networks: the topology of the world-wide web
- An O(logn) parallel connectivity algorithm
- A comparison of sorting algorithms for the connection machine CM-2
- The real cost of sequencing: scaling computation to keep pace with data generation
- PowerLyra
- Connected components on distributed memory machines
- FlashGraph: Processing Billion-Node Graphs on an Array of Commodity SSDs
- Scalable and High Performance Betweenness Centrality on the GPU
- Highly scalable graph search for the Graph500 benchmark