uarch-bench icon indicating copy to clipboard operation
uarch-bench copied to clipboard

ERROR: jevents failed while reading events, error -5

Open baziotis opened this issue 4 years ago • 2 comments

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

baziotis avatar Nov 20 '20 23:11 baziotis

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!).

travisdowns avatar Apr 11 '21 06:04 travisdowns

Great, thanks for your effort!

baziotis avatar Apr 11 '21 16:04 baziotis