MemPool Flavors: Between Versatility and Specialization in a RISC-V Manycore Cluster

Sergio Mazzola, Yichao Zhang, Marco Bertuletti, Diyou Shen, Luca BeniniarXiv 2025 · DOI

Abstract

MemPool is an open-source, RISC-V-based manycore platform designed to scale up to 1024 processing elements sharing a massive pool of L1 memory. This paper investigates the trade-offs between architectural versatility and specialization by comparing three distinct "flavors" of the MemPool architecture: Baseline, Systolic, and Vectorial. Using a 32-bit floating-point matrix multiplication benchmark, we demonstrate that while specialization incurs a modest area overhead (5–8%), it significantly enhances performance utilization, reaching up to 94% in the Vectorial configuration. These results highlight the potential for modular hardware extensions to address the high-throughput demands of AI and 6G telecommunications while maintaining programmability.

Introduction

Modern computational workloads, such as Large Language Models (LLMs) and 6G baseband processing, are caught in a "tug-of-war" between two architectural extremes. General-purpose processors offer ease of programming but struggle with energy efficiency and memory bottlenecks. Conversely, fully specialized Application-Specific Integrated Circuits (ASICs) provide superior performance but are rigid and costly to develop. MemPool addresses this challenge by providing a manycore cluster that remains flexible enough for various tasks while offering high-throughput memory access through a shared L1 Scratchpad Memory (SPM).

Architectural Methods

The MemPool platform utilizes a hierarchical, low-latency interconnect that allows all cores to share a large pool of multi-banked L1 SPM. This "memory-first" approach decouples processing elements from specific dataflows, making the system highly adaptable. To explore the trade-offs of specialization, we evaluate three architectural flavors:

  • Baseline MemPool: Utilizes 256 "Snitch" cores—tiny, 32-bit RISC-V cores designed to hide memory latency.
  • Systolic MemPool: Introduces a custom Instruction Set Architecture (ISA) extension allowing cores to communicate via memory-mapped queues. This mimics the efficient dataflow of a systolic array without sacrificing general-purpose execution.
  • Vectorial MemPool: Replaces standard cores with "Spatz" vector accelerators. This version is compliant with the RISC-V Vector Extension (RVV) and utilizes Single Instruction, Multiple Data (SIMD) execution for parallel processing.
The MemPool architecture and its specialized extensions (Systolic and Vectorial).

Results and Performance Analysis

The designs were implemented using GlobalFoundries’ 12nm FinFET technology and evaluated using a 32-bit floating-point matrix multiplication (matmul) kernel. The results demonstrate a clear correlation between specialization and efficiency:

  • Utilization: The Baseline flavor achieved 59% utilization. The Systolic extension improved this to 66%, while the Vectorial flavor reached a staggering 94% utilization for RVV-optimized workloads.
  • Area Overhead: Specialization requires additional silicon. The Systolic flavor added 5% to the tile area, while the Vectorial flavor was 8% larger than the baseline.
  • Throughput: All three flavors were clocked at 800 MHz, delivering a peak single-precision performance of 204.8 GFLOP/s.
Comparison of matmul utilization and silicon area across the three MemPool flavors.

Discussion and Future Work

The "Vectorial" flavor demonstrates the classic trade-off of SIMD architectures: while it achieves near-perfect utilization for optimized code, its efficiency drops for non-vectorizable tasks due to the reduction in general-purpose core count per tile. In contrast, the "Systolic" flavor offers a low-cost middle ground, boosting performance with minimal area impact.

Future work on the MemPool project includes scaling to 1024 cores for 6G (TeraPool), developing specialized versions for Transformer models (ITA MemPool), and exploring traditional cache hierarchies (CachePool) to further simplify the programming model. These developments continue to push the boundaries of how manycore systems can balance the competing needs of efficiency and versatility.

Summary updated

BibTeX
@misc{mazzola2025mempool,
  author = {Sergio Mazzola and Yichao Zhang and Marco Bertuletti and Diyou Shen and Luca Benini},
  title = {{MemPool Flavors: Between Versatility and Specialization in a RISC-V Manycore Cluster}},
  year = {2025},
  eprint = {2504.03675},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.03675},
}
Figure