This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
start:setcpuscalingnogui [2023/03/02 17:24] – allebone | start:setcpuscalingnogui [2023/09/14 20:43] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | Roughly checked this on 14/09/2023. Seems to work (more testers needed) - Pete | ||
+ | |||
Just really quick write up but worked like this: | Just really quick write up but worked like this: | ||
- | Installed some relevant tools (check your kernel version): | + | Installed some relevant tools (check your kernel version |
< | < | ||
Line 10: | Line 12: | ||
Depends on distro used what you have to install, bookworm I think is linux-cpupower... maybe? | Depends on distro used what you have to install, bookworm I think is linux-cpupower... maybe? | ||
</ | </ | ||
+ | |||
+ | For trixie I believe you just need cpufrequtils and linux-cpupower only. | ||
decide on a governor | decide on a governor | ||
Line 19: | Line 23: | ||
eg: for powersave | eg: for powersave | ||
< | < | ||
- | cpupower frequency-set --governor powersave | + | sudo cpupower frequency-set --governor powersave |
</ | </ | ||
Line 26: | Line 30: | ||
watch "cat / | watch "cat / | ||
</ | </ | ||
+ | |||
+ | NOTE: If you are using intel pstates (most likely you are on intel CPU) the only control you have is setting performance or powersave. As intel controls the frequency between their values there isnt a lot you can do without disabling intel pstates. This is not recommended and you will suffer in terms of performance. | ||
+ | While playing games use performance, | ||
+ | |||
+ | You can use "sudo cpupower frequency-info" | ||
After reboot changes will be lost. To make a startup script one way is (another option shown elsewhere in this wiki is with systemd, just feel like showing you a second way): | After reboot changes will be lost. To make a startup script one way is (another option shown elsewhere in this wiki is with systemd, just feel like showing you a second way): |