LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-20-2010, 01:42 PM   #1
ScoreOne
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Rep: Reputation: 0
Trying to figure out hardware info for Linux box


Hi,

I'm trying to figure out the number of physical processors and cores for this box. I thought this is a quadcore and when I used the 'cat /proc/cpuinfo' command I got proc0 and proc1.. see below. Anyone happen to know what's causing this?

Thanks


processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Intel(R) Xeon(R) CPU L5420 @ 2.50GHz
stepping : 6
cpu MHz : 2501.085
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm pni monitor ds_cpl est tm2 xtpr
bogomips : 5003.60

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Intel(R) Xeon(R) CPU L5420 @ 2.50GHz
stepping : 6
cpu MHz : 2501.085
cache size : 6144 KB
physical id : 1
siblings : 4
core id : 4
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm pni monitor ds_cpl est tm2 xtpr
bogomips : 4999.60
 
Old 10-20-2010, 02:00 PM   #2
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
I don't know anything about your specific processor, but would check the identifiers at the Intel(tm) site.

I would also check you "system setup" or CMOS or BIOS settings to see if you must enable or disable something.

The utility lshw shows a linux-eye view of your hardware.
Code:
...
    *-cpu:0
          description: CPU
          product: Intel(R) Core(TM)2 Duo CPU     L7500  @ 1.60GHz
          vendor: Intel Corp.
          physical id: 6
          bus info: cpu@0
          version: 6.15.11
          serial: 0000-06FB-0000-0000-0000-0000
          slot: None
          size: 1200MHz
          capacity: 1200MHz
          width: 64 bits
          clock: 200MHz
          capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx x86-64 constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm ida tpr_shadow vnmi flexpriority cpufreq
          configuration: id=0
...
The utility dmidecode has a report about processor details.
Read the man-page for an explanation of that tool. My report says,
in part:
Code:
...
Handle 0x0006, DMI type 4, 35 bytes
Processor Information
        Socket Designation: None
        Type: Central Processor
        Family: Other
        Manufacturer: GenuineIntel
        ID: FB 06 00 00 FF FB EB BF
        Version: Intel(R) Core(TM)2 Duo CPU     L7500  @ 1.60GHz
        Voltage: 1.1 V
        External Clock: 200 MHz
        Max Speed: 1600 MHz
        Current Speed: 1600 MHz
        Status: Populated, Enabled
        Upgrade: None
        L1 Cache Handle: 0x000A
        L2 Cache Handle: 0x000C
        L3 Cache Handle: Not Provided
        Serial Number: Not Specified
        Asset Tag: Not Specified
        Part Number: Not Specified
...
Bonne chance,
~~~ 0;-Dan
 
Old 10-20-2010, 02:23 PM   #3
ScoreOne
LQ Newbie
 
Registered: Oct 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the response. I will look into those commands.
I'm just wondering what are the potential reasons for causing the output to only show two logical processors? This is the first time I'm seeing so this so it would be good to have an idea what may be causing this before I go around tinkering with the settings.


Thanks
 
Old 10-21-2010, 04:19 PM   #4
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
I would think that (1) either you only have a dual core item instead of the quad or other that you expected, or (2) BIOS or similar has suppressed the others.

I'm not a maven about either multi-core processors or what the kernel is doing to support them. Perhaps a trip to various kernel and symmetric multi-processing (SMP) sites will shed light.

Wish I could have helped more,
~~~ 0;-Dan
 
Old 10-21-2010, 04:20 PM   #5
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
FOLLOW-UP -- only two processors

Inspect your kernel config file to see what it says about multiple and multi-core processors. Where it lives depends on your distribution.

~~~ 0;-Dan
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get hardware info in C++ for linux craigorymaas Programming 1 04-01-2009 12:49 PM
Linux temperature monitoring and hardware info Shwick Linux - Newbie 2 07-12-2008 10:05 AM
Hardware Info in Linux pve Linux - Software 2 12-20-2004 09:08 AM
Hardware Info in Linux pve Linux - Hardware 1 12-01-2004 07:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:22 PM.

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