[ltp] T40 cpufreq

Dan Borello linux-thinkpad@linux-thinkpad.org
Mon, 18 Aug 2003 09:12:25 -0500


On Sat, 2003-08-16 at 16:18, mukesh agrawal wrote:
> On Sat, 16 Aug 2003, Dan Borello wrote:
> 
> > I have apm support in my 2.4.21-ac4 kernel.  I also am using the cpufreq
> > support in the ac patches.  When I insmod the proper module,
> > speedstep_centrino I see a /proc/cpufreq.  I am able to change the
> > values and percentages of this file.  It seems that they do not take
> > affect.  /proc/cpuinfo continues to show the speed at which it was
> > booted with.  ACPI doesn't like to run so I have stopped trying to use
> > that.  Has anybody had sucess changing the cpufreq on these machines?
> 
> I think /proc/cpuinfo just reports what was detected at boot time.
> 
> Try running bogomips.
> 
> Or if you don't have bogomips handy, something like
> 
> ---------------------- spin.c ---------------------------
> main () {
>         int i=0;
> 
>         for (; i<1E9; i++);
> }
> ---------------------------------------------------------
> 
> % gcc spin.c -o spin
> % time ./spin


I downloaded the bogomips package.  It does actually scale!  I would
like to thank everybody (and their sites) for helping me get my laptop
up and running.  Everything is running perfectly now!  

thanks,
dan
-- 
Dan Borello <dan@borellos.com>