[Paper Review] GraphR: Accelerating Graph Processing Using ReRAM
GraphR is the first ReRAM-based graph processing accelerator that leverages analog in-memory computation via ReRAM crossbars to accelerate sparse matrix-vector multiplication (SpMV), the core operation in many graph algorithms. It achieves up to 132.67× speedup and 33.82× energy savings over CPU, outperforming GPU and PIM-based systems in both performance and energy efficiency by exploiting in-situ computation and non-volatile memory characteristics.
This paper presents GRAPHR, the first ReRAM-based graph processing accelerator. GRAPHR follows the principle of near-data processing and explores the opportunity of performing massive parallel analog operations with low hardware and energy cost. The analog computation is suit- able for graph processing because: 1) The algorithms are iterative and could inherently tolerate the imprecision; 2) Both probability calculation (e.g., PageRank and Collaborative Filtering) and typical graph algorithms involving integers (e.g., BFS/SSSP) are resilient to errors. The key insight of GRAPHR is that if a vertex program of a graph algorithm can be expressed in sparse matrix vector multiplication (SpMV), it can be efficiently performed by ReRAM crossbar. We show that this assumption is generally true for a large set of graph algorithms. GRAPHR is a novel accelerator architecture consisting of two components: memory ReRAM and graph engine (GE). The core graph computations are performed in sparse matrix format in GEs (ReRAM crossbars). The vector/matrix-based graph computation is not new, but ReRAM offers the unique opportunity to realize the massive parallelism with unprecedented energy efficiency and low hardware cost. With small subgraphs processed by GEs, the gain of performing parallel operations overshadows the wastes due to sparsity. The experiment results show that GRAPHR achieves a 16.01x (up to 132.67x) speedup and a 33.82x energy saving on geometric mean compared to a CPU baseline system. Com- pared to GPU, GRAPHR achieves 1.69x to 2.19x speedup and consumes 4.77x to 8.91x less energy. GRAPHR gains a speedup of 1.16x to 4.12x, and is 3.67x to 10.96x more energy efficiency compared to PIM-based architecture.
Motivation & Objective
- To address the high memory bandwidth and data movement overhead in conventional graph processing architectures.
- To exploit the inherent error resilience of iterative graph algorithms to enable analog computation in emerging non-volatile memory.
- To design a novel accelerator that integrates ReRAM crossbars and graph engines for efficient in-memory SpMV execution.
- To demonstrate significant performance and energy efficiency gains over CPU, GPU, and PIM-based systems.
- To validate that ReRAM-based analog computation is viable and efficient for real-world graph workloads.
Proposed method
- GraphR maps vertex programs expressed as sparse matrix-vector multiplication (SpMV) onto ReRAM crossbars for in-situ analog computation.
- It uses a two-component architecture: ReRAM-based memory for storing sparse matrices and graph engines (GEs) that perform parallel analog operations.
- The system processes small subgraphs in parallel, where the benefits of massive parallelism outweigh the inefficiencies from sparsity.
- Analog computation is applied directly to the ReRAM crossbar, enabling energy-efficient matrix-vector multiplication without moving data to processing units.
- The design leverages the non-volatile nature of ReRAM to minimize static energy leakage and supports in-memory processing to reduce data movement.
- GraphR employs a hybrid execution model where highly parallelizable SpMV operations are offloaded to ReRAM crossbars, while irregular memory accesses are handled by main memory.
Experimental results
Research questions
- RQ1Can analog in-memory computation using ReRAM crossbars effectively accelerate graph processing workloads?
- RQ2To what extent can the inherent error resilience of iterative graph algorithms tolerate imprecision in analog ReRAM operations?
- RQ3How does ReRAM-based SpMV compare in performance and energy efficiency to CPU, GPU, and PIM-based accelerators?
- RQ4What is the impact of data sparsity on the performance and energy efficiency of GraphR?
- RQ5Can the architectural design of GraphR achieve superior speedup and energy savings by combining in-situ computation with sparse matrix representation?
Key findings
- GraphR achieves a geometric mean speedup of 16.01× (up to 132.67×) over a CPU baseline system across all evaluated graph workloads.
- It delivers a geometric mean energy saving of 33.82× compared to the CPU platform, with the highest energy saving reaching 217.88× on sparse matrix-vector multiplication with the SD dataset.
- Compared to GPU, GraphR achieves 1.69× to 2.19× higher performance and consumes 4.77× to 8.91× less energy, despite having a comparable number of computational units.
- GraphR outperforms PIM-based architectures by 1.16× to 4.12× in speedup and achieves 3.67× to 10.96× higher energy efficiency.
- Performance and energy efficiency slightly decrease with increasing sparsity, but the gains from parallelism still dominate the overheads.
- The results confirm that ReRAM-based analog computation is viable and effective for graph processing, especially for algorithms dominated by MAC operations like PageRank and collaborative filtering.
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.