LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-26-2010, 03:16 AM   #1
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Rep: Reputation: 18
Difference between CPU core and sockets?


anyone who can help me with how to differentiate cores and sockets in CPU?
 
Old 03-26-2010, 04:10 AM   #2
blacky_5251
Member
 
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 4&5, Fedora 10, CentOS 5.4, IPCop
Posts: 569

Rep: Reputation: 55
A socket is actually what the CPU chip is connected into, and refers in common language to the chip itself. A core is a full blown CPU sitting on the chip. For many years, this was a one to one relationship. One chip = one CPU. Now we have chips being sold that have multiple cores inside them. So one socket (chip) may have 1, 2 or 4 cores on it, and expect more...
 
Old 03-26-2010, 04:30 AM   #3
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,737

Rep: Reputation: 196Reputation: 196
To see what you have...

If you want information on the CPU, you can use the commands "lshw" or "x86info". Looking up the specifications of your motherboard will show you what the CPU socket is.

The motherboard name and model should also be shown in the results of "lshw" Google will do the rest.

Last edited by thorkelljarl; 03-26-2010 at 04:32 AM.
 
Old 03-26-2010, 04:42 AM   #4
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
May I know on which distribution x86info command works?
I tried it in ESX or CenTOS its not there.
 
Old 03-26-2010, 05:59 AM   #5
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,737

Rep: Reputation: 196Reputation: 196
Among others...

I have it on openSUSE 11.2. You may not have it in a your CentOS installation or repository, but Google should find an RPM if you search.
 
Old 03-26-2010, 09:00 AM   #6
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,910

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
You should find that the reply to your other thread, is universally applicable, but, individual distributions will have specific tools that are not universal.

You might have lscpu, or hwinfo on yours; in any case, you should be able to get clues from something commands like 'apropos' or 'man -k' combined with 'cpu', 'hardware' or 'core'.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
cpu frequency scaling with Pentium(R) Dual-Core CPU E5200 @ 2.50GHz tramni1980 Slackware 5 08-16-2009 08:29 AM
Difference in UNIX Domain Sockets: SOCK_DGRAM vs SOCK_STREAM tm007 Programming 11 02-27-2008 12:25 PM
Intel DG33FB motherboard - cannot run second core on cpu (core 2 duo) rmitev Linux - Enterprise 2 09-28-2007 04:54 AM
Raw Packet Sockets in Fedora Core 6 don't transmit Son_of_Merlin Linux - Networking 6 01-02-2007 12:55 AM
what's the difference between sockets? Thinking Programming 5 11-09-2005 11:44 AM


All times are GMT -5. The time now is 01:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration