在RISC-V CPU上运行内存受限内核的案例研究
Case Study for Running Memory-Bound Kernels on RISC-V CPUs
AI总结:
本文通过STREAM基准、矩阵转置和高斯模糊三个内存受限应用,评估RISC-V CPU性能,发现其计算时间逊于x86/ARM但资源利用率高,且x86优化技术可提升性能,表明RISC-V有潜力成为高性能计算替代架构。
摘要:
新的、开放且免费的指令集架构RISC-V的出现,预示着微处理器架构的新时代。从低功耗、低性能的原型开始,RISC-V社区有很大机会迈向适用于高性能计算的 fully functional 高端微处理器。在这一方向上取得进展需要全面开发软件环境,即操作系统、编译器、数学库以及性能分析和优化方法。在本文中,我们分析了两个可用的RISC-V设备在执行三个内存受限应用程序时的性能:广泛使用的STREAM基准测试、原地密集矩阵转置算法和高斯模糊算法。我们表明,与x86和ARM CPU相比,RISC-V设备在计算时间上仍预计会逊色,但在资源利用率方面表现出色。我们还证明了为x86 CPU开发的成熟内存优化技术能够提升RISC-V CPU上的性能。总体而言,本文展示了RISC-V作为高性能计算替代架构的潜力。
英文摘要:
The emergence of a new, open, and free instruction set architecture, RISC-V, has heralded a new era in microprocessor architectures. Starting with low-power, low-performance prototypes, the RISC-V community has a good chance of moving towards fully functional high-end microprocessors suitable for high-performance computing. Achieving progress in this direction requires comprehensive development of the software environment, namely operating systems, compilers, mathematical libraries, and approaches to performance analysis and optimization. In this paper, we analyze the performance of two available RISC-V devices when executing three memory-bound applications: a widely used STREAM benchmark, an in-place dense matrix transposition algorithm, and a Gaussian Blur algorithm. We show that, compared to x86 and ARM CPUs, RISC-V devices are still expected to be inferior in terms of computation time but are very good in resource utilization. We also demonstrate that well-developed memory optimization techniques for x86 CPUs improve the performance on RISC-V CPUs. Overall, the paper shows the potential of RISC-V as an alternative architecture for high-performance computing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。