Skip to content

DGYYYYYYYYYYY/OPMark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OPMark (Prototype of OpenPerf Project)

This Flake give a Qemu RISC-V Linux / Spike bare metal runtime to run benchmark, aim to make test environment reproducible and result fair enough.

Candidate Benchmark Programs

stress-ng - GPL 2.0 Licence

Anybench - MIT Licence

Memory access patterns

Stream access

STREAM - Custom Licence, but Open Source friendly

RRZE-HPC/TheBandwidthBenchmark - MIT Licence

Other patterns

emilk/ram_bench - No Licence

Integer Arithmetic

shaswata56/BenchUtil - WTFPL license

Floating-point Arithmetic

shaswata56/BenchUtil - WTFPL license

Branch Prediction

Verilator Model

Run Built-in QEMU VM

A Nix Flake is provided for convenience, but not necessary dependency in the final project.

With Nix installed, run nix develop to get the reproducible development environment.

Run vm to launch QEMU.

How to compile & run programs in Spike

With just installed, run just compile then just run in the program source code directory.

Or you can run commands manually. Justfile is extremely easy to read and understand.

Transplanted

  • Memory Access: STREAM
  • Floating-point Arithmetic: Linpack, Whetstone
  • Utils: soft-fp(cyl), abstract-machine, openlibm
  • Can build: Spike, RISC-V OpenOCD

Roadmap

  • Run Configurable Linux on QEMU RISC-V Platform
  • Basic Benchmark Programs
  • Math Library
  • GEMM
  • Organize Build Scripts
  • More Complex Programs
  • Decide OpenPerf Project File Struct

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.9%
  • Other 0.1%