LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-03-2008, 12:34 PM   #1
libin88
LQ Newbie
 
Registered: Jul 2005
Posts: 20

Rep: Reputation: 0
2.1GHz Quad Core Barcelona CPU was recognized as 1.3GHz Quad Core


Hi,

My OS is RedHat Enterprise Linux 5, kernel is 2.6.18-8.el5. But it recognized my 2.1GHz Quad Core Barcelona CPU as 1.3GHz Quad Core Barcelona CPU. Do you know why? How to fix this problem?

BTW, the BIOS can recognize 2.1GHz Quad Core Barcelona CPU.

Thanks,

Last edited by libin88; 11-03-2008 at 12:37 PM.
 
Old 11-03-2008, 01:16 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
first I would look at what the system sees..

yum install lshw
lshw -C processor


or

cat /proc/cpuinfo

or

dmidecode -t processor
 
Old 11-03-2008, 01:23 PM   #3
libin88
LQ Newbie
 
Registered: Jul 2005
Posts: 20

Original Poster
Rep: Reputation: 0
cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 2
model name : Quad-Core AMD Opteron(tm) Processor 2352
stepping : 3
cpu MHz : 1300.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow constant_tsc pni monitor cx16 lahf_lm cmp_legacy svm cr8_legacy
bogomips : 4205.96
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc [6] [7] [8]

processor : 1
vendor_id : AuthenticAMD
cpu family : 16
model : 2
model name : Quad-Core AMD Opteron(tm) Processor 2352
stepping : 3
cpu MHz : 1300.000
cache size : 512 KB
physical id : 4
siblings : 4
core id : 0
cpu cores : 4
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow constant_tsc pni monitor cx16 lahf_lm cmp_legacy svm cr8_legacy
bogomips : 4199.67
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc [6] [7] [8]

processor : 2
vendor_id : AuthenticAMD
cpu family : 16
model : 2
model name : Quad-Core AMD Opteron(tm) Processor 2352
stepping : 3
cpu MHz : 1300.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow constant_tsc pni monitor cx16 lahf_lm cmp_legacy svm cr8_legacy
bogomips : 4199.57
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc [6] [7] [8]

processor : 3
vendor_id : AuthenticAMD
cpu family : 16
model : 2
model name : Quad-Core AMD Opteron(tm) Processor 2352
stepping : 3
cpu MHz : 1300.000
cache size : 512 KB
physical id : 4
siblings : 4
core id : 1
cpu cores : 4
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow constant_tsc pni monitor cx16 lahf_lm cmp_legacy svm cr8_legacy
bogomips : 4199.56
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc [6] [7] [8]

processor : 4
vendor_id : AuthenticAMD
cpu family : 16
model : 2
model name : Quad-Core AMD Opteron(tm) Processor 2352
stepping : 3
cpu MHz : 1300.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow constant_tsc pni monitor cx16 lahf_lm cmp_legacy svm cr8_legacy
bogomips : 4199.57
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc [6] [7] [8]

processor : 5
vendor_id : AuthenticAMD
cpu family : 16
model : 2
model name : Quad-Core AMD Opteron(tm) Processor 2352
stepping : 3
cpu MHz : 1300.000
cache size : 512 KB
physical id : 4
siblings : 4
core id : 2
cpu cores : 4
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow constant_tsc pni monitor cx16 lahf_lm cmp_legacy svm cr8_legacy
bogomips : 4199.57
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc [6] [7] [8]

processor : 6
vendor_id : AuthenticAMD
cpu family : 16
model : 2
model name : Quad-Core AMD Opteron(tm) Processor 2352
stepping : 3
cpu MHz : 1300.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow constant_tsc pni monitor cx16 lahf_lm cmp_legacy svm cr8_legacy
bogomips : 4199.56
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc [6] [7] [8]

processor : 7
vendor_id : AuthenticAMD
cpu family : 16
model : 2
model name : Quad-Core AMD Opteron(tm) Processor 2352
stepping : 3
cpu MHz : 1300.000
cache size : 512 KB
physical id : 4
siblings : 4
core id : 3
cpu cores : 4
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow constant_tsc pni monitor cx16 lahf_lm cmp_legacy svm cr8_legacy
bogomips : 4199.56
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc [6] [7] [8]



dmidecode -t processor

# dmidecode 2.7
SMBIOS 2.6 present.

Handle 0x000F, DMI type 4, 35 bytes.
Processor Information
Socket Designation: CPU0-Socket 1207
Type: Central Processor
Family: <OUT OF SPEC>
Manufacturer: AuthenticAMD
ID: 23 0F 00 00 01 03 00 00
Version: AMD Opteron
Voltage: 1.2 V
External Clock: 200 MHz
Max Speed: 2100 MHz
Current Speed: 2100 MHz
Status: Populated, Enabled
Upgrade: <OUT OF SPEC>
L1 Cache Handle: 0x0009
L2 Cache Handle: 0x000A
L3 Cache Handle: 0x000B
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified

Handle 0x0010, DMI type 4, 35 bytes.
Processor Information
Socket Designation: CPU1-Socket 1207
Type: Central Processor
Family: <OUT OF SPEC>
Manufacturer: AuthenticAMD
ID: 23 0F 00 00 01 03 00 00
Version: AMD Opteron
Voltage: 1.2 V
External Clock: 200 MHz
Max Speed: 2100 MHz
Current Speed: 2100 MHz
Status: Populated, Enabled
Upgrade: <OUT OF SPEC>
L1 Cache Handle: 0x000C
L2 Cache Handle: 0x000D
L3 Cache Handle: 0x000E
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
 
Old 11-03-2008, 01:58 PM   #4
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
You probably have processor frequency scaling enabled, that is to say, when the load is low, each of the core clock speeds slow down. To test, just do 4 intensive processes (such as cat /dev/urandom > /dev/null &) , and then re-run cat /proc/cpuinfo | grep -E "processor|MHz" (just to simplify the output a little):
Code:
prompt$> cat /dev/urandom > /dev/null &
prompt$> cat /proc/cpuinfo | grep -E "processor|MHz"
You should see one of the processor's cores now registering the full 2.1GHz.

Last edited by pwc101; 11-03-2008 at 02:03 PM. Reason: grammar (damned apostrophes...)
 
Old 11-03-2008, 02:01 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Interesting /cat/proc/cpuinfo see's 4 Hyperthreaded Cores (so it ;ists 8 CPU's)... while DMI decode does not recognize the CPU family and only shows two cores ..

dmidecode see's the CPU frequency properly , while /proc/cpuinfo see's it as 1.3 Ghz..



for grins could I see the output of lspci I'd like to see if RHEL 5 recognizes your Motherboard Chipset properly among other things..


Is this RHEL 5.2 by chance ? just want to know if you are running the latest update or not.
 
Old 11-03-2008, 02:01 PM   #6
libin88
LQ Newbie
 
Registered: Jul 2005
Posts: 20

Original Poster
Rep: Reputation: 0
processor : 0
cpu MHz : 1300.000
processor : 1
cpu MHz : 1300.000
processor : 2
cpu MHz : 2100.000
processor : 3
cpu MHz : 1300.000
processor : 4
cpu MHz : 1300.000
processor : 5
cpu MHz : 1300.000
processor : 6
cpu MHz : 1300.000
processor : 7
cpu MHz : 1300.000


You are so right. Does that mean there is a "frequency scaling" setting in BIOS? And I should disable it.

Last edited by libin88; 11-03-2008 at 02:03 PM.
 
Old 11-03-2008, 02:08 PM   #7
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
There's no reason I am aware of for disabling it; the speed of each core increases when the load demands it. As a bonus, it uses less power, which is why this frequency scaling is common in laptops. I'm sure you can disable by removing the appropriate module from the kernel. Not sure which one that is though.
 
  


Reply

Tags
quad



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How does ps report CPU on a quad core server? mike.duffy Linux - Newbie 3 07-17-2008 01:55 AM
Fedora Core 6 on Xeon Quad Core baddah Fedora 3 11-18-2007 09:09 AM
LXer: Intel Core 2 Extreme Quad-Core QX9650 LXer Syndicated Linux News 0 10-29-2007 07:50 PM
Fedora Core 6 - Support for Quad Core Xeon baddah Linux - Hardware 1 09-20-2007 05:20 PM
When will AMD new quad core CPU be on retail market satimis General 1 09-18-2007 08:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration