uarch-bench
uarch-bench copied to clipboard
ERROR: jevents failed while reading events, error -5
Thanks for all the great work!
Anybody had this problem? I'm on ubuntu, the cpu is AMD Ryzen and I'm getting it by running:
/uarch-bench.sh --test-name=cpp/sum-halves --timer=perf
Hi @baziotis and thank you for your report. I am really sorry I didn't comment until now: somehow I missed the notification for this issue and only saw it now while browsing the open issues.
The underlying problem is that --timer=perf
only supports Intel CPUs for now, which is a limitation of the jevents library as discussed in #87. The unspecific error also comes from jevents: -5 is EIO which really just means it couldn't open the event file for this CPU (since json event files are only provided for Intel CPUs).
This will be fixed by #87 although I have limited capacity at the moment to work on this (but I just go an AMD box so I'm a bit more motivated to fix this now!).
Great, thanks for your effort!