-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix benchmark CI pipeline #460
Fix benchmark CI pipeline #460
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmarks
Benchmark suite | Current: c9d8c6d | Previous: 867a53d | Ratio |
---|---|---|---|
Dhrystone |
3.88 Average DMIPS over 10 runs |
3.44 Average DMIPS over 10 runs |
0.89 |
Coremark |
0.004 Average iterations/sec over 10 runs |
0.004 Average iterations/sec over 10 runs |
1 |
This comment was automatically generated by workflow using github-action-benchmark.
@jserv do you still have the documentation/Makefile/etc. for compiling |
91caed6
to
d7e7a4b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strip the prebuilt CoreMark and Dhrystone ELF files.
Run |
d7e7a4b
to
d1f5a02
Compare
d1f5a02
to
2985c0a
Compare
Replaced |
@jserv The performance is still slow after replacing both binaries (using the ones compiled from |
@vacantron, Can you check? |
80f3ca2
to
3b7fdf5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is confusing to have benchmark.yml
and benchmark-new.yml
.
1da388c
to
0bf82b8
Compare
Synced offline with @jserv, this is a temporary testing method. A new discovery is that if I move the benchmark pipeline to I currently have no explanation for this, but to speed up development I will keep the benchmark pipeline in |
It sounds acceptable. Let's get the benchark work again. |
ac20c15
to
48820ff
Compare
Good news! The pipeline is finally back online with normal numbers again! Coremark is currently compiled using @jserv do you happen to remember what were the parameters you used for Coremark? It's not found within the past commit messages but we would need to supply this in the benchmark script. Currently, the CI is using Thank you! |
202fb65
to
5698354
Compare
I have tried |
Prior to this pull request, there was no parameter passing to CoreMark. |
I took the arguments from https://github.com/HidetaroTanaka/coremark/blob/main/Makefile#L103 and https://github.com/HidetaroTanaka/coremark/blob/main/Makefile#L107. According to the experiment, executing coremark for 1 second can perform around 1200 iterations. Also, if the execution time is less than 10s, coremark will fail with a non-zero exit code. So I set the iteration to 20000 for now. |
867a53d
to
c9d8c6d
Compare
Known issues:
|
Move the commit "Fix typo and remove outdated comment" out of this pull request. |
dhrystone is compiled with sysprog21/rv32emu-prebuilt#1 coremark is compiled with sysprog21/rv32emu-prebuilt@1dac9bb, but setting -march=rv32im Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
This commit also fixes pip3 install error: externally-managed-environment Reference: - https://stackoverflow.com/questions/75608323/how-do-i-solve-error-externally-managed-environment-every-time-i-use-pip-3 Signed-off-by: Chun-Hung Tseng <henrybear327@gmail.com>
c9d8c6d
to
0e13f01
Compare
Done as requested (a new PR is created) |
Since there are no code changes, the CI pipeline won't be triggered, thus, passing all of them! |
Recompile
dhrystone.elf
andcoremark.elf
in order to fix the benchmark CI pipeline, as discussed at #455 (comment)References: