Re: [LAU] Cpu scaling on performance, permanent

From: Jeremy Jongepier <jeremy@email-addr-hidden>
Date: Fri Jan 07 2011 - 14:25:12 EET

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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Fri Jan 7 16:15:05 2011

This archive was generated by hypermail 2.1.8 : Fri Jan 07 2011 - 16:15:05 EET