RISC-V-Based Platforms for HPC: Analyzing Non-functional Properties for Future HPC and Big-Data Clusters

William Fornaciari, Federico Reghenzani, Federico Terraneo, Davide Baroffio, Cecilia Metra, Martin Omaña, Josie E. Rodriguez Condia, Matteo Sonza Reorda, Robert Birke, Iacopo Colonnelli, Gianluca Mittone, Marco Aldinucci, Gabriele Mencagli, Francesco Iannone, Filippo Palombi, Giuseppe Zummo, Daniele Cesarini, Federico Tesser

Introduction

As the supercomputing landscape moves toward the exascale era, the limitations of traditional proprietary Instruction Set Architectures (ISAs) like x86 and ARM have become increasingly apparent. The end of Dennard scaling has created a "power wall," where increasing clock speeds leads to unsustainable heat and power consumption. In response, the Italian National Centre for HPC (Spoke 1) is spearheading a transition toward open-standard RISC-V architectures. This shift aims to move beyond raw peak performance (FLOPS) to address the critical "non-functional" properties—power efficiency, thermal management, and reliability—that will define the next generation of high-performance computing (HPC) and big-data clusters.

Addressing the Power Wall and Reliability

The complexity of exascale systems, which may comprise millions of components, introduces significant challenges. Hardware failure probabilities increase exponentially with scale, and the lack of a mature ecosystem for RISC-V in HPC environments creates gaps in power monitoring and thermal control. This research identifies these gaps and proposes a multi-layered approach to bridge them, ensuring RISC-V can serve as a viable, high-reliability contender for future supercomputers.

Methodology

The proposed framework for evaluating and enhancing RISC-V platforms involves several key technological pillars:

Power and Performance Monitoring

The researchers utilize Examon, a high-resolution telemetry framework capable of processing gigabytes of data daily. This is integrated with the COUNTDOWN library, which identifies periods of MPI (Message Passing Interface) communication or synchronization. During these "slack" times, COUNTDOWN automatically reduces power consumption without impacting overall application performance, optimizing energy use at the software level.

Reliability Engineering

To ensure system longevity and correctness, the team performs electrical-level analysis of FinFET aging, specifically focusing on Bias Temperature Instability. They also conduct architectural-level fault injection on RISC-V cores such as RI5CY and Hero. Furthermore, they explore Software-Implemented Hardware Fault Tolerance (SIHFT), which aims to detect and mitigate errors at the compiler level.

Advanced Thermal Management

A significant innovation is the development of an experimental testbed for two-phase evaporative cooling. Unlike traditional single-phase liquid cooling, this method leverages the latent heat of evaporation to maintain stable chip temperatures. This approach is designed to prevent frequency throttling (DVFS) under high loads, allowing processors to maintain peak performance for longer durations.

Software Benchmarking and Porting

To evaluate RISC-V's capability in modern workloads, the team developed FastFederatedLearning (FFL) and ported essential libraries like FastFlow and PyTorch to the architecture. These tools are used to assess performance on standard Machine Learning (ML) benchmarks, including MNIST for training and YOLO-v5n for inference.

Key Insights

The research highlights several critical considerations for the future of RISC-V in HPC:

  • The ECC Logic Vulnerability: While Error Correcting Codes (ECC) are standard for protecting cache memory, the logic responsible for encoding and decoding is often left unprotected. In high-reliability SoCs, a fault in the ECC decoder can lead to "mis-corrections," which are potentially more damaging than the original soft errors.
  • Cooling as a Performance Actuator: Thermal management is reframed as a tool for sustaining "Turbo Boost" frequencies indefinitely, rather than just a safety mechanism.
  • The Software Optimization Gap: There is a significant "Python tax" on current RISC-V implementations. The performance delta between Python and C++ is much wider than on mature architectures, underscoring the need for a native, highly optimized HPC software stack.

Results and Performance Analysis

Preliminary evaluations on the RISC-V testbed (Monte Cimone) reveal that while the architecture is promising, it currently lags behind established ISAs in several metrics:

  • Energy Efficiency: Despite a low Thermal Design Power (TDP) of 5W, the RISC-V testbed showed an energy-per-FLOP ratio of 15.9nJ, compared to 12.8nJ for x86 and 3.2nJ for ARM-v8.
  • ML Performance: Current RISC-V platforms are roughly an order of magnitude slower than x86-64 and ARM-v8 for equivalent computational tasks.
  • Software Overhead: On the MNIST benchmark, a Python implementation required 442.8s, whereas a pure C++ implementation took only 314.5s, highlighting the impact of unoptimized high-level language runtimes.

Conclusion and Future Work

The primary hurdle for RISC-V in the HPC sector remains the maturity of its ecosystem. Current hardware is largely "off-the-shelf" and lacks the specialized vector operations required for massive scientific simulations. Future efforts will focus on developing low-cost hardware monitors for in-field fault detection, refining two-phase cooling models for precise energy savings estimates, and integrating the Roofline Model into monitoring tools to help developers optimize code for memory or compute bottlenecks.

Summary updated

BibTeX
@inproceedings{fornaciari2023risc,
  author = {William Fornaciari and Federico Reghenzani and Federico Terraneo and Davide Baroffio and Cecilia Metra and Martin Omaña and Josie E. Rodriguez Condia and Matteo Sonza Reorda and Robert Birke and Iacopo Colonnelli and Gianluca Mittone and Marco Aldinucci and Gabriele Mencagli and Francesco Iannone and Filippo Palombi and Giuseppe Zummo and Daniele Cesarini and Federico Tesser},
  title = {{RISC-V-Based Platforms for HPC: Analyzing Non-functional Properties for Future HPC and Big-Data Clusters}},
  booktitle = {SAMOS},
  year = {2023},
  doi = {10.1007/978-3-031-46077-7\_26},
}
Figure