Skip to content

About

This repo. contains ready to use benchmarks specifically for RISCV arch.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

RISCV Benchmarks

Welcome! This repository contains several open-source benchmarks for performance evaluation of RISC-V based machines. The main goal is to provide simple setup scripts that can be directly run on RISC-V without worrying about compilation or dependency issues.


Quick Start

  1. Clone this repository:
    git clone https://github.com/akifejaz/riscv-benchmarks.git
    cd riscv-benchmarks

Important Tips

  • You may need to edit certain variables in the scripts (marked with EDIT) for paths, versions, or credentials.
  • Each benchmark may have its own dependencies (e.g., compilers, libraries, or tools) that are not checked by the main script. Please review the relevant benchmark script and install any required packages before running.
  • Some benchmarks (like spec2017 and phoronix) require sudo permissions.

  1. Install global dependencies:

  2. Run a benchmark:

    bash run.sh <benchmark>

    Replace <benchmark> with one of:

    • coremark
    • spec2017
    • phoronix
    • geekbench
    • unixbench

    Example:

    bash run.sh coremark
    sudo bash run.sh spec2017
  3. View logs:

    • All logs are saved in the logs/ directory with timestamped filenames.

Benchmarks Included

  • Phoronix Test Suite
  • SPEC 2017
  • Geekbench 6
  • UnixBench
  • CoreMark

Upcoming Benchmarks

  • Sysbench
  • HPL
  • ONNX Runtime
  • MLPerf Tiny
  • MLPerf Inference

Want to suggest another benchmark or contribute to any of the above? Create an issue or submit a pull request!

TODO

  • Check for dependencies for each benchmark
  • Add cleanup functions to clean the working directory after runs
  • Add config file to control the options to enable/disable for each benchmark

⭐️ Star this repo: Click here to star! 👤 Follow the author: akifejaz on GitHub

Stay tuned for updates and new benchmarks!

About

This repo. contains ready to use benchmarks specifically for RISCV arch.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages