[Paper Review] BigSparse: High-performance external graph analytics
BigSparse is a fully external graph analytics system that enables high-performance processing of terabyte-scale graphs on machines with limited DRAM by storing both edge and vertex data on SSDs. It achieves this by logging vertex updates, interleaving sorting with reduction to minimize I/O overhead, and outperforming in-memory and semi-external systems on large graphs, even with only 32–64GB of DRAM.
We present BigSparse, a fully external graph analytics system that picks up where semi-external systems like FlashGraph and X-Stream, which only store vertex data in memory, left off. BigSparse stores both edge and vertex data in an array of SSDs and avoids random updates to the vertex data, by first logging the vertex updates and then sorting the log to sequentialize accesses to the SSDs. This newly introduced sorting overhead is reduced significantly by interleaving sorting with vertex reduction operations. In our experiments on a server with 32GB to 64GB of DRAM, BigSparse outperforms other in-memory and semi-external graph analytics systems for algorithms such as PageRank, BreadthFirst Search, and Betweenness-Centrality for terabyte-size graphs with billions of vertices. BigSparse is capable of highspeed analytics of much larger graphs, on the same machine configuration.
Motivation & Objective
- Address the scalability limitations of in-memory and semi-external graph systems that require large DRAM to store vertex data.
- Overcome the performance bottleneck of fine-grained random I/O on secondary storage by enabling sequential access patterns.
- Design a fully external system that maintains high performance even when vertex data exceeds available DRAM capacity.
- Minimize I/O overhead from sorting vertex updates by interleaving sorting with reduction operations.
- Enable cost-effective, single-node analytics on billion-vertex graphs using affordable SSD storage instead of expensive memory scaling.
Proposed method
- Store both edge and vertex data on an array of SSDs, avoiding in-memory storage of vertex data.
- Log all vertex updates externally instead of performing random writes, reducing random I/O overhead.
- Sort the update log in batches to convert random access patterns into sequential I/O operations.
- Interleave sorting and reduction operations during merge phases to progressively reduce the size of intermediate data.
- Use in-memory merge-sort phases followed by external merge-reduce to minimize data movement to SSDs.
- Leverage high locality in real-world graphs to accelerate reduction, reducing intermediate data size by up to 90% after first merge phase.
Experimental results
Research questions
- RQ1Can a fully external graph system achieve performance competitive with in-memory systems while requiring significantly less DRAM?
- RQ2How effective is interleaving sorting and reduction in minimizing I/O overhead for vertex update processing?
- RQ3To what extent can a system with minimal DRAM (e.g., 32–64GB) outperform semi-external systems when vertex data exceeds memory capacity?
- RQ4How does BigSparse maintain high performance on sparse algorithms like PageRank and Betweenness-Centrality with large graphs?
- RQ5What is the impact of data reduction on flash storage wear and system I/O efficiency in external graph processing?
Key findings
- BigSparse outperforms in-memory and semi-external systems like FlashGraph and X-Stream on terabyte-scale graphs (e.g., Web Data Commons with 3.5B vertices) when DRAM is limited to 32–64GB.
- On the Web Data Commons graph with 48GB of memory, BigSparse was the only system able to perform high-speed analytics across all tested algorithms (PageRank, BFS, Betweenness-Centrality).
- Interleaving sorting with reduction reduced the total data movement to storage by up to 90% compared to sorting first and then reducing.
- After the first in-memory merge phase, intermediate data was reduced by over 80% for the Twitter graph and 90% for the WDC graph, significantly lowering I/O volume.
- BigSparse achieved 1800% CPU utilization, significantly lower than FlashGraph (3200%) and X-Stream (3200%), indicating better resource utilization due to storage-bound performance.
- The system reduces flash write amplification by writing only 5–10% of the original intermediate data size to SSDs, extending flash lifetime and improving I/O efficiency.
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.