You are not logged in.

#1 2007-08-29 02:46:33

Tido
Member
Registered: 2007-06-21
Posts: 65

cpufreq hell, won't max out cpu

Now that powersaved is gone, I have to turn back to cpufreq.  The problem is cpufreq will *not* let the processor go up to its max speed.

This laptop has a 1.73Ghz Pentium M processor.  Here's the output of cpufreq-info:

cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 800 MHz - 1.73 GHz
  available frequency steps: 1.73 GHz, 1.33 GHz, 1.07 GHz, 800 MHz
  available cpufreq governors: ondemand, performance
  current policy: frequency should be within 800 MHz and 1.73 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).

And here is cpufreq-info with the governor set to "performance":

cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 800 MHz - 1.73 GHz
  available frequency steps: 1.73 GHz, 1.33 GHz, 1.07 GHz, 800 MHz
  available cpufreq governors: ondemand, performance
  current policy: frequency should be within 800 MHz and 1.73 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.33 GHz (asserted by call to hardware).

Notice that performance only lets the cpu go to 1.33 GHz rather than the true max of 1.73.

cat /proc/cpuinfo | grep MHz shows the same story:

cpu MHz         : 1333.000

And here is the contents of /etc/conf.d/cpufreq:

#configuration for cpufreq control

# valid governors:
#  ondemand, performance, powersave,
#  conservative, userspace
governor="ondemand"

# valid suffixes: Hz, kHz (default), MHz, GHz, THz
min_freq="800MHz"
max_freq="1.73GHz"

Any ideas?

mad:mad::mad::mad::mad:

Offline

#2 2007-08-29 03:10:33

matt_man22
Member
From: Boston, MA
Registered: 2007-04-28
Posts: 54

Re: cpufreq hell, won't max out cpu

I had a similar problem with my 1.83GHz, where it would stay a step below.  I just set max_freq="2.0GHz" in /etc/conf.d/cpufreq, even though my processor couldn't do it.  Now it maxes correctly at 1.83GHz.  Go figure.

Offline

#3 2007-08-29 03:23:47

Tido
Member
Registered: 2007-06-21
Posts: 65

Re: cpufreq hell, won't max out cpu

wow that worked. Yeah, go figure. Thanks!

Offline

Board footer

Powered by FluxBB