Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wrong CPU speed shown in /proc/cpuinfo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
insomniac
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2002
Posts: 132
Location: Lund, Sweden

PostPosted: Sat Oct 12, 2002 10:04 pm    Post subject: Wrong CPU speed shown in /proc/cpuinfo Reply with quote

I have a Thinkpad (IBM T20) with a 650 MHz P-III cpu. But:

bash-2.05a# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 3
cpu MHz : 135.516
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 286.72

So.... what's wrong???
_________________
My next computer is also a Gentoo computer
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Sun Oct 13, 2002 9:46 am    Post subject: Reply with quote

Maybe your cpu is set for lower speed to conserve power :?:
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
drone
n00b
n00b


Joined: 12 Oct 2002
Posts: 2

PostPosted: Sun Oct 13, 2002 10:18 am    Post subject: Use the BIOS... Reply with quote

And see if you can set some powersaving options there.
My Thinkpad 240 has this set of options... And then there is the Fn+Key keyboard commands to set the cpu to full power / low power / floating power consumption. But I find them key presses confusing, so I just set it to full power in the BIOS.

Try that and see what you get.
Back to top
View user's profile Send private message
insomniac
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2002
Posts: 132
Location: Lund, Sweden

PostPosted: Sun Oct 13, 2002 2:49 pm    Post subject: Reply with quote

hmm... got the following now:

sh-2.05a$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 3
cpu MHz : 497.842
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 992.87

...which is a bit better, but still not 650 MHz...

I am using the gentoo-sources kernel. The Thinkpad modules are not loaded.
_________________
My next computer is also a Gentoo computer
Back to top
View user's profile Send private message
oniq
Guru
Guru


Joined: 02 Sep 2002
Posts: 597
Location: Connecticut

PostPosted: Sun Oct 13, 2002 4:12 pm    Post subject: Reply with quote

Do you have CPU Frequency scaling turned on in the kernel under Processor type and features?
_________________
open like a child's mind.
Back to top
View user's profile Send private message
insomniac
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2002
Posts: 132
Location: Lund, Sweden

PostPosted: Sun Oct 13, 2002 5:38 pm    Post subject: Reply with quote

eh - i have no such option there...
_________________
My next computer is also a Gentoo computer
Back to top
View user's profile Send private message
oniq
Guru
Guru


Joined: 02 Sep 2002
Posts: 597
Location: Connecticut

PostPosted: Sun Oct 13, 2002 6:21 pm    Post subject: Reply with quote

How about when you boot, what is your CPU speed? (dmesg | grep speed)

Quote:
eh - i have no such option there...


Its in my kernel, 2.4.19-gentoo-r5..
_________________
open like a child's mind.
Back to top
View user's profile Send private message
insomniac
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2002
Posts: 132
Location: Lund, Sweden

PostPosted: Sun Oct 13, 2002 6:22 pm    Post subject: Reply with quote

here:

sh-2.05a$ dmesg | grep MHz
Detected 497.842 MHz processor.
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
sh-2.05a$

hmm... seems like something is not right.

what about the "jiffies" setting in the kernel config? it's set to 100... (what does it do, anyway???)
_________________
My next computer is also a Gentoo computer
Back to top
View user's profile Send private message
oniq
Guru
Guru


Joined: 02 Sep 2002
Posts: 597
Location: Connecticut

PostPosted: Sun Oct 13, 2002 10:29 pm    Post subject: Reply with quote

Since it seems to boot at a lower speed, its got to either think its on battery power or its a BIOS setting. Which kernel are you exactly using (from uname -r)? Why not give a different kernel a try, making sure scaling is off?

Try checking out http://mr.uue.org/gnulinux/t20/#speedstep.
_________________
open like a child's mind.
Back to top
View user's profile Send private message
insomniac
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2002
Posts: 132
Location: Lund, Sweden

PostPosted: Mon Oct 14, 2002 2:51 pm    Post subject: Reply with quote

i'm using gentoo-sources 2.4.19
will check more when i get home
_________________
My next computer is also a Gentoo computer
Back to top
View user's profile Send private message
insomniac
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2002
Posts: 132
Location: Lund, Sweden

PostPosted: Mon Oct 14, 2002 5:28 pm    Post subject: Reply with quote

bash-2.05a# uname -r
2.4.19-gentoo-r9
bash-2.05a#

And I _still_ do not have a "scaling" setting anywhere in the kernel options...
_________________
My next computer is also a Gentoo computer
Back to top
View user's profile Send private message
ee99ee2
Guru
Guru


Joined: 18 Jun 2002
Posts: 307
Location: Murfreesboro, TN, USA

PostPosted: Fri Apr 18, 2003 8:33 pm    Post subject: Reply with quote

me either
_________________
ServerMotion
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Fri Apr 18, 2003 9:42 pm    Post subject: Reply with quote

I've only seen CPU Frequency Scaling in 2.5.x kernels, not 2.4.x.
Back to top
View user's profile Send private message
gubbs
n00b
n00b


Joined: 28 Feb 2003
Posts: 35

PostPosted: Sun Jun 29, 2003 4:49 pm    Post subject: Reply with quote

did you resolve this?

I just ordered a t20 ... :Os
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum