As graph datasets for Graph Convolutional Networks (GCNs) scale to terabytes, moving data from storage to accelerators has become a primary performance bottleneck. This paper introduces GRAPHIC, an architecture designed to overcome the "memory wall" by performing graph aggregation directly inside Solid-State Drives (SSDs). By utilizing a novel SRAM-based computing engine to compress data before transmission, GRAPHIC slashes SSD data loading by 50x and achieves a 3.6x speedup over state-of-the-art graph accelerators.
The Memory Wall in Large-Scale GCNs
Graph Convolutional Networks are essential for modern recommendation systems and natural language processing. However, real-world graphs—such as social networks or e-commerce interactions—often reach terabyte scales. This size far exceeds the capacity of a single computer's DRAM, necessitating storage on SSDs.
GCNs require highly irregular, random memory accesses to fetch the features of a vertex's neighbors during the "aggregation" phase. Fetching this sparse data from an SSD to a CPU or ASIC accelerator over a slow off-chip bus creates a severe latency bottleneck. While near-storage computing using FPGAs has been explored, these solutions often suffer from low area efficiency and cannot match the massive concurrency required by modern graph algorithms.
The GRAPHIC Architecture
To address these challenges, the authors propose the GRAPHIC system, which integrates two major architectural innovations: Compressive Graph Transmission (CGTrans) and the FAST-GAS Engine.
Compressive Graph Transmission (CGTrans)
CGTrans rethinks the GCN workload by splitting it into two distinct phases based on data flow characteristics. The data-heavy, irregular aggregation step is moved inside the SSD. In contrast, the compute-heavy, regular "combination" step (typically a Multi-Layer Perceptron) remains on a standard ASIC accelerator outside the drive.
By aggregating data before it leaves the SSD, the system effectively "compresses" the data. Instead of sending raw, sparse neighbor features across the PCIe bus, GRAPHIC only transmits the final, condensed feature vectors. This approach drastically reduces bus traffic and solves the off-chip bandwidth problem.
The FAST-GAS Engine
To perform in-SSD aggregation efficiently, GRAPHIC replaces traditional FPGAs with a custom Gather-And-Scatter (GAS) cache engine. This engine combines Content-Addressable Memory (CAM) with a Fully Concurrent Access Technique (FAST) SRAM:
- Parallel Search: The CAM stores graph edges, allowing the system to find all neighbors of a queried vertex simultaneously.
- Direct Activation: By wiring CAM match lines directly to SRAM wordlines, the engine bypasses traditional decoder bottlenecks, enabling massive parallel processing.
- In-Memory Compute: The FAST SRAM features shiftable bit-cells and 1-bit ALUs, performing bit-serial arithmetic (such as neighbor feature addition) directly where the data resides.
- Idle-Skip Strategy: To manage graph sparsity, the engine skips computation cycles for unmatched rows, significantly saving time and energy.
Key Results and Performance
Evaluation against standard graph datasets (including Reddit, Amazon, and OGBN-100M) demonstrates the efficiency of the GRAPHIC architecture:
- Data Reduction: CGTrans reduces the volume of data loaded from the SSD by a factor of 50x.
- System Speedup: GRAPHIC achieves an average speedup of 3.6x over GCNAX (a state-of-the-art ASIC accelerator) and 2.4x over Insider (an FPGA-based near-SSD system).
- Efficiency: The system reduces overall latency by approximately 70% and offers a 5x area efficiency improvement over FPGA-based solutions, making it viable for integration into standard SSD internal architectures.
Conclusion and Future Directions
GRAPHIC demonstrates that hardware specialization based on data flow patterns can effectively dismantle the memory wall for large-scale graph processing. While the current speedup relies heavily on the "idle-skip" strategy to handle sparsity, future work may explore moving computation even deeper into the storage medium—potentially into the Flash memory itself—to further enhance the performance of the CGTrans architecture.
Summary updated