UPCommons. Portal del coneixement obert de la UPC
Publication
Artículo científico (JournalArticle)
Designing a QEMU plugin to profile multicore long vector RISC-V architectures: RAVE
Simulators are crucial during the development of a chip, like the RISC-V accelerator designed in the European Processor Initiative project. In this paper, we showcase the limitations of the current emulation solutions in the project and propose using QEMU with RAVE, a plugin we implement and describe in this document. This methodology can rapidly emulate and analyze applications running on the v1.0 and v0.7.1 RISC-V V-extension. Our plugin reports the vector and scalar instructions alongside useful information such as the vector-length being used, the single-element-width, and the register usage, among other vectorization metrics. We provide an API used from the emulated Application to control the RAVE plugin and the capability to generate vectorization traces that can be analyzed using Paraver. Additionally, we demonstrate the efficiency of our solution against other emulators such as Whipser, ETISS, Spike, or FPGA simulation. Finally, we describe the challenges and solutions for synchronizing and emulating multi-threaded and multi-process binaries, and evaluate the performance of RAVE running on multiple processors., Supported by the EuroHPC Joint Undertaking (JU): FPA N. 800928 (EPI), SGA N. 101036168 (EPI-SGA2) GA N. 101034126 (The European PILOT). Also supported by the Horizon Europe research and innovation funding programme, GA N. 101092993 (RISER). The JU receives support from the EU Horizon 2020 research and innovation programme and from Croatia, France, Germany, Greece, Italy, Netherlands, Portugal, Spain, Sweden, Denmark and Switzerland. The EPI-SGA2 project, PCI2022-132935 is also co-funded by MCIN/AEI /10.13039/501100011033 and by the UE NextGenerationEU/PRTR., Peer Reviewed
Project:
Agencia Estatal de Investigación / Plan Estatal de Investigación Científica y Técnica y de Innovación 2021-2023 PCI2022-132935
,
European Commission / Horizon 2020 Framework Programme 101034126
,
European Commission / HE 101092993
,
European Commission / Horizon 2020 Framework Programme 800928