Skip to main content
QUICK REVIEW

[Paper Review] Efficient Processing of Very Large Graphs in a Small Cluster

Da Yan, Yuzhen Huang|arXiv (Cornell University)|Jan 21, 2016
Graph Theory and AlgorithmsComputer Science21 references12 citations
TL;DR

GraphD is a Pregel-like system that enables efficient processing of very large graphs on small clusters by streaming edges and messages on local disks while overlapping computation with communication. It achieves near-in-memory performance by eliminating expensive external-memory operations through ID recoding and a novel skip function, requiring only O(|V|/n) memory per machine, outperforming existing out-of-core systems by orders of magnitude.

ABSTRACT

Inspired by the success of Google's Pregel, many systems have been developed recently for iterative computation over big graphs. These systems provide a user-friendly vertex-centric programming interface, where a programmer only needs to specify the behavior of one generic vertex when developing a parallel graph algorithm. However, most existing systems require the input graph to reside in memories of the machines in a cluster, and the few out-of-core systems suffer from problems such as poor efficiency for sparse computation workload, high demand on network bandwidth, and expensive cost incurred by external-memory join and group-by. In this paper, we introduce the GraphD system for a user to process very large graphs with ordinary computing resources. GraphD fully overlaps computation with communication, by streaming edges and messages on local disks, while transmitting messages in parallel. For a broad class of Pregel algorithms where message combiner is applicable, GraphD eliminates the need of any expensive external-memory join or group-by. These key techniques allow GraphD to achieve comparable performance to in-memory Pregel-like systems without keeping edges and messages in memories. We prove that to process a graph G=(V, E) with n machines using GraphD, each machine only requires O(|V|/n) memory space, allowing GraphD to scale to very large graphs with a small cluster. Extensive experiments show that GraphD beats existing out-of-core systems by orders of magnitude, and achieves comparable performance to in-memory systems running with enough memories.

Motivation & Objective

  • To address the scalability limitations of in-memory graph processing systems that require large memory footprints for very large graphs.
  • To overcome the inefficiencies of existing out-of-core systems that rely on expensive external-memory operations like join and group-by.
  • To enable efficient processing of sparse computation workloads in out-of-core environments where only a small fraction of vertices are active per iteration.
  • To design a system that fully overlaps computation with communication using local disk buffering, minimizing I/O and network bottlenecks on standard clusters.
  • To achieve performance competitive with in-memory systems while using only O(|V|/n) memory per machine, enabling deployment on ordinary computing resources.

Proposed method

  • GraphD streams edges and messages directly from disk, avoiding in-memory storage of the full graph and message sets.
  • It uses a novel skip function (skip(num_items)) to efficiently handle sparse computation workloads by skipping inactive vertices without loading them.
  • The system overlaps disk I/O and network communication by buffering outgoing messages on local disks, hiding I/O latency within communication time.
  • For algorithms with message combiners, GraphD applies ID recoding to eliminate the need for expensive external-memory merge-sort or group-by operations.
  • It leverages sequential I/O bandwidth by organizing data access patterns to minimize random access and maximize throughput.
  • The system is designed for clusters connected via Gigabit Ethernet, optimizing for low network bandwidth and high I/O efficiency.

Experimental results

Research questions

  • RQ1Can a Pregel-like system achieve near-in-memory performance for large graphs without keeping the entire graph and messages in main memory?
  • RQ2How can out-of-core graph processing be made efficient for sparse computation workloads where only a small fraction of vertices are active per iteration?
  • RQ3Can disk streaming and communication overlap be effectively exploited to minimize I/O and network bottlenecks in standard cluster environments?
  • RQ4To what extent can ID recoding eliminate the need for expensive external-memory operations like merge-sort and group-by in out-of-core graph processing?
  • RQ5How does GraphD’s performance compare to both in-memory and existing out-of-core systems across diverse graph workloads and cluster configurations?

Key findings

  • GraphD outperforms existing out-of-core systems by orders of magnitude, particularly on sparse workloads like SSSP and BFS.
  • On the WebUK graph, GraphD achieved sub-second superstep times (0.02–0.03 seconds), while Pregelix incurred a fixed cost of at least 35 seconds per superstep, making it over 1000x slower.
  • X-Stream failed to complete on WebUK within a day due to high I/O overhead from streaming all edges in each iteration, highlighting its inefficiency for long-running sparse algorithms.
  • On BTC and WebUK, IO-Recoding mode in GraphD outperformed IO-Basic when message counts were low, due to reduced array management cost.
  • GraphD achieved performance competitive with in-memory Pregel-like systems, even when those systems had sufficient memory, demonstrating its efficiency and scalability.
  • The system requires only O(|V|/n) memory per machine, enabling processing of very large graphs like ClueWeb (400GB+) on small clusters with ordinary hardware.

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.