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

Disable TurboBoost tuning settings on non-Intel #185

Merged
merged 1 commit into from
May 3, 2024

Conversation

mdboom
Copy link
Collaborator

@mdboom mdboom commented May 1, 2024

I'm in the process of getting pyperf to run on aarch64-linux, and system tune fails with:

Errors
======
Turbo Boost (MSR): Failed to read MSR 0x1a0 from /dev/cpu/0/msr: 
[Errno 2] No such file or directory: '/dev/cpu/0/msr'
Turbo Boost (MSR): Try to load the msr kernel module: sudo modprobe msr  

As far as I understand, this feature just isn't available on non-Intel. (There might be an equivalent to adjust the frequencies on ARM, but that can be in a follow-up PR).

@mdboom mdboom force-pushed the dont-do-msr-on-arch branch from 2a157cd to 2ed444f Compare May 1, 2024 22:00
@mdboom mdboom requested a review from corona10 May 2, 2024 12:51
@corona10 corona10 merged commit 6573f89 into psf:main May 3, 2024
12 checks passed
@vstinner
Copy link
Member

vstinner commented May 3, 2024

platform.machine() not in ('x86', 'x86_64', 'amd64')

It should not be the opposite?

@mdboom
Copy link
Collaborator Author

mdboom commented May 3, 2024

platform.machine() not in ('x86', 'x86_64', 'amd64')

It should not be the opposite?

Oh, geeze you are right. I transferred this manually from the machine where I had this working. I'll file a new PR right now.

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

Successfully merging this pull request may close these issues.

3 participants