Abstract
A key challenge in scaling shared-L1 multi-core clusters towards many-core configurations is ensuring low-latency access to shared memory. MemPool addresses this by scaling a shared-L1 architecture to 256 RISC-V "Snitch" cores. By utilizing a hierarchical butterfly interconnect and a hybrid addressing scheme, MemPool provides a global 1MB memory pool accessible within at most 5 cycles. This physical-aware design achieves 700 MHz in 22nm technology, offering performance competitive with an ideal, non-implementable full-crossbar baseline.
The Challenge of Shared-L1 Scaling
In the post-Dennard scaling era, performance gains increasingly rely on higher core counts. However, memory communication remains a primary bottleneck. Most many-core systems utilize multi-level cache hierarchies or Network-on-Chip (NoC) meshes. While scalable, these architectures introduce Non-Uniform Memory Access (NUMA) complexities that complicate programming.
Shared-L1 clusters offer a simpler programming model where all cores share a single pool of fast memory. Historically, this model has been limited to approximately 16 cores because the interconnect wiring required to connect every core to every memory bank becomes prohibitively congested, leading to increased latency and reduced clock frequencies. MemPool demonstrates that this model can scale to hundreds of cores through careful architectural and physical design.
Hierarchical Interconnect and Physical Design
MemPool's primary innovation is its Hierarchical Interconnect (TopH). Rather than a flat network, the system organizes 256 cores into local groups and clusters. It employs fully connected crossbars for local traffic and a radix-4 butterfly network for global communication. This hierarchy significantly reduces wire congestion at the center of the chip, a critical factor since wire delays account for roughly 37% of the critical path timing in modern 22nm nodes.
The design was fully implemented (placed and routed) using a 22nm FD-SOI process to ensure that physical constraints like routing congestion and wire delays were accurately modeled. The resulting 256-core cluster fits within a 4.6 mm × 4.6 mm area.
Hybrid Addressing and Scrambling Logic
To further optimize performance, MemPool implements a Hybrid Addressing Scheme using scrambling logic in the address decoder. While the entire 1MB pool is globally accessible, this scheme allows a core to map private data (such as its stack) to a specific memory bank that can be accessed in just 1 cycle.
This approach provides the best of both worlds: the simplicity of a global memory view and the performance of local scratchpads. Requests to local banks consume only half the energy of remote accesses and lead to performance gains of up to 20% in real-world signal processing benchmarks like the Discrete Cosine Transform (DCT).
Performance and Efficiency
Evaluation using synthetic traffic and signal processing benchmarks (matmul, 2dconv, and dct) confirms MemPool's efficiency:
- Low Latency: Average memory latency remains under 6 cycles even under heavy loads (0.33 requests/core/cycle).
- High Frequency: The system operates at 700 MHz under typical conditions.
- Near-Ideal Performance: For local-heavy tasks, MemPool matches the performance of a theoretical, physically impossible 1-cycle full crossbar.
Conclusion
MemPool proves that shared-L1 architectures can scale to 256 cores without sacrificing the ease of a unified memory view. By prioritizing physical feasibility and locality through hierarchical interconnects and scrambling logic, MemPool provides a scalable template for future many-core systems. Future work may address area efficiency by sharing instruction caches between cores and exploring 3D-stacked memory for even higher core counts.
Summary updated