anyone get cpufreq working

Troy Campano troycampano at yahoo.com
Tue Jan 27 23:53:22 UTC 2004


Thank you very much Satish.
This worked like a charm. I have a P4 mobile.

Just a question, do you know why checking out the CPU in ACPI still
shows it at full speed?

[root at insomnia root]# cat /proc/acpi/processor/CPU0/performance
state count:             6
active state:            P0
states:
   *P0:                  2400 MHz, 20000 mW, 250 uS
    P1:                  2400 MHz, 20000 mW, 250 uS
    P2:                  2400 MHz, 20000 mW, 250 uS
    P3:                  2400 MHz, 20000 mW, 250 uS
    P4:                  2400 MHz, 20000 mW, 250 uS
    P5:                  1200 MHz, 15000 mW, 250 uS

When I check CPUFREQ it appears to be working:

[root at insomnia root]# cat /proc/cpufreq
          minimum CPU frequency  -  maximum CPU frequency  -  policy
CPU  0      1200000 kHz ( 50 %)  -    2400000 kHz (100 %)  - 
performance
[root at insomnia root]# echo -n "0:0:0:powersave" > /proc/cpufreq
[root at insomnia root]# cat /proc/cpufreq
          minimum CPU frequency  -  maximum CPU frequency  -  policy
CPU  0      1200000 kHz ( 50 %)  -    1200000 kHz ( 50 %)  -  powersave


Is my ACPI just not working properly? I guess I'm just looking for a
sure way to make sure my CPU is running at 50% now.


I'll have to check out cpudyn now.

thanks again for your help!

~ Troy Campano ~


On Mon, 2004-01-26 at 15:25, Satish Balay wrote:

> On Sun, 25 Jan 2004, Troy Campano wrote:
> 
> > Anyone get CPUFREQ working to change the speed of your CPU?
> > 
> > When I cat the CPUFREQ file it doesn't really change anything.
> > 
> > echo -n "0:0:0:powersave" > /proc/cpufreq
> > 
> > And I get:
> > 
> > 
> > [root at insomnia root]# cat /proc/cpufreq
> >           minimum CPU frequency  -  maximum CPU frequency  -  policy
> > 
> > 
> > Do I need to do something else?
> 
> Depending upon the mobile chip you have - you will need to load the
> correct speedstep kernel module.
> 
> Pentium-M         : speedstep-centrino
> Pentium-4 Mobile  : speedstep-ich
> Pentium-III Mobile: speedstep-lib
> 
> I have a Pentium-M and add the following line to  /etc/rc.local 
> >>
> modprobe speedstep-centrino
> >>
> 
> Now the following works:
> >>>>
> [asterix]: lsmod |grep speedstep
> speedstep-centrino      3624   0  (unused)
> [asterix]: cat /proc/cpufreq 
>           minimum CPU frequency  -  maximum CPU frequency  -  policy
> CPU  0       600000 kHz ( 37 %)  -    1600000 kHz (100 %)  -  performance
> [asterix]: echo -n "0:0:0:powersave" > /proc/cpufreq
> [asterix]: cat /proc/cpufreq 
>           minimum CPU frequency  -  maximum CPU frequency  -  policy
> CPU  0       600000 kHz ( 37 %)  -     600000 kHz ( 37 %)  -  powersave
> >>>>>
> 
> However I use cpudyn to manage this automatically.
> http://apt.sw.be/redhat/fc1/en/i386/dag/RPMS/cpudyn-0.4.7-0.rhfc1.dag.i386.rpm
> 
> Satish
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040127/086c55f3/attachment-0001.htm>


More information about the fedora-list mailing list