[Paper Review] GRE: A Graph Runtime Engine for Large-Scale Distributed Graph-Parallel Applications
GRE proposes a novel graph runtime engine that enhances large-scale distributed graph-parallel computing through a Scatter-Combine computation model and an Agent-Graph data model. By exploiting fine-grained edge-level parallelism via active messages and optimizing directed graph partitioning through vertex factorization, GRE achieves 2.5–17× better performance than PowerGraph and handles graphs up to 1 billion vertices and 17 billion edges with 768GB memory, outperforming existing frameworks in both speed and memory efficiency.
Large-scale distributed graph-parallel computing is challenging. On one hand, due to the irregular computation pattern and lack of locality, it is hard to express parallelism efficiently. On the other hand, due to the scale-free nature, real-world graphs are hard to partition in balance with low cut. To address these challenges, several graph-parallel frameworks including Pregel and GraphLab (PowerGraph) have been developed recently. In this paper, we present an alternative framework, Graph Runtime Engine (GRE). While retaining the vertex-centric programming model, GRE proposes two new abstractions: 1) a Scatter-Combine computation model based on active message to exploit massive fined-grained edge-level parallelism, and 2) a Agent-Graph data model based on vertex factorization to partition and represent directed graphs. GRE is implemented on commercial off-the-shelf multi-core cluster. We experimentally evaluate GRE with three benchmark programs (PageRank, Single Source Shortest Path and Connected Components) on real-world and synthetic graphs of millions billion of vertices. Compared to PowerGraph, GRE shows 2.5~17 times better performance on 8~16 machines (192 cores). Specifically, the PageRank in GRE is the fastest when comparing to counterparts of other frameworks (PowerGraph, Spark,Twister) reported in public literatures. Besides, GRE significantly optimizes memory usage so that it can process a large graph of 1 billion vertices and 17 billion edges on our cluster with totally 768GB memory, while PowerGraph can only process less than half of this graph scale.
Motivation & Objective
- Address the challenge of expressing irregular, fine-grained parallelism in large-scale graph-parallel workloads due to irregular data access and low locality.
- Overcome the difficulty of balanced graph partitioning in scale-free graphs with skewed degree distributions, which leads to high communication overhead.
- Design a new computation model that retains the simplicity of the vertex-centric model while enabling efficient, massive edge-level parallelism.
- Develop a distributed data model that reduces communication cost and memory usage by factorizing vertices into agents for directed graphs.
- Achieve high performance and scalability on real-world and synthetic graphs with billions of vertices and edges using commodity multi-core clusters.
Proposed method
- Introduce the Scatter-Combine computation model, which transforms the traditional two-sided edge operation in GAS (Gather-Apply-Scatter) into one-sided active messages to exploit fine-grained edge-level parallelism.
- Use active message passing as the communication primitive, enabling efficient, low-overhead message transmission compared to traditional message passing or shared memory models.
- Propose the Agent-Graph data model, which factorizes vertices into agents to represent directed graphs, allowing more efficient partitioning and reduced edge-cut in distributed systems.
- Implement vertex-cut-based partitioning on the Agent-Graph model, similar to PowerGraph’s approach but adapted for directed graphs and optimized for communication reduction.
- Integrate low-level optimizations such as vLock for fine-grained synchronization and FastForward for thread-level communication to enhance local performance on multi-core machines.
- Build a complete runtime system on a commercial off-the-shelf multi-core cluster, supporting iterative graph algorithms like PageRank, SSSP, and Connected Components.
Experimental results
Research questions
- RQ1How can fine-grained edge-level parallelism be efficiently expressed and exploited in large-scale distributed graph-parallel applications with irregular access patterns?
- RQ2To what extent can a vertex factorization-based data model reduce communication overhead and improve load balancing in scale-free directed graphs?
- RQ3Can a new computation model based on active messages outperform traditional GAS and message-passing models in terms of performance and memory efficiency?
- RQ4How does the proposed Agent-Graph model compare to edge-cut and vertex-cut partitioning in terms of communication cost and scalability on real-world graphs?
- RQ5What is the end-to-end performance and memory efficiency of GRE when processing billion-scale graphs compared to existing frameworks like PowerGraph, Spark, and Twister?
Key findings
- GRE achieves 2.5 to 17 times better performance than PowerGraph on 8 to 16 machines (192 cores) across three benchmark workloads: PageRank, Single Source Shortest Path, and Connected Components.
- PageRank in GRE is the fastest reported in public literature, outperforming counterparts in PowerGraph, Spark, and Twister.
- GRE reduces memory usage significantly, enabling processing of a 1-billion-vertex, 17-billion-edge graph on a 768GB memory cluster—while PowerGraph can only handle less than half that scale.
- The Agent-Graph model reduces communication cost by minimizing edge-cut through vertex factorization, especially effective in directed graphs with skewed degree distributions.
- The Scatter-Combine model enables efficient exploitation of massive edge-grained parallelism, with active message passing reducing synchronization and communication overhead compared to traditional models.
- The runtime system demonstrates strong scalability and efficiency, with high performance on both real-world and synthetic graphs, validating the effectiveness of the proposed abstractions in practice.
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.