[LAU] Cpu scaling on performance, permanent

Robin Gareus robin at linuxaudio.org
Fri Jan 7 13:42:00 UTC 2011


On 01/07/2011 01:39 PM, R. Mattes wrote:
> On Fri, 07 Jan 2011 13:27:41 +0100, rosea.grammostola wrote
>> On 01/07/2011 01:25 PM, Jeremy Jongepier wrote:
>>> 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.
>> Aren't these two files conflicting with each other?
> 
> I guess the OP just used two files to provide you with a convenient diff that
> you can apply.
> No, these two files won't conflict. You can put whatever you want into
> /etc/init.d - nothing
> will happen. 

>Quiz: what files _do_ get executed? :-)

Those configured for the runlevel (usually "2" these days) in
/etc/rc?.d/ - read `man 8 init`. `ls -l /etc/rc?.d/`

Instead of creating symlinks in /etc/rc2.d/ manually one usually
configures those with `update-rc.d` (`man update-rc.d`). There's also
some GUI's to configure the system-V init scripts, but I don't know what
they're called these days..

HTH,
robin





More information about the Linux-audio-user mailing list