temp-throttle icon indicating copy to clipboard operation
temp-throttle copied to clipboard

[Feature Request] Add option to specify CPU freq to use.

Open Heisenborgar opened this issue 1 year ago • 2 comments

I'd like to specify a specific freq like 1800MHz, rather than the default one.

Heisenborgar avatar Sep 18 '24 04:09 Heisenborgar

A specific frequency? Maximum frequency or minimum frequency?

I'm curious about the reason for such request.

Sepero avatar Sep 22 '24 17:09 Sepero

It's possible you could edit the script and reach your goal. First copy the frequencies file.

sudo cp /sys/devices/system/cpu/cpu$CORE/cpufreq/scaling_available_frequencies /etc/custom_cpu_frequencies

Then edit the new file /etc/custom_cpu_frequencies and remove any frequencies you don't want.

Finally, change 1 line in the temp-throttle script to be your custom frequencies file. From this:

FREQ_FILE="/sys/devices/system/cpu/cpu$CORE/cpufreq/scaling_available_frequencies"

To this:

FREQ_FILE="/etc/custom_cpu_frequencies"

Sepero avatar Sep 22 '24 17:09 Sepero