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

CPU frequency scaling and /proc/sys/cpu/ interface



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?


Thanks in advance.

Best regards.



Here is an extract from then .config file:

#
# Processor
#
CONFIG_6xx=y
# CONFIG_40x is not set
# CONFIG_44x is not set
# CONFIG_POWER3 is not set
# CONFIG_POWER4 is not set
# CONFIG_8xx is not set
# CONFIG_E500 is not set
CONFIG_ALTIVEC=y
CONFIG_TAU=y
# CONFIG_TAU_INT is not set
# CONFIG_TAU_AVERAGE is not set
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_PROC_INTF=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_24_API is not set
CONFIG_CPU_FREQ_PMAC=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_PPC601_SYNC_FIX=y
CONFIG_PM=y
CONFIG_PPC_STD_MMU=y


Here is how the "Processor" window looks like:

    Processor Type (6xx/7xx/74xx/52xx/8260)  --->
[*] AltiVec Support
[*] Thermal Management Support
[ ]   Interrupt driven TAU driver (DANGEROUS)
[ ]   Average high and low temp
[*] CPU Frequency scaling
<*>   /proc/cpufreq interface (deprecated)
      Default CPUFreq governor (userspace)  --->
<*>   'performance' governor
<*>   'powersave' governor
---   'userspace' governor for userspace frequency scaling
[ ]     /proc/sys/cpu/ interface (2.4. / OLD)
[*]   Support for Apple PowerBooks
[*] Workarounds for PPC601 bugs
-- 
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: pgpVNDqDBqJ44.pgp
Description: PGP signature


Reply to: