<div dir="ltr">I replied to a message way further "up" in the thread... I've since read the whole thread now. Oops.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Feb 1, 2014 at 7:01 PM, David Thornton <span dir="ltr"><<a href="mailto:northdot9@gmail.com" target="_blank">northdot9-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">But I think your missing the point of the question: "What is the effect of hyperthreading versus multiple core, with respect to dead locks?". I think the answer is nothing. From a dead lock perspective, it's the same problem : <span style="color:rgb(68,68,68);font-family:arial,sans-serif;line-height:16.1200008392334px">O'Leary</span> is dead and O'reily don't know it, O'reily is dead and <span style="color:rgb(68,68,68);font-family:arial,sans-serif;line-height:16.1200008392334px">O'Leary</span> don't know it ( <a href="http://www.youtube.com/watch?v=YZWpffswMnM" target="_blank">http://www.youtube.com/watch?v=YZWpffswMnM</a> ).  Two threads / Processes depend on each-other to get something done, <a href="http://en.wikipedia.org/wiki/Deadlock" target="_blank">http://en.wikipedia.org/wiki/Deadlock</a> . It doesn't matter of those two threads / process are in their own thread or core, they are still waiting on each other.<span class="HOEnZb"><font color="#888888"><div>

<br></div><div>David</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 21, 2014 at 5:42 PM, Lennart Sorensen <span dir="ltr"><<a href="mailto:lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys@public.gmane.org" target="_blank">lsorense@csclub.uwaterloo.ca</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Tue, Jan 21, 2014 at 04:26:24PM -0500, Bob Jonkman wrote:<br>
> -----BEGIN PGP SIGNED MESSAGE-----<br>
> Hash: SHA1<br>
><br>
> Is there a difference between hyperthreading and multithreading?<br>
><br>
> (Not a snark -- I really don't know, and would like to...)<br>
<br>
</div>Hyperthreading is one way to give you multiple hardware threads.<br>
Actual seperate cores is another way.  To software there is no<br>
difference between a CPU core and a CPU thread.  Every core has at<br>
least one hardware thread.  Hyperthreading gives each core 2 threads<br>
(in all current implementations).  power6 has 2 threads per core of SMT,<br>
and power7 has 4 threads per core.  power8 is likely to have 8 threads<br>
per core.<br>
<br>
Multithreading is multiple threads in a process.  Every process has<br>
at least one thread (if it has more than the first one, then it is a<br>
multithreaded program).  The system runs one thread on one CPU at any<br>
given time, so a multithreaded program could be using multiple cores at<br>
once, or at least multiple hardware threads on a core.<br>
<br>
The hardware threads share some resources, such as execution units,<br>
but do not share CPU registers.  Each CPU core on the other hand is<br>
independant (in general.  AMD's newer chips is starting the share the<br>
FPU between two cores in interesting ways, without sharing anything else).<br>
<span><font color="#888888"><br>
--<br>
Len Sorensen<br>
</font></span><div><div>--<br>
The Toronto Linux Users Group.      Meetings: <a href="http://gtalug.org/" target="_blank">http://gtalug.org/</a><br>
TLUG requests: Linux topics, No HTML, wrap text below 80 columns<br>
How to UNSUBSCRIBE: <a href="http://gtalug.org/wiki/Mailing_lists" target="_blank">http://gtalug.org/wiki/Mailing_lists</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>