[Paper Review] MemPool: A Scalable Manycore Architecture With a Low-Latency Shared L1 Memory
MemPool presents a scalable manycore RISC-V architecture with 256 independently programmable Snitch cores sharing a low-latency, 1 MiB multi-banked L1 scratchpad memory (SPM), achieving up to 229 GOPS at 180 GOPS/W efficiency. It uses a hierarchical interconnect, optimized instruction path, and custom DMA to enable global memory access in ≤5 cycles and minimize stalls, enabling high performance and programmability at scale.
Shared L1 memory clusters are a common architectural pattern (e.g., in GPGPUs) for building efficient and flexible multi-processing-element (PE) engines. However, it is a common belief that these tightly-coupled clusters would not scale beyond a few tens of PEs. In this work, we tackle scaling shared L1 clusters to hundreds of PEs while supporting a flexible and productive programming model and maintaining high efficiency. We present MemPool, a manycore system with 256 RV32IMAXpulpimg "Snitch" cores featuring application-tunable functional units. We designed and implemented an efficient low-latency PE to L1-memory interconnect, an optimized instruction path to ensure each PE's independent execution, and a powerful DMA engine and system interconnect to stream data in and out. MemPool is easy to program, with all the cores sharing a global view of a large, multi-banked, L1 scratchpad memory, accessible within at most five cycles in the absence of conflicts. We provide multiple runtimes to program MemPool at different abstraction levels and illustrate its versatility with a wide set of applications. MemPool runs at 600 MHz (60 gate delays) in typical conditions (TT/0.80 V/25 °C) in 22 nm FDX technology and achieves a performance of up to 229 GOPS or 180 GOPS/W with less than 2% of execution stalls.
Motivation & Objective
- Address the scalability challenge of shared L1 memory clusters beyond tens of cores while maintaining low latency and high efficiency.
- Overcome limitations of SIMT and multi-cluster designs by enabling independent, flexible programming of hundreds of cores with global memory access.
- Design a scalable, energy-efficient manycore system that supports general-purpose workloads with minimal architectural complexity and high utilization.
- Enable efficient data movement and synchronization for irregular, data-parallel workloads through a custom DMA and low-latency interconnect.
Proposed method
- Implement a hierarchical, low-latency interconnect that ensures L1 SPM access in ≤5 cycles across all 256 cores under non-contention.
- Design a cache-based, scalable instruction path to deliver instructions to each core independently, minimizing pipeline stalls.
- Integrate a distributed DMA engine to efficiently stream data into and out of the shared L1 SPM, reducing CPU overhead.
- Use a hybrid addressing scheme and DSP extensions to enhance computational throughput on RISC-V cores.
- Optimize the Snitch core for memory latency tolerance, enabling effective hiding of interconnect delays.
- Support multiple programming abstractions via compiler and runtime integration (e.g., OpenMP, Halide) for high productivity.
Experimental results
Research questions
- RQ1Can a shared L1 memory cluster be scaled to 256 independently programmable RISC-V cores without sacrificing low-latency access or energy efficiency?
- RQ2How can a low-latency interconnect be designed to maintain ≤5-cycle access latency across a large manycore cluster?
- RQ3To what extent can architectural stalls and memory access overhead be minimized in a shared-memory manycore system with high core counts?
- RQ4How effectively can a custom DMA and instruction path design support high utilization and low overhead in a scalable manycore system?
- RQ5Can general-purpose, irregular workloads be efficiently programmed and executed on such a system with minimal performance loss?
Key findings
- MemPool achieves a peak performance of 229 GOPS and an energy efficiency of 180 GOPS/W in 22 nm FDX technology.
- The system operates at 600 MHz (60 gate delays) with only 2% of execution stalls, indicating high utilization and low architectural overhead.
- Shared memory access latency is bounded at ≤5 cycles in the absence of contention, enabling efficient data sharing across all 256 cores.
- Average per-core IPC reaches 0.96, approaching the theoretical maximum of 1.0, demonstrating high instruction-level parallelism and minimal pipeline stalls.
- Benchmarking shows that performance loss is primarily due to inherent limitations of load-store architectures and synchronization, not architectural inefficiencies.
- The integration of Halide and OpenMP toolchains enables straightforward implementation of complex kernels like histogram equalization, ray tracing, and BFS with high performance.
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.