[LAU] Cpu scaling on performance, permanent
Jeremy Jongepier
jeremy at autostatic.com
Fri Jan 7 12:25:12 UTC 2011
On 01/07/2011 01:04 PM, Martin Homuth-Rosemann wrote:
> Hi,
>
> on my aptosid (based upon debian sid) I've changed this file to get
> "conservative" gov.:
>
> --- /etc/init.d/cpufrequtils.orig 2009-11-21 23:39:25.000000000 +0100
> +++ /etc/init.d/cpufrequtils 2010-12-19 16:34:13.000000000 +0100
> @@ -40,7 +40,8 @@
> # MIN_SPEED=500
>
> ENABLE="true"
> -GOVERNOR="ondemand"
> +#GOVERNOR="ondemand"
> +GOVERNOR="conservative"
> MAX_SPEED="0"
> MIN_SPEED="0"
>
> Ciao, Martin
On Ubuntu you could change the governor in /etc/init.d/ondemand too if
you don't have cpufrequtils installed.
--- ondemand.orig 2011-01-07 13:23:43.000000000 +0100
+++ ondemand 2011-01-07 13:24:04.000000000 +0100
@@ -24,7 +24,7 @@
for CPUFREQ in
/sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
do
[ -f $CPUFREQ ] || continue
- echo -n ondemand > $CPUFREQ
+ echo -n performance > $CPUFREQ
done
;;
restart|reload|force-reload)
Best,
Jeremy
More information about the Linux-audio-user
mailing list