LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   cpu frequency scaling (https://www.linuxquestions.org/questions/slackware-14/cpu-frequency-scaling-693096/)

tramni1980 12-26-2008 10:56 AM

cpu frequency scaling
 
Hello!
I am running Slackware-12.2 with kernel-generic-smp-2.6.27.7-smp. My processor is:
Code:

cat /proc/cpuinfo
processor      : 0
vendor_id      : GenuineIntel
cpu family      : 15
model          : 3
model name      : Intel(R) Celeron(R) CPU 2.40GHz
stepping        : 4
cpu MHz        : 2393.142
cache size      : 256 KB
fdiv_bug        : no
hlt_bug        : no
f00f_bug        : no
coma_bug        : no
fpu            : yes
fpu_exception  : yes
cpuid level    : 5
wp              : yes
flags          : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc up pebs bts pni monitor ds_cpl cid xtpr
bogomips        : 4786.28
clflush size    : 64
power management:

I read about CPU frequency scaling in the Slackwiki. I tested by trial and error all the modules in /lib/modules/2.6.27.7-smp/kernel/arch/x86/kernel/cpu/cpufreq, but none of them loaded successfully.

Any ideas?

Regards,
Martin

ErV 12-26-2008 11:44 AM

Check this:
http://ubuntuforums.org/showthread.php?t=190921
It is said that p4_clockmod should work with Celeron.

guanx 12-27-2008 05:47 AM

Quote:

Originally Posted by tramni1980 (Post 3387755)
Code:

vendor_id      : GenuineIntel
cpu family      : 15
model          : 3
model name      : Intel(R) Celeron(R) CPU 2.40GHz
stepping        : 4
cpu MHz        : 2393.142
cache size      : 256 KB

Regards,
Martin

What CPU are you actually using? The Celeron D? Please check if it supports freq scaling at all.

P.S. I always recompile the kernel and choose the exact options which are proper for my processor, chipset, etc.. Also please don't use SMP kernel if you have a UP system.

BCarey 12-27-2008 10:05 AM

Quote:

Originally Posted by guanx (Post 3388368)
Also please don't use SMP kernel if you have a UP system.

Why? The official recommendation is (from CHANGES_AND_HINTS.TXT):
Quote:

For most systems, you should use the generic SMP kernel if it will run,
even if your system is not SMP-capable.
Bria

guanx 12-27-2008 11:40 AM

Quote:

Originally Posted by BCarey (Post 3388519)
Why? The official recommendation is (from CHANGES_AND_HINTS.TXT):
For most systems, you should use the generic SMP kernel if it will run,
even if your system is not SMP-capable.

Bria

If you don't have to use APIC on your UP system (most likely), the SMP kernel only creates problems with ACPI (sometimes), and incompatibilities with some of the iptables filters (the pid filter for example), etc..

I always compile my own kernel for my computers. I don't use what I don't need.

If Martin <tramni1980> is sure that his CPU and chipset support freq scaling (check www.intel.com), he could recompile the kernel and choose exactly the drivers for his computer.

tramni1980 12-27-2008 11:51 AM

Ok , I just hoped that there is possibly some way round that does not involve kernel compilation. I am still daunted by idea of compiling a new kernel.

Thanks for your replies.

Martin


All times are GMT -5. The time now is 05:59 PM.