Abstract
The Erudite architecture proposes a fundamental shift in computer design by coupling high-density Flash storage directly with near-data accelerators, bypassing the CPU entirely for data movement. By allowing GPU-like threads to manage their own fine-grained I/O requests, Erudite aims to scale memory capacity and bandwidth at the same rate as compute throughput, specifically for massive, sparse AI and graph workloads.
The Memory Wall Problem
Modern computing is hitting a "Memory Wall." While GPU and TPU compute performance has skyrocketed—NVIDIA GPU throughput increased 30× in just four years—memory capacity and bandwidth have lagged significantly, growing only about 2× in the same period.
Emerging workloads like GPT-3, recommendation systems, and massive graph analytics require terabytes of data. When data exceeds the capacity of expensive HBM or DRAM, current systems rely on the CPU to fetch data from SSDs. This creates three major bottlenecks:
- Software Overhead: The CPU's operating system stack (drivers, file systems, page faults) cannot keep pace with the millions of parallel requests generated by a GPU.
- I/O Amplification: Traditional systems fetch data in coarse 4KB chunks. For sparse AI models needing only a few bytes, this wastes significant bandwidth.
- The CPU Middleman: Forcing all data through a central "root complex" limits the aggregate bandwidth available to accelerators.
The Erudite Architecture
To overcome these limitations, the authors propose Erudite, a decentralized architecture centered on the Erudite Processing Unit (EPU).
The architecture consists of several key innovations:
- Erudite Compute Unit (ECU): A many-core accelerator based on GPU principles, designed to hide Flash latency through massive parallelism.
- Direct NVMe Access: ECU threads initiate fine-grained NVMe requests directly to local SSDs, bypassing the CPU.
- Erudite Controller: A specialized hardware layer that virtualizes SSDs and manages a lightweight file system without host OS involvement.
- Erudite Switch: A custom, low-latency interconnect designed to handle massive numbers of small (e.g., 128B) packets between EPUs.
- Flash as Main Memory: By treating high-density Flash as primary memory, the system achieves TB-scale capacity cost-effectively.
Evaluation and Trends
Erudite is designed to handle the explosive growth in model parameters seen in NLP (GPT-3), graph analytics (Friendster, Moliere), and recommendation systems (DLRM).
Key Insights
- Embracing Sparsity: Modern AI apps often lack spatial locality. Erudite uses fine-grained access (128B–512B) to prevent bandwidth waste.
- Latency Hiding: While Flash is slower than DRAM, its massive internal parallelism allows millions of concurrent threads to saturate hardware bandwidth.
- Co-scaling: Adding EPUs automatically scales both compute and memory resources.
Theoretical Results
Calculations show that saturating a 16GB/s link with 512B transfers requires an access every 32ns and 2,000 simultaneous requests. While impossible for current CPU-based stacks, this is the target for the Erudite ECU.
Challenges and Future Work
Transitioning to this architecture requires overcoming significant hurdles:
- Software Ecosystem: Rethinking OS features like page caches for extreme parallelism.
- Programming Models: Developing libraries to help programmers manage near-data logic.
- Hardware Efficiency: Optimizing interconnects for small packet overhead.
- Consistency: Maintaining data coherence across EPUs without a central controller.
Summary updated