FS#14083 - [cpufrequtils] do not set min_ and max_freq in /etc/conf.d/cpufreq
Attached to Project:
Arch Linux
Opened by Matthias Dienstbier (fs4000) - Friday, 03 April 2009, 17:44 GMT
Last edited by Giovanni Scafora (giovanni) - Tuesday, 15 December 2009, 14:44 GMT
Opened by Matthias Dienstbier (fs4000) - Friday, 03 April 2009, 17:44 GMT
Last edited by Giovanni Scafora (giovanni) - Tuesday, 15 December 2009, 14:44 GMT
|
Details
At the moment /etc/conf.d/cpufreq looks like this:
#configuration for cpufreq control # valid governors: # ondemand, performance, powersave, # conservative, userspace governor="ondemand" # valid suffixes: Hz, kHz (default), MHz, GHz, THz min_freq="800MHz" max_freq="1.6GHz" I would suggest commenting out min_freq and max_freq because it will be autodetected for nearly all CPUs. As most people want ondemand governor, there will be no need for changing anything at all in this config. |
This task depends upon
Closed by Giovanni Scafora (giovanni)
Tuesday, 15 December 2009, 14:44 GMT
Reason for closing: Fixed
Tuesday, 15 December 2009, 14:44 GMT
Reason for closing: Fixed
I imagined something like that:
# limit frequency range (optional)
# valid suffixes: Hz, kHz (default), MHz, GHz, THz
#min_freq="2.25GHz"
#max_freq="3GHz"
Then /etc/rc.d/cpufreq will not set any limits and use all frequencies available:
if [ "$min_freq" != "" ]; then
params="$params -d $min_freq"
fi
if [ "$max_freq" != "" ]; then
params="$params -u $max_freq"
fi