[ltp] T40 cpufreq

mukesh agrawal linux-thinkpad@linux-thinkpad.org
Sat, 16 Aug 2003 17:18:43 -0400 (EDT)


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