Abstract
GraphH is a hybrid distributed graph processing system designed to handle massive graphs with billions of edges using minimal hardware resources. By implementing a novel Gather-Apply-Broadcast (GAB) computation model and an adaptive edge-caching mechanism, GraphH bridges the gap between memory-intensive in-memory systems and slow disk-based out-of-core systems. Evaluation shows GraphH outperforms traditional in-memory systems by up to 7.8x and out-of-core systems by over 100x.
What Problem Does This Paper Address?
Modern graph analytics faces a significant "memory explosion" challenge. Popular in-memory systems like Pregel or PowerGraph often require 3x to 8x more RAM than the raw size of the graph to store vertex states, edges, and messages. For massive datasets like EU-2015 (91.8 billion edges), this translates to over 5TB of RAM—a resource typically unavailable to smaller research labs.
Existing solutions generally fall into two categories:
- In-Memory Systems: Fast but extremely memory-hungry (e.g., Pregel+, PowerGraph).
- Out-of-Core Systems: Memory-efficient by storing edges on disk but plagued by high I/O overhead (e.g., GraphD, Chaos).
GraphH aims to provide the best of both worlds: the memory efficiency of disk-based approaches with the performance of in-memory systems.
Methods
GraphH introduces a three-pronged architecture to optimize performance in resource-constrained environments:
- Two-Stage Partitioning: A Spark-based engine (SPE) pre-processes raw graphs into "tiles" (disjoint sets of edges) in CSR format. An MPI-based engine (MPE) then assigns these tiles to workers to be processed one at a time in memory, preventing system crashes on large graphs.
- The GAB Computation Model: Unlike the standard GAS (Gather-Apply-Scatter) model, GraphH uses Gather-Apply-Broadcast (GAB). By replicating every vertex on every server, GraphH eliminates complex edge-to-worker mapping metadata. Since vertex data is relatively small compared to edges, this replication is feasible even on small clusters.
- Edge Cache Mechanism: GraphH utilizes all available "idle" RAM to cache tiles using lightweight compression. This approach proves that spending CPU cycles to decompress data is significantly faster than fetching uncompressed data from disk.
- Adaptive Communication: The system switches between dense mode (bitvectors) and sparse mode based on update sparsity, avoiding "all-to-all" bottlenecks during algorithm convergence.
Key Results
The authors evaluated GraphH against seven major graph processing systems using large-scale benchmarks like UK-2007 (5.5B edges) and EU-2015 (91.8B edges).
- Speed: On UK-2007, GraphH was up to 7.8x faster than Pregel+ and PowerGraph. On the massive EU-2015 graph, it was 100x to 320x faster than out-of-core systems like GraphD and Chaos.
- Efficiency: GraphH successfully ran PageRank on the 91.8B edge EU-2015 graph on a single commodity server in 131 seconds per superstep.
- Memory Footprint: GraphH reduced the memory requirement for UK-2007 to just 25GB, a stark contrast to the 281GB–795GB required by in-memory competitors shown in the benchmarks.
Conclusion
GraphH demonstrates that high-performance big graph analytics is possible on small clusters. By prioritizing vertex replication and efficient edge tiling/caching, it overcomes the memory limitations of traditional systems without sacrificing the speed necessary for modern data science.
Summary updated