LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Cpufreq governor strange behavior. (https://www.linuxquestions.org/questions/debian-26/cpufreq-governor-strange-behavior-4175446706/)

Lockywolf 01-22-2013 03:15 AM

Cpufreq governor strange behavior.
 
I have an hp compaq 6710s.

Following the instructions on http://wiki.debian.org/HowTo/CpuFrequencyScaling, i have managed to set "performance" my default(boot) governor.

Still, cpufreq-info shows me strange results:

Code:

cpufrequtils 007: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 10.0 us.
  hardware limits: 800 MHz - 1.80 GHz
  available frequency steps: 1.80 GHz, 1.80 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: powersave, conservative, userspace, ondemand, performance
  current policy: frequency should be within 800 MHz and 800 MHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  cpufreq stats: 1.80 GHz:0,00%, 1.80 GHz:0,02%, 1.20 GHz:0,01%, 800 MHz:99,97%  (16)
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 10.0 us.
  hardware limits: 800 MHz - 1.80 GHz
  available frequency steps: 1.80 GHz, 1.80 GHz, 1.20 GHz, 800 MHz
  available cpufreq governors: powersave, conservative, userspace, ondemand, performance
  current policy: frequency should be within 800 MHz and 800 MHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  cpufreq stats: 1.80 GHz:0,00%, 1.80 GHz:0,01%, 1.20 GHz:0,00%, 800 MHz:99,99%  (5)
root@notebook-hp:/sys/devices/system/cpu/cpu0/cpufreq#

The main lines are:

Code:

hardware limits: 800 MHz - 1.80 GHz

frequency should be within 800 MHz and 800 MHz.
                  The governor "performance"

These two lines seem mutually exclusive, still, both are present.

How can I manage to set teh correct single speed of 1.80 Ghz instead of 800 Mhz?

TobiSGD 01-22-2013 06:16 AM

Using the performance governor doesn't make much sense, especially on a notebook, but anyways.

Did you try it with one of the other governors, to see if they react as intended?
Have you tried to set the clockspeed manually, to see if that works?

jim_p 01-22-2013 07:58 AM

Inside /etc/init.d/cpufrequtils lies this bit (for my setup at least)
Code:

ENABLE="true"
GOVERNOR="ondemand"
MAX_SPEED="2200000"
MIN_SPEED="1200000"

So my suggestion is to set the minimum and maximim speed, not on the same value, and not to 0 (=auto).


All times are GMT -5. The time now is 07:21 AM.