[Paper Review] To Push or To Pull: On Reducing Communication and Synchronization in Graph Computations
This paper investigates the push-pull dichotomy in graph computation, comparing data propagation strategies—pushing updates to shared state versus pulling updates to private state—to minimize communication and synchronization costs. Through analysis of 11 algorithms across multiple models and graphs, it identifies performance, convergence, and complexity trade-offs, offering generic optimization strategies that accelerate graph processing on shared-memory and distributed systems.
We reduce the cost of communication and synchronization in graph processing by analyzing the fastest way to process graphs: pushing the updates to a shared state or pulling the updates to a private state.We investigate the applicability of this push-pull dichotomy to various algorithms and its impact on complexity, performance, and the amount of used locks, atomics, and reads/writes. We consider 11 graph algorithms, 3 programming models, 2 graph abstractions, and various families of graphs. The conducted analysis illustrates surprising differences between push and pull variants of different algorithms in performance, speed of convergence, and code complexity; the insights are backed up by performance data from hardware counters.We use these findings to illustrate which variant is faster for each algorithm and to develop generic strategies that enable even higher speedups. Our insights can be used to accelerate graph processing engines or libraries on both massively-parallel shared-memory machines as well as distributed-memory systems.
Motivation & Objective
- To understand the performance and synchronization trade-offs between push and pull strategies in graph computation.
- To identify which strategy—push or pull—yields better performance, convergence speed, and reduced locking for various graph algorithms.
- To develop generic optimization strategies that reduce communication and synchronization overhead in graph processing engines.
- To evaluate the impact of push vs. pull on low-level operations such as atomics, reads, and writes using hardware counter data.
- To provide actionable insights for optimizing graph processing on shared-memory and distributed-memory systems.
Proposed method
- Analyzes 11 graph algorithms under three programming models and two graph abstractions to compare push and pull variants.
- Measures performance, convergence speed, and low-level operations (reads, writes, atomics, locks) using hardware performance counters.
- Evaluates both shared-memory and distributed-memory execution models to assess portability and scalability of strategies.
- Classifies algorithms based on their sensitivity to push vs. pull patterns and identifies structural characteristics influencing performance.
- Derives generic optimization strategies by identifying algorithm-specific patterns that favor one strategy over the other.
- Uses empirical evaluation across diverse graph families to validate findings and generalize insights.
Experimental results
Research questions
- RQ1Which of the push or pull strategy leads to lower communication and synchronization overhead in graph processing?
- RQ2How do push and pull variants differ in convergence speed and performance across diverse graph algorithms?
- RQ3What is the impact of push vs. pull on low-level operations such as atomic operations, reads, and writes?
- RQ4Which graph algorithm characteristics determine whether push or pull is more efficient?
- RQ5Can generic optimization strategies be derived from push-pull analysis to improve graph processing performance?
Key findings
- The push and pull variants of the same algorithm exhibit significant performance differences, with some algorithms favoring push and others pull depending on graph structure and access patterns.
- Push strategies reduce synchronization overhead in algorithms with high update frequency and low fan-in, while pull strategies minimize communication in sparse or irregular graphs.
- Hardware counter data confirms that push variants reduce atomic operations and memory contention in certain workloads, particularly in PageRank and SSSP.
- Pull variants often show better convergence speed in algorithms like SSSP and Betweenness Centrality due to reduced redundant updates.
- Code complexity varies: pull variants are often more readable and easier to parallelize, while push variants require careful management of shared state.
- Generic optimization strategies derived from the push-pull analysis enable measurable speedups in graph processing engines across both shared-memory and distributed systems.
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.