NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ExtraV: Boosting Graph Processing Near Storage with a Coherent Accelerator

Jinho Lee, Heesu Kim, Sungjoo Yoo, Kiyoung Choi, H. Peter Hofstee, Gi-Joon Nam, Mark Nutter, Damir A. Jamsek

TL;DR

This paper introduces ExtraV, a novel framework for accelerating graph processing by bringing computation closer to storage using a coherent hardware accelerator. By employing "graph virtualization" and an "expand-and-filter" technique, ExtraV significantly boosts performance for out-of-memory graph analytics, bridging the gap between current systems and the ideal of in-memory performance.

What Problem Does This Paper Address?

Processing massive graphs is crucial for many modern applications, from social networks to scientific research. However, as datasets grow exponentially, they often exceed the capacity of main memory, forcing systems to rely on slower storage. Traditional approaches to handle this "out-of-memory" graph processing, like distributed clusters or single-server systems with heavy disk I/O, face challenges. Distributed systems struggle with partitioning and I/O complexity, while single-server systems are bottlenecked by low disk bandwidth and the significant overhead of transferring and converting data between storage and main memory. Near-data processing (NDP) offers a solution by moving computation closer to storage, but offloading all processing can be inefficient due to the limited computational power of storage devices. This paper addresses the need for a system that can efficiently process large graphs stored on disk, leveraging hardware acceleration without sacrificing flexibility or incurring excessive data transfer overhead.

Methods

ExtraV's core innovation lies in its graph virtualization programming model and a coherent hardware accelerator (AFU) placed between the CPU and storage.

  • Graph Virtualization: This model provides the host CPU with an illusion that the graph data resides in main memory in an optimized layout. The AFU handles the complexities of accessing compressed data from storage, decompressing it, and presenting it to the CPU as if it were readily available in memory. This hides the underlying storage details from the application developer.
  • Coherent Accelerator (AFU): This hardware accelerator, implemented on an FPGA in their prototype, performs common graph processing tasks. Crucially, it uses a CAPI (Coherent Accelerator Processor Interface), allowing it to coherently access the host's main memory. This eliminates the need for explicit data copying between the accelerator and main memory, a significant advantage over traditional accelerator interfaces.
  • Expand-and-Filter: To combat storage bandwidth limitations, ExtraV employs this technique. First, graph data is compressed in storage. When fetched by the AFU, it's decompressed (expanded) on-the-fly. Then, a filtering step, guided by a shared bitmap, discards unnecessary data before it's sent to the CPU. This effectively amplifies storage bandwidth.
  • Streaming Queries: The AFU supports various streaming query types (startup, sequential, job-queue, degree) that allow the CPU to request data in chunks, minimizing round-trip latency between the CPU and AFU.
  • Compression Scheme: ExtraV uses a custom compression scheme based on run-length and differential coding, combined with variable-length integer encoding. This scheme aims for high compression ratios, random accessibility, and fast decompression.
  • Multi-versioning: The framework supports managing multiple versions of a graph, allowing for tracking changes and efficient updates without full data decompression.

Datasets

The paper evaluates ExtraV on four real-world graph datasets:

  • Twitter: A social network graph.
  • Friendster: Another social network graph.
  • MS-ref: A graph of paper citations.
  • Gsh-tpd: A web crawl graph.

These datasets vary in size and characteristics, allowing for a comprehensive evaluation of ExtraV's performance across different graph structures.

Key Insights and Ideas

  • Coherent Accelerators are Key: The use of CAPI is a significant differentiator. It allows the AFU to seamlessly interact with main memory, drastically reducing data movement overhead and enabling a more integrated system design compared to traditional DMA-based approaches.
  • Virtualization Simplifies Development: By abstracting away storage complexities, graph virtualization allows developers to focus on algorithm-specific logic, making it easier to develop and deploy graph processing applications.
  • Expand-and-Filter is a Powerful Bandwidth Amplifier: The combination of compression and selective filtering is crucial for overcoming the inherent limitations of storage bandwidth, leading to substantial performance gains.
  • Near-Storage Processing is Viable and Effective: ExtraV demonstrates that by intelligently combining hardware acceleration near storage with smart data management techniques, it's possible to achieve performance competitive with, and sometimes exceeding, in-memory solutions for certain workloads.

Key Results

ExtraV achieved significant speedups compared to state-of-the-art out-of-memory graph processing frameworks like Llama, FlashGraph, and X-stream.

  • For the AT (Average Teenage followers) algorithm, ExtraV showed geometric mean speedups of 3.29x over FlashGraph, 2.47x over Llama, and 23.9x over X-stream.
  • For PageRank (PR), ExtraV achieved speedups of 2.05x over FlashGraph, 2.08x over Llama, and 11.2x over X-stream.
  • For BFS (Breadth-First Search), ExtraV still outperformed Llama by 4.27x and X-stream by 14.9x, though the speedup over FlashGraph was less pronounced (1.84x) due to challenges with partial graph traversals.
  • For CC (Connected Components), ExtraV demonstrated speedups of 2.87x over FlashGraph, 2.34x over Llama, and 28.2x over X-stream on the Twitter graph.
  • The paper also highlights the performance benefits of stream buffers and prefetching, showing up to a 10x slowdown without stream buffers and up to a three-fold performance increase with prefetching.

Limitations and Future Work

  • BFS Performance: The paper acknowledges that ExtraV's performance for BFS is less impressive than for other algorithms. This is attributed to the frequent flushing of stream buffers during partial graph traversals, which slows down the process.
  • Multi-version Scalability: While multi-versioning is supported, the performance impact of increasing the number of versions is noted, particularly for BFS, due to stream buffer flushes.
  • Memory Constraints: The current implementation assumes that vertex attributes can fit into main memory, leaving the scenario where vertices themselves exceed main memory as future work.
  • Future Work: The authors suggest addressing the stream buffer flushing issue for BFS and exploring more advanced techniques for multi-version scalability. They also mention the potential to combine ExtraV with other hardware acceleration approaches for further performance gains.

Summary updated

BibTeX
@article{lee2017extrav,
  author = {Jinho Lee and Heesu Kim and Sungjoo Yoo and Kiyoung Choi and H. Peter Hofstee and Gi-Joon Nam and Mark Nutter and Damir A. Jamsek},
  title = {{ExtraV: Boosting Graph Processing Near Storage with a Coherent Accelerator}},
  journal = {Proc. VLDB Endow.},
  year = {2017},
  doi = {10.14778/3137765.3137776},
}
Figure