Optimized Parallel Breadth-First Search with Adaptive Strategies

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

Breadth-First Search (BFS) is a fundamental graph traversal algorithm in a level-by-level pattern. It has been widely used in real-world applications, such as social network analysis, scientific computing, and web crawling. However, achieving high performance for BFS on large-scale graphs remains a challenging task due to irregular memory access patterns, diverse graph structures, and the necessity for efficient parallelization. This paper addresses these challenges by designing a highly optimized parallel BFS implementation based on the top-down and bottom-up traversal strategies. It further integrates several key innovations, including graph type-aware computation strategy selection, graph pruning, two-level bottom-up, and efficient parallel implementation. We evaluate our method on 11 diverse graphs in terms of size, diameter, and density. On a CPU server with 48 threads, our method achieves an average speedup of 9.5× over the serial BFS implementation. Also, on a synthetic dense graph, our method processes 9.3 billion edges per second, showing its efficiency in dense graph traversal.

Original languageEnglish
Title of host publicationProceedings of the 1st FastCode Programming Challenge, FCPC 2025
Pages28-32
Number of pages5
ISBN (Electronic)9798400714467
DOIs
StatePublished - 2 May 2025
Event1st FastCode Programming Challenge, FCPC 2025 - Las Vegas, United States
Duration: 1 Mar 20255 Mar 2025

Publication series

NameProceedings of the 1st FastCode Programming Challenge, FCPC 2025

Conference

Conference1st FastCode Programming Challenge, FCPC 2025
Country/TerritoryUnited States
CityLas Vegas
Period1/03/255/03/25

Fingerprint

Dive into the research topics of 'Optimized Parallel Breadth-First Search with Adaptive Strategies'. Together they form a unique fingerprint.

Cite this