OpenPerf is an open source benchmark for evaluating test the performance of the microarchitecture in processor core, developed and be maintained by One Student One Chip Project.
This project plans to integrate with YSYX's workbench and NJU ProjectN.
To use openperf in baseline practice, clone it into your project's AbstractMachine Kernels.
cd am-kernels
git clone [email protected]:OSCPU/openperf.git
cd openperf
make ARCH= ... # NOTICE: `...` is not a part of the make command and you need to write it by yourself.
The make recipe, like other benchmark programs in am-kernel
, allows you to choose the architectures and the test scale.
- Stream Memory Access: STREAM
- Irregular Memory Access: mcf
- Float Memory: GEMM
- Footprint: Gsim and essent which simulate various RISC-V processor cores such as riscv-mini, Nutshell, Rocket Core, BOOM and XiangShan
- Branch Prediction: TCC
- Floating-point Arithmetic: Linpack, Whetstone
- Utils: soft-fp(cyl), abstract-machine, openlibm
"One Student One Chip" is a public welfare learning program to supply talents & trained students to chip industry, which means registering and studying "One Student One Chip" is free. In the mainline, even if he or she has zero experience or skills, every student could learn deeply about how computer system works and create their own processor cores from scratch.
Visit the main page to know more information.
The One Student One Chip Project is planning to build a ranking system for students! You can run OpenPerf with your NEMU or NPC to find out your performance and compare with others.
- Transplant benchmark programs
- Test the sensitivity of various programs
- Collect performance data from various open source processor cores
- Get early access
Thanks to the Open Source Community for developing related programs & tools included in OpenPerf. To know more copyright info you can check the Licence headers in programs' code. The modification and additional features & code written by us is under Mulan PSL v2 Licence.
Copyright (c) 2024 One Student One Chip Project OpenPerf is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN “AS IS” BASIS, WITHOUT warranties of any kind, either express or implied, including but not limited to non-infringement, merchantability or fit for a particular purpose. See the Mulan PSL v2 for more details.