Parallel Strong Connectivity Based on Faster Reachability

Author:

Wang Letong1ORCID,Dong Xiaojun1ORCID,Gu Yan1ORCID,Sun Yihan1ORCID

Affiliation:

1. University of California, Riverside, Riverside, CA, USA

Abstract

Computing strongly connected components (SCC) is among the most fundamental problems in graph analytics. Given the large size of today's real-world graphs, parallel SCC implementation is increasingly important. SCC is challenging in the parallel setting and is particularly hard on large-diameter graphs. Many existing parallel SCC implementations can be even slower than Tarjan's sequential algorithm on large-diameter graphs. To tackle this challenge, we propose an efficient parallel SCC implementation using a new parallel reachability approach. Our solution is based on a novel idea referred to as vertical granularity control (VGC). It breaks the synchronization barriers to increase parallelism and hide scheduling overhead. To use VGC in our SCC algorithm, we also design an efficient data structure called the parallel hash bag. It uses parallel dynamic resizing to avoid redundant work in maintaining frontiers (vertices processed in a round). We implement the parallel SCC algorithm by Blelloch et al. (J. ACM, 2020) using our new parallel reachability approach. We compare our implementation to the state-of-the-art systems, including GBBS, iSpan, Multi-step, and our highly optimized Tarjan's (sequential) algorithm, on 18 graphs, including social, web, k-NN, and lattice graphs. On a machine with 96 cores, our implementation is the fastest on 16 out of 18 graphs. On average (geometric means) over all graphs, our SCC is 6.0× faster than the best previous parallel code (GBBS), 12.8× faster than Tarjan's sequential algorithms, and 2.7× faster than the best existing implementation on each graph. We believe that our techniques are of independent interest. We also apply our parallel hash bag and VGC scheme to other graph problems, including connectivity and least-element lists (LE-lists). Our implementations improve the performance of the state-of-the-art parallel implementations for these two problems.

Funder

National Science Foundation

Publisher

Association for Computing Machinery (ACM)

Reference112 articles.

1. Provably and practically efficient granularity control

2. Umut A. Acar , Guy E. Blelloch , and Robert D . Blumofe . 2002 . The Data Locality of Work Stealing. Theoretical Computer Science (TCS) , Vol. 35 , 3 (2002). Umut A. Acar, Guy E. Blelloch, and Robert D. Blumofe. 2002. The Data Locality of Work Stealing. Theoretical Computer Science (TCS), Vol. 35, 3 (2002).

3. A work-efficient algorithm for parallel unordered depth-first search

4. Rakesh Agrawal and HV Jagadish . 1990 . Hybrid Transitive Closure Algorithms .. In Proceedings of the VLDB Endowment (PVLDB). 326--334 . Rakesh Agrawal and HV Jagadish. 1990. Hybrid Transitive Closure Algorithms.. In Proceedings of the VLDB Endowment (PVLDB). 326--334.

5. V Aho Alfred , E Hopcroft John , D Ullman Jeffrey , V Aho Alfred , H Bracht Glenn , D Hopkin Kenneth , C Stanley Julian , Brachu Jean-Pierre , Brown A Samler , Brown A Peter , 1983 . Data structures and algorithms. USA: Addison-Wesley. V Aho Alfred, E Hopcroft John, D Ullman Jeffrey, V Aho Alfred, H Bracht Glenn, D Hopkin Kenneth, C Stanley Julian, Brachu Jean-Pierre, Brown A Samler, Brown A Peter, et al. 1983. Data structures and algorithms. USA: Addison-Wesley.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3