[ltp] T40 cpufreq

Dan Borello linux-thinkpad@linux-thinkpad.org
Thu, 21 Aug 2003 17:08:13 -0500


On Mon, 2003-08-18 at 11:08, Valient Gough wrote:
> On Sat, 2003-08-16 at 14:18, mukesh agrawal wrote: 
> > I think /proc/cpuinfo just reports what was detected at boot time.
> 
> Not anymore..  On my T40 w/ SuSE 8.2 (ships with patched 2.4.20
> kernel):
> 
> # cat /proc/cpuinfo  | sed -n "/cpu MHz\|bogo/p"
> cpu MHz         : 1598.665
> bogomips        : 3191.60
> 
> # cat /proc/cpufreq
>           minimum CPU frequency  -  maximum CPU frequency  -  policy
> CPU  0       199833 kHz ( 12 %)  -    1598665 kHz (100 %)  - 
> performance
> 
> # echo "0%40%100%powersave" > /proc/cpufreq
> 
> cat /proc/cpuinfo  | sed -n "/cpu MHz\|bogo/p"
> cpu MHz         : 799.332
> bogomips        : 1595.80
> 
> # cat /proc/cpufreq
>           minimum CPU frequency  -  maximum CPU frequency  -  policy
> CPU  0       639466 kHz ( 40 %)  -    1598665 kHz (100 %)  - 
> powersave

My doesn't auto update, I wonder if that is a patch.  Either way, my cpu
changes speeds so it is all good.

dan