Runtime Energy Monitoring for RISC-V Soft-Cores
Alberto Scionti and Paolo Savio and Francesco Lubrano and Olivier Terzo and Marco Ferretti and Florin Apopei and Juri Bellucci and Ennio Spano and Luca Carriere · 2025
Read Runtime Energy Monitoring for RISC-V Soft-Cores by Alberto Scionti and Paolo Savio and Francesco Lubrano and Olivier Terzo and Marco Ferretti and Florin Apopei and Juri Bellucci and Ennio Spano and Luca Carriere (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2509-26065.txt.
Introduction
Alberto Scionti and eight co-authors present in 2025 a hardware setup that tracks energy use of RISC-V soft cores as programs run. Energy thrift shapes design from single boards to data centers. Software models of energy use need constant retuning to match real hardware.
A measurement board watches currents and voltages at many points on an FPGA board. A service reads those values from a shared memory region and tallies energy stats live. The monitor itself uses no FPGA resources. The design scales from one node to clusters. Tests run in a data management setting show the flow works end to end. Designers gain true readings without pausing to rebuild models for each new layout.
Catalog record
| CREATOR | Alberto Scionti and Paolo Savio and Francesco Lubrano and Olivier Terzo and Marco Ferretti and Florin Apopei and Juri Bellucci and Ennio Spano and Luca Carriere |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 23 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2509-26065
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Runtime Energy Monitoring for RISC-V Soft-Cores Alberto Scionti and Paolo Savio and Francesco Lubrano and Olivier Terzo and Marco Ferretti and Florin Apopei and Juri Bellucci and Ennio Spano and Luca Carriere Abstract Energy efficiency is one of the major concern in designing advanced computing infrastructures. From single nodes to large-scale systems (data centers), monitoring the energy consumption of the computing system when applications run is a critical task. Designers and application developers often rely on software tools and detailed architectural models to extract meaningful information and determine the system energy consumption. However, when a design space exploration is required, designers may incur in continuous tuning of the models to match with the system under evaluation. To overcome such limitations, we propose a holistic approach to monitor energy consumption at runtime without the need of running complex (micro-)architectural models. Our approach is based on a measurement board coupled with a FPGA-based System-on-Module. The measuring board captures currents and voltages (up to tens measuring points) driving the FPGA and exposes such values through a specific memory region. A running service reads and computes energy consumption statistics without consuming extra resources on the FPGA device. Our approach is also scalable to monitoring of multi-nodes infrastructures (clusters). We aim to leverage this framework to perform experiments in the context of an aeronautical design application; specifically, we will look at optimizing performance and energy consumption of a shallow artificial neural network on RISC-V based soft-cores. 1 Introduction Energy efficiency became a major concern of modern computing systems; extracting the highest performance possible for a target application domain is essential to continue scaling up cloud and HPC infrastructures. Monitoring energy consumption is a complex task that requires software tools and detailed (micro-)architectural models to precisely matching with the target system. Despite their undoubted value, monitoring energy (at runtime) through such software and models incurs in an additional overhead (i.e., computing resources are partly used to run the monitor). Designers and application developers need to explore design spaces to find the optimal system setup; in these cases, software tools and energy models must be continuously tuned to match with the specific target system. In a quest for energy efficient computing system, the RISC-V architecture emerged with the promise of being a first in-class when compared with X86 and ARM counterparts. RISC-V provides a royalty-free customizable modular architecture (i.e., it allows for the definition of custom instructions and instruction set extensions) that is attracting the attention of hardware designers. On the other hand, software developer community moved fast to port applications and developing frameworks on it and, as of today, most of the commonly used operating systems (e.g., many Linux and RTOS distributions) and tools are available on RISC-V systems. Although RISC-V architecture implementations are still in a relatively early stage of development compared to X86 and ARM, they have proven to be a valuable alternative, particularly in use cases where power consumption is a critical concern suarez2024 . For these reasons, the number of compute system based on RISC-V is rapidly growing, albeit they mostly resemble IoT/Edge computing platforms. Apart from very few examples, when dealing with high-performance computing (HPC) platforms, RISC-V is years or even decades away from replacing X86 or ARM. However, also in this sector some interesting systems are appearing. In 2023, Milk-V presented the Pioneer system, a desktop-class machine equipped with a 64-cores processor brown2023risc . In late 2023, Ventana announced the Veyron V2, a 192-cores RISC-V CPU (enhancing over the previous generation), which reduced the performance gap with X86 and ARM server-class processors ventana2023 . Finally, also several prototyping platforms have been developed bartolini2022monte ; diehl2024preparing . Field Programmable Gate Arrays (FPGAs) have been used since long time as flexible prototyping platforms. Following technological progresses, modern FPGA devices, coupling ever larger reconfigurable fabrics with powerful hardened IP cores, are now part of large cloud and HPC infrastructures. For example, Amazon Web Services (AWS) offers EC2 F1 instances, which integrate Xilinx UltraScale+ FPGAs to provide customizable hardware acceleration for applications such as machine learning inference, data analytics, video processing, and genomics. These instances enable developers to deploy custom FPGA designs in the cloud, leveraging AWS’s scalable infrastructure to enhance performance and reduce time to market. All the major FPGA vendors offer Systems-on-Chip (SoCs) equipped with FPGA fabrics, multicore processor subsystems and accelerator engines. Microchip’s PolarFire is a recent midrange SoC equipped with a reconfigurable fabric and five 64 bit RISC-V cores, which are able to run a full fledged Linux operating system. It is available as an integrated development board, as well as a compact System-on-Module (SoM), i.e., a small board where power delivery lines, I/O and peripherals are routed out through dedicated connectors. Systems like this can be effectively used to address the design and evaluation of custom implementation of RISC-V based processors (including application specific ones) without incurring in high manufacturing costs: with a well established process for compiling and mapping high-level descriptions to physical resources of the programmable fabric, designers and application developers are enabled to easily perform extensive design space explorations. Aeronautic domain makes large use of HPC infrastructures to accelerate the execution of complex engineering applications. As such, aeronautic industry is always looking at novel compute solutions for keeping the pace with the growing complexity of the simulated systems. One of the major innovation in the last years is the introduction of surrogate models, which are based on artificial intelligence techniques to reduce the number of simulations required to sample large parametrized design spaces. Since in many cases it has been demonstrated that a population of shallow artificial neural networks (ANNs) performs well (this kind of networks badly fit on GPUs and AI chips, because these latter are optimized for large models), being able to characterize their execution (training and inference) on novel RISC-V implementations is important to drive the future decision making process in selecting the most appropriate processor profile once they will become available for large deployments. In this paper, we propose a holistic framework for monitoring runtime energy consumption of RISC-V based compute nodes. To this purpose, we propose the design and integration of a custom measuring board with a FPGA based SoM, which is our preferred target for running RISC-V soft-cores. With up to tens of sensing elements measuring the current drawn at different points of the FPGA SoC, the proposed system can provides a detailed map of the system energy consumption. Sampled data can be correlated with the running soft-core features, thus providing an important tool for optimizing the micro-architecture. 2 Background RISC-V architecture is gaining momentum, with many development platforms being available on the market and some research projects showcasing prototypes. Despite most of the today’s platforms resembling single board computers (SBCs) are far away to compete with X86 and ARM based systems in the HPC arena, they have been proved adequate for developing applications and frameworks. Among these devices, one of the newly released boards is the SiFive HiFive Premier P550 premierp550 . The Hifive Premier P550 is an SBC powered by the ESWIN EIC7700X SoC, featuring a SiFive Quad-Core P550 64-bit Out-of-Order CPU cluster, 16 GB or 32 GB of LPDDR5 RAM, and a 128 GB eMMC with Ubuntu