Introduction
Processing "Big Graphs" with billions of vertices and edges typically forces a compromise between expensive in-memory clusters and slow single-machine out-of-core systems. In-memory systems like Ligra offer high performance but require massive RAM, while out-of-core systems like GraphChi minimize hardware costs at the expense of significant disk I/O bottlenecks. GraphMP addresses this gap by introducing a Semi-External-Memory (SEM) approach, optimized for modern commodity servers that possess enough RAM to store vertex data but not the entire edge set.
Methodology
GraphMP's efficiency stems from three primary innovations:
- Vertex-centric Sliding Window (VSW): By maintaining source and destination vertex arrays entirely in RAM, GraphMP eliminates the need to write vertex updates back to disk. It processes edge shards from the disk in a sliding window fashion to update the in-memory state.
- Selective Scheduling with Bloom Filters: To avoid redundant I/O, GraphMP uses Bloom filters to identify shards containing edges connected to "active" vertices. If no vertices in a shard require updates, the system skips loading it entirely.
- Compressed Edge Cache: GraphMP utilizes available RAM to cache edge shards using compression (e.g., Snappy, Zlib). This leverages CPU cycles for decompression, which is significantly faster than reading from mechanical disks, effectively increasing the usable memory capacity.
Performance Evaluation
The system was evaluated using massive real-world datasets, including the EU-2015 graph with 1.1 billion vertices and 91.8 billion edges.
Key Results
GraphMP demonstrates substantial performance gains over traditional out-of-core systems, outperforming GraphChi by up to 31.6x and X-Stream by 54.5x on billion-vertex graphs. Notably, it remains competitive with—and sometimes exceeds—the performance of in-memory systems like GraphMat when accounting for data loading times.
As shown in the evaluation of SSSP and WCC (Figure 6), GraphMP's execution time decreases significantly as the number of active vertices diminishes, thanks to its selective scheduling mechanism. In the EU-2015 test, compressed caching allowed the system to store the entire 91.8-billion-edge set in approximately 68GB of RAM, effectively transitioning from a disk-based to an in-memory execution mode after the initial pass.
Conclusion
GraphMP successfully bridges the gap between cluster-based and disk-based graph processing. By prioritizing vertex data in RAM and optimizing edge access through compression and selective scheduling, it enables a single commodity machine to process massive graphs that previously required expensive distributed infrastructure.
Summary updated