Skip to main content
QUICK REVIEW

[Paper Review] A New Frontier for Pull-Based Graph Processing

Samuel Grossman, Christos Kozyrakis|arXiv (Cornell University)|Mar 18, 2019
Graph Theory and AlgorithmsComputer Science46 references3 citations
TL;DR

This paper introduces Wedge, a pull-only graph processing framework that reimagines the frontier optimization for pull-based engines, overcoming the long-standing performance disadvantage of pull engines in frontier-driven workloads. By transforming the traditional source-oriented frontier into a destination-oriented 'Wedge Frontier' and applying sparsity-aware and coarsened representation optimizations, Wedge achieves up to 185.5× speedup over GraphMat and outperforms state-of-the-art frameworks like Grazelle and Ligra.

ABSTRACT

The trade-off between pull-based and push-based graph processing engines is well-understood. On one hand, pull-based engines can achieve higher throughput because their workloads are read-dominant, rather than write-dominant, and can proceed without synchronization between threads. On the other hand, push-based engines are much better able to take advantage of the frontier optimization, which leverages the fact that often only a small subset of the graph needs to be accessed to complete an iteration of a graph processing application. Hybrid engines attempt to overcome this trade-off by dynamically switching between push and pull, but there are two key disadvantages with this approach. First, applications must be implemented twice (once for push and once for pull), and second, processing throughput is reduced for iterations that run with push. We propose a radically different solution: rebuild the frontier optimization entirely such that it is well-suited for a pull-based engine. In doing so, we remove the only advantage that a push-based engine had over a pull-based engine, making it possible to eliminate the push-based engine entirely. We introduce Wedge, a pull-only graph processing framework that transforms the traditional source-oriented vertex-based frontier into a pull-friendly format called the Wedge Frontier. The transformation itself is expensive even when parallelized, so we introduce two key optimizations to make it practical. First, we perform the transformation only when the resulting Wedge Frontier is sufficiently sparse. Second, we coarsen the granularity of the representation of elements in the Wedge Frontier. These optimizations respectively improve Wedge's performance by up to 5x and 2x, enabling it to outperform Grazelle, Ligra, and GraphMat respectively by up to 2.8x, 4.9x, and 185.5x.

Motivation & Objective

  • To eliminate the performance gap between push and pull-based graph processing engines by enabling pull engines to efficiently exploit the frontier optimization.
  • To address the conventional wisdom that pull engines cannot efficiently handle the frontier optimization due to their destination-oriented processing model.
  • To eliminate the need for dual implementation of applications in both push and pull patterns, which is a major burden in hybrid frameworks.
  • To design a transformation mechanism that converts standard frontiers into a pull-friendly format without sacrificing performance.
  • To optimize the costly transformation step via sparsity-based triggering and coarsened granularity to make it practical for real-world workloads.

Proposed method

  • Introduce the Wedge Frontier, a destination-oriented data structure that tracks active edges rather than active vertices, aligning with the pull processing pattern.
  • Design a transformation step that converts the standard source-oriented frontier into the Wedge Frontier, enabling pull engines to efficiently identify which edges to process.
  • Apply a sparsity-aware optimization: generate the Wedge Frontier only when the resulting structure is sufficiently sparse to justify the transformation cost.
  • Implement a coarsened granularity optimization that reduces the number of elements in the Wedge Frontier by grouping edges, decreasing both storage and transformation overhead.
  • Integrate the transformation and Wedge Frontier into a pull-only execution model built on top of Grazelle, a state-of-the-art hybrid framework.
  • Leverage existing optimizations in the underlying system (e.g., caching, memory access, SIMD) to further accelerate both the transformation and runtime phases.

Experimental results

Research questions

  • RQ1Can a pull-based graph processing engine efficiently exploit the frontier optimization, traditionally reserved for push-based engines?
  • RQ2Is it possible to eliminate the need for hybrid engines by rearchitecting the frontier data structure for pull-based execution?
  • RQ3What optimizations are necessary to make the transformation from standard frontiers to a pull-friendly format practical despite its computational cost?
  • RQ4How does the performance of a pull-only engine with a reimagined frontier compare to hybrid and push-only engines across diverse graph workloads?
  • RQ5To what extent can sparsity detection and coarsened representation reduce the overhead of frontier transformation in a pull-based system?

Key findings

  • Wedge outperforms Grazelle by up to 2.8×, Ligra by up to 4.9×, and GraphMat by up to 185.5× across diverse graph workloads.
  • The sparsity-aware optimization improves Wedge’s performance by up to 5× by avoiding unnecessary transformation when the frontier is dense.
  • The coarsened granularity optimization improves performance by up to 2× by reducing the size and processing cost of the Wedge Frontier.
  • Wedge achieves superior performance even in sparse iterations that traditionally hurt push-based engines, eliminating the need for push-mode fallback.
  • The pull-only model with Wedge’s transformed frontier achieves performance comparable to or better than hybrid engines, which dynamically switch between patterns.
  • The performance of Wedge’s pull-only mode surpasses that of Grazelle’s pull-only mode by orders of magnitude, demonstrating the effectiveness of the new frontier representation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.