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

Event errors on AWS #166

Closed
hsane-dev opened this issue Jan 23, 2025 · 2 comments · Fixed by #170
Closed

Event errors on AWS #166

hsane-dev opened this issue Jan 23, 2025 · 2 comments · Fixed by #170
Labels
enhancement New feature or request

Comments

@hsane-dev
Copy link

hsane-dev commented Jan 23, 2025

Running perfspect metrics on r5xl:
Error: failed to put perf events into groups: unrecognized event format: "event syntax error: '{cpu/event=0x28,umask=0x07,period=200003,name=CORE_POWER..'"

These are the CORE_LICENSE_LEVEL based events to detect cycles spent in AVX, should work on metal though.

If 5th gen is not supported in AWS, it should report the same after recognizing format. this seems to be failing on unrecognized power events. If not supported, power license events could be discarded if detected instance is a cloud instance maybe?

OS: 6.5.0-1014-aws #14~22.04.1-Ubuntu SMP Thu Feb 15 15:27:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
perf version 6.5.8
perfspect version 3.2.0_2025-01-13_0f0d72b7

@harp-intel harp-intel added the enhancement New feature or request label Jan 23, 2025
@hsane-dev
Copy link
Author

Never mind, I realized that no PMUs are exposed in this generation unless metal. I am not even getting fixed counter events.

@hsane-dev
Copy link
Author

Could we however detect instance type and if not supported, report the same rather than starting colleciton and then failing when perf cant capture the event?

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

Successfully merging a pull request may close this issue.

2 participants