[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cpufreq changes unwanted



On 02/09/17 09:16, Hans wrote:
I discovered, that the cpu frequency is been set automatically to "high",
although I forced it to stay low.

To do this, I wrote a script:
---

#!/bin/sh

cpufreq-set -c 0 -u 1000MHz
cpufreq-set -c 1 -u 1000MHz
---

This script, executed with root permissions, is setting the cpu frequency to
low.
...
But after some time, suddenly the frequency is up to 1,67 GHz again. IMHO only
an application like kmail or anything else might change this.

Is there something known about?  Is this a bug?

I use cpufreq to adjust the governor, and it seems to work:

2017-02-09 12:41:14 root@cd2533 ~/home
# cat cpufreq-set-ondemand.sh
#!/bin/sh
cpufreq-set -g ondemand

2017-02-09 12:43:17 root@cd2533 ~/home
# cat cpufreq-set-performance.sh
#!/bin/sh
cpufreq-set -g performance

2017-02-09 12:43:25 root@cd2533 ~/home
# cat cpufreq-set-powersave.sh
#!/bin/sh
cpufreq-set -g powersave


HTH,

David


Reply to: