[Paper Review] Parallel Delta-Stepping Algorithm for Shared Memory Architectures
This paper presents a shared-memory implementation of the delta-stepping algorithm for single-source shortest paths in directed and undirected graphs, optimizing for reduced synchronization overhead. It achieves at least 50% parallel efficiency on both multi-core CPUs and Intel Xeon Phi, outperforming Boost Graph Library's Dijkstra’s algorithm on small-diameter graphs in sequential mode.
We present a shared memory implementation of a parallel algorithm, called delta-stepping, for solving the single source shortest path problem for directed and undirected graphs. In order to reduce synchronization costs we make some deviations from the algorithm and discuss the consequences. We study the behaviour of our implementation on small-world and scale-free graphs, and graphs arising from game maps. We collect performance data on multi-core CPUs and Intel Xeon Phi. When run in sequential mode, our implementation outperforms the implementation of Dijkstra's algorithm from Boost Graph Library on graphs with a small diameter. Both on the CPU and the co-processor we achieve an overall performance of at least 50% parallel efficiency.
Motivation & Objective
- To develop a scalable shared-memory parallel implementation of the delta-stepping algorithm for shortest path computation.
- To reduce synchronization costs in parallel graph processing by modifying the original delta-stepping algorithm.
- To evaluate performance on diverse graph types, including small-world, scale-free, and game map graphs.
- To achieve high parallel efficiency on both traditional multi-core CPUs and accelerators like Intel Xeon Phi.
Proposed method
- Adapt the delta-stepping algorithm for shared memory by restructuring work distribution to minimize thread synchronization.
- Use a bucket-based approach to manage vertices by tentative distance, enabling parallel relaxation of edges.
- Introduce algorithmic modifications to reduce dependency on atomic operations and synchronization points.
- Implement the algorithm using C++ with OpenMP for task parallelism on shared-memory systems.
- Evaluate performance on both CPU and Intel Xeon Phi architectures using real-world and synthetic graph workloads.
- Compare sequential performance against the Boost Graph Library’s Dijkstra’s implementation to assess baseline efficiency.
Experimental results
Research questions
- RQ1How does the shared-memory delta-stepping implementation perform on small-world and scale-free graphs compared to sequential Dijkstra’s algorithm?
- RQ2What is the impact of algorithmic modifications on synchronization overhead and parallel efficiency?
- RQ3Can the implementation achieve high parallel efficiency on both multi-core CPUs and Intel Xeon Phi?
- RQ4How does the performance of the proposed implementation compare to the Boost Graph Library’s Dijkstra’s algorithm in sequential mode?
- RQ5What is the scalability of the algorithm across different graph types and hardware platforms?
Key findings
- The sequential version of the implementation outperforms the Boost Graph Library’s Dijkstra’s algorithm on graphs with a small diameter.
- The implementation achieves at least 50% parallel efficiency on both multi-core CPUs and Intel Xeon Phi architectures.
- Performance improvements are observed across diverse graph types, including small-world, scale-free, and game map graphs.
- The algorithmic modifications effectively reduce synchronization costs, enhancing parallel scalability.
- The implementation demonstrates strong performance on both general-purpose CPUs and accelerator hardware like Xeon Phi.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.