All of lore.kernel.org
 help / color / mirror / Atom feed
* CPU Frequency Scaling
@ 2004-09-01 23:01 ncrfgs
  2004-09-02  9:48 ` Bruno Ducrot
  0 siblings, 1 reply; 12+ messages in thread
From: ncrfgs @ 2004-09-01 23:01 UTC (permalink / raw)
  To: cpufreq


[-- Attachment #1.1: Type: text/plain, Size: 2640 bytes --]

Hi,

I'm running a vanilla 2.6.8.1 Linux kernel on an iBook 2.2 G3
900 MHz and I'd like to try the CPU frequency scaling.

Is it required to enable "/proc/sys/cpu/ interface (2.4. / OLD)"
in order to be able to use CPU frequency scaling efectively?

The kernel I'm running doesn't include it, I'm using powernowd
as userspace governor and the CPU frequency scaling seems to
work as far as I know from what I read in /proc/cpu* and
/sys/devices/system/cpu/cpu0/cpufreq/* files.

Unfortunately even when /proc/cpuinfo reports a clock of 900MHz
and /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq is set
to 900000 the system looks quite slow to me, for example during
compilation processes, as if the current frequency was 400 MHz.

Do I have to enable "Support for Apple PowerBooks", too?


Some days ago I argued about this issue with a guy from the
debian-powerpc mailing list, too and I faced a strange situation
I didn't understand. According to his kernel config he is using
'performance' as Default CPUFreq governor but as far as I can see
from the 'performance' governor Help it shouldn't allow CPU
Frequency scaling:

  CONFIG_CPU_FREQ_GOV_PERFORMANCE:

  This cpufreq governors set the frequency statically to the
  highest available CPU frequency.


He said that's strange indeed. Nevertheless, He's sure that his frequency is
changing...

"Because the battery life increase by 1 hour with cpufreqd. And Battery
load derivative decrease (absolute value increase) when I use some cpu
intensive programs. Less formally, the more cpu I use the faster my
battery load decrease."

Is it just an impression of his?


Here a portion of his kernel .config file follows.

  CONFIG_CPU_FREQ=y
  # CONFIG_CPU_FREQ_PROC_INTF is not set
  CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
  # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
  CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
  CONFIG_CPU_FREQ_GOV_POWERSAVE=m
  CONFIG_CPU_FREQ_GOV_USERSPACE=m
  # CONFIG_CPU_FREQ_24_API is not set
  CONFIG_CPU_FREQ_PMAC=y
  CONFIG_CPU_FREQ_TABLE=y


As far as I could see from the section of the kernel config he sent me
last time, he compiled 'userspace' governor as a module. So I asked him
if was it loeaded but he answered that is was not.

> cat devices/system/cpu/cpu0/cpufreq/scaling_available_governors
> performance



Thanks in advance.

Best regards.
-- 
Value your freedom, or you will lose it, teaches history. 
``Don't bother us with politics,'' respond those who don't 
want to learn.

 -- Richard M. Stallman
    http://www.gnu.org/philosophy/linux-gnu-freedom.html

[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
Cpufreq mailing list
Cpufreq@www.linux.org.uk
http://www.linux.org.uk/mailman/listinfo/cpufreq

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-09-03 13:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200301101600.26246.krishnakumar@naturesoft.net>
2003-01-12 17:09 ` Cpu frequency scaling Ralf Baechle
2003-01-12 19:01   ` Kevin D. Kissell
2003-01-12 19:01     ` Kevin D. Kissell
2003-01-13  4:15     ` Pete Popov
2004-09-01 23:01 CPU Frequency Scaling ncrfgs
2004-09-02  9:48 ` Bruno Ducrot
2004-09-02 10:53   ` Mattia Dongili
2004-09-02 12:41     ` Bruno Ducrot
2004-09-02 13:36       ` Mattia Dongili
2004-09-03  8:34       ` ncrfgs
2004-09-03  9:17         ` Bruno Ducrot
2004-09-03 13:54           ` Carl Thompson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.