LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-01-2011, 02:59 AM   #1
SHENGTON
Member
 
Registered: Sep 2008
Posts: 93

Rep: Reputation: 15
Question What is core and thread?


Hello, good afternoon.

Can someone explain to me about the "core" and "thread" in the processor.

Questions:
1. What is core?
2. What is thread?
3. What's the difference between core and thread?

Thanks and God bless.
 
Old 06-01-2011, 03:11 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
http://lmgtfy.com/?q=cpu+core
http://lmgtfy.com/?q=cpu+thread
 
Old 06-01-2011, 03:24 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
we will not do your homework .
End of story.
 
Old 06-01-2011, 04:02 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by SHENGTON View Post
Questions:
1. What is core?
2. What is thread?
3. What's the difference between core and thread?
  • In some cases, the answer to 1 is 'everything that's not uncore'. Oddly, that's not an entirely unhelpful answer, but it is not always true.
  • Thread, when not cotton, is unconnected with core.
  • From this, you can see that the answer to 3 is that they are not the same.

I'm not really sure that this is homework, but whether it is, or not, it is quite irritating to have a question phrased in this way, and, as has been indirectly pointed out earlier, you could have started out by doing a bit of work yourself.
 
Old 06-01-2011, 04:38 AM   #5
brownie_cookie
Member
 
Registered: Mar 2011
Location: Belgium
Distribution: CentOS release 5.5 (Final), Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
Posts: 416
Blog Entries: 2

Rep: Reputation: 12
Quote:
Originally Posted by salasi View Post
  • In some cases, the answer to 1 is 'everything that's not uncore'. Oddly, that's not an entirely unhelpful answer, but it is not always true.
  • Thread, when not cotton, is unconnected with core.
  • From this, you can see that the answer to 3 is that they are not the same.

I'm not really sure that this is homework, but whether it is, or not, it is quite irritating to have a question phrased in this way, and, as has been indirectly pointed out earlier, you could have started out by doing a bit of work yourself.
+1 xD
 
Old 06-01-2011, 04:44 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
OK, that's more than enough. Don't just reply to jump on a bandwagon.
 
Old 06-01-2011, 09:31 AM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
"Quick, Acid, the Flit!" Close that sucker before it gets away.
 
0 members found this post helpful.
Old 06-01-2011, 09:38 AM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Why does everyone think that this is homework?

When I try to search for the answer on Google, I can't get any relevant results becasue the words "core" and "thread" are used for so many other different things.
 
Old 06-01-2011, 12:39 PM   #9
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by SHENGTON View Post
1. What is core?
2. What is thread?
3. What's the difference between core and thread?
A core is an execution unit in a microprocessor; this definition is a bit ambiguous, and is about to get a bit different, but it will do for the moment.

Core2Duo (and Quad, etc) is an Intel brand/trademark and is used for some of their more recent processors. In this they are referring to the number of independent execution units that the processor has. AMD also has processors with multiple ewxecution units, but uses different branding.

A thread is something like a process, but lighter weight.

So at least one way of looking at the difference is that one is hardware (you know, silicon, stuff that you could touch, even though you'd probably destroy it by touching the silicon). A thread is a sequence of instructions, and so isn't something that you can touch quite so easily.

Intel has some processors that are multi-threaded. That is, one core can run more than one thread, pseudo-simultaneously. There are some advantages in doing this (pipeline stalls, while they still exist, can be made less serious, if you are lucky). AMD doesn't (currently?) have cores that can do this clever psuedo-simultaneity thing.

Now, of course, as this is easy to understand, its about to get harder. With some of the parts that AMD is about to announce, the execution core is, on paper, 'lighter' than is traditional, which may well muddy the waters slightly as to what is the core count, and whether one AMD core is equivalent to one Intel core. (This is, of course, piled on top of various other things aren't quite equivalent either.) But the real complication comes in that there are more and more moves to move some of the graphics architecture into the microprocessor, particularly by AMD.

Once the interface to the graphics execution units is standardised (which can be, but isn't necessarily, a result of moving the graphics units into the core) parts of the graphics arch can be used to perform some tasks that were previously only performed by the microprocessor execution units.

Now this may only apply to some of the simpler tasks and, in many cases, it may not be worth the set-up overhead of doing so, but you have to then ask how many execution units does the processor have? Is it the number of traditional microprocessor cores (eg, 2 - 4 - 6 - 8)? That number multiplied to take into account the hyperthreading of the Intel cores, where relevant? Or, do you include the extra cores that the graphics subsystem gives, which may be 40 or more, even if, most of the time you can't use them, and they aren't as 'powerful' as traditional cores?

Now you may well think that this is an irrelevant academic discussion, but then you probably don't have any software that you have to pay for on a per core licensing scheme. That would get your attention. As would the fact that you might be sold a four core processor, that would have a different number of cores, if assessed by the system used by a different supplier.

Traditionally, people have bought by clock speed, beleieving that 'more is better'. That is if someone compares a 1 GHz processor with a 2 GHz processor, it would have seemed clear that the faster clocked one would be faster. This was never really the case, but whether a 2 GHz single core, single thread processor is faster than a 1 GHz four core, processor is more obviously an open question. This will add to the confusion in the marketplace, and it was already rather confused, but then that really isn't my problem.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Thread scheduling on a multi core machine haftas Linux - Kernel 8 12-14-2010 09:29 AM
Extracting thread information from core dump using gdb/anytool Linux_Kid_ Linux - Software 1 07-23-2010 03:14 AM
thread affinity for a cpu core aloktiagi Linux - Newbie 4 08-21-2009 05:53 AM
Thread prog (core dump) kumars Linux - Newbie 1 09-04-2008 09:10 PM
POSIX thread scheduling problem on Fedora Core 5 katlina Programming 3 11-16-2006 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:54 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