Skip to content
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

ERROR: jevents failed while reading events, error -5 #83

Open
baziotis opened this issue Nov 20, 2020 · 2 comments
Open

ERROR: jevents failed while reading events, error -5 #83

baziotis opened this issue Nov 20, 2020 · 2 comments

Comments

@baziotis
Copy link

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

@travisdowns
Copy link
Owner

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

@baziotis
Copy link
Author

Great, thanks for your effort!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants