Monte Cimone v2: HPC RISC-V Cluster Evaluation and Optimization

Emanuele Venieri, Simone Manoni, Gabriele Ceccolini, Giacomo Madella, Federico Ficarelli, Daniele Gregori, Andrea Acquaviva, Luca Benini, Andrea Bartolini

Abstract

The Monte Cimone v2 (MCv2) project represents a significant advancement for RISC-V in high-performance computing (HPC). By transitioning to the 64-core Sophgo SG2042 processor and optimizing the BLIS library for RISC-V vector extensions, researchers achieved a 127x increase in floating-point performance over the previous generation. This work demonstrates the viability of RISC-V for datacenter workloads through hardware scaling and targeted software optimization.

Introduction

While the RISC-V Instruction Set Architecture (ISA) has seen explosive growth in embedded markets, its adoption in High-Performance Computing (HPC) has been hindered by a lack of powerful many-core processors and a mature software ecosystem. HPC requires robust vector units and high memory bandwidth, alongside optimized math libraries and parallel runtimes. The Monte Cimone v2 (MCv2) project addresses this gap, evaluating whether "off-the-shelf" RISC-V server hardware can handle HPC workloads and how to extract maximum performance through software optimization.

Methods and Hardware Architecture

The researchers performed a major overhaul of the original Monte Cimone cluster, upgrading from the 4-core SiFive U740 to the Sophgo Sophon SG2042. This 64-core processor features 128-bit vector units (RVV 0.7.1). The cluster configuration includes three single-socket nodes and one dual-socket node, totaling 128 cores.

Figure 1: Architecture of the Monte Cimone v2 cluster, showing the login node and the two SLURM partitions for Milk-V and SiFive nodes.

The software stack runs on Fedora 38, managed by SLURM and Spack. To support the specific vector instructions of the SG2042, the team utilized the Xuantie GNU toolchain and GCC 14.

BLIS Library Optimization

A core technical contribution of this work is the optimization of the BLIS (Basic Linear Algebra Instantiation Software) library. Because the SG2042 utilizes an older version of the RISC-V Vector specification (v0.7.1), the researchers manually translated assembly micro-kernels from RVV 1.0.

The team refined the GEMM (General Matrix Multiplication) micro-kernel by implementing vector register grouping (LMUL=4). This technique allows a single load operation to populate multiple vector registers, significantly reducing instruction overhead and improving data reuse. This optimization proved that managing the vector unit's register state is as critical as raw clock speed for achieving HPC-grade efficiency.

Performance Evaluation

The study utilized industry-standard benchmarks, including High-Performance LINPACK (HPL) for floating-point performance and STREAM for memory bandwidth.

Figure 6: Performance comparison in Gflop/s across different node configurations, showing the massive leap from MCv1 to MCv2.

Key Results

  • Massive Scaling: MCv2 achieved a 127x increase in HPL performance and a 69x increase in STREAM memory bandwidth compared to its predecessor, MCv1.
  • Memory Throughput: Single-socket nodes saturated at 41.9 GB/s, while the dual-socket node reached 82.9 GB/s.
  • Optimization Success: The optimized BLIS library reached 245.8 Gflop/s on 128 cores, a 49% improvement over the baseline BLIS implementation, slightly outperforming the highly-tuned OpenBLAS.
  • Scaling Efficiency: The dual-socket node achieved 1.76x the performance of a single-socket node, demonstrating strong internal scaling.

Discussion and Future Work

Despite the impressive performance gains, the cluster faces an interconnect bottleneck. The current 1 Gb/s network limits external scaling as more nodes are added to a single task. Additionally, the reliance on RVV 0.7.1 necessitates manual assembly "retrofitting," a hurdle that will diminish as newer hardware adopting RVV 1.0 enters the market.

Future work will focus on upgrading the cluster interconnect (e.g., to InfiniBand) and continuing to mature the RISC-V software ecosystem to provide a "plug-and-play" solution for the broader HPC community.

Summary updated

BibTeX
@inproceedings{venieri2025monte,
  author = {Emanuele Venieri and Simone Manoni and Gabriele Ceccolini and Giacomo Madella and Federico Ficarelli and Daniele Gregori and Andrea Acquaviva and Luca Benini and Andrea Bartolini},
  title = {{Monte Cimone v2: HPC RISC-V Cluster Evaluation and Optimization}},
  booktitle = {ISC},
  year = {2025},
  doi = {10.1007/978-3-032-07612-0\_44},
}
Figure