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

Allow custom scaling_*_freq settings on [cpu] #674

Open
Edu4rdSHL opened this issue Aug 18, 2024 · 2 comments
Open

Allow custom scaling_*_freq settings on [cpu] #674

Edu4rdSHL opened this issue Aug 18, 2024 · 2 comments

Comments

@Edu4rdSHL
Copy link

Edu4rdSHL commented Aug 18, 2024

Hi,

Firstly, nice job! As a RFE, it would be good to be able to set any of the scaling_*_freq on the CPU.

The two options are basically scaling_min_freq and scaling_max_freq, both are exposed under:

/sys/devices/system/cpu/cpu*/cpufreq/scaling_*_freq

Thanks,
Ed

@Edu4rdSHL Edu4rdSHL changed the title Allow custom scaling_*_freq setting on [cpu] Allow custom scaling_*_freq settings on [cpu] Aug 18, 2024
@rmeissn
Copy link

rmeissn commented Nov 4, 2024

As a workaround: you can already set these through:

[sysfs]
/sys/devices/system/cpu/cpu*/cpufreq/scaling_min_freq=80000
/sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq=4700000

You can also use e.g. cpu[0-7] instead of cpu* to only target some cores and you need to use the specific Hz values from your CPU (specifically: Hz, nothing else)

Of course

@Edu4rdSHL
Copy link
Author

Thank you, it worked. Awesome.

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