Linked by David Adams on Wed 4th Aug 2010 18:28 UTC, submitted by estherschindler
Hardware, Embedded Systems Anyone contemplating a new computer purchase (for personal use or business) is confronted with new (and confusing) hardware choices. Intel and AMD have done their best to differentiate the x86 architecture as much as possible while retaining compatibility between the two CPUs, but the differences between the two are growing. One key differentiator is hyperthreading; Intel does it, AMD does not. This article explains what that really means, with particular attention to the way different server OSes take advantage (or don't). Plenty of meaty tech stuff.
Permalink for comment 435426
To read all comments associated with this story, please click here.
RE: Comment by another_sam
by Brendan on Wed 4th Aug 2010 20:22 UTC in reply to "Comment by another_sam"
Member since:


"At some point, the pipeline may stall. It has to wait for data, or for another hardware component in the computer, whatever. We’re not talking about a hung application; this is a delay of a few milliseconds while data is fetched from RAM. Still, other threads have to wait in a non-hyperthreaded pipeline, so it looks like:
thread1— thread1— (delay)— thread1—- thread2— (delay)— thread2— thread3— thread3— thread3—"

I don't get a clear picture of this added to what they told me about OS scheduling at college.

That's because the article uses confusing terminology (I'm seriously wondering if the article's author knows the difference between hyper-threading in hardware and multi-threading in software). It's also a little misleading ("a few milliseconds while data is fetched from RAM" only makes sense if your RAM is *insanely* slow).

A (hopefully) better explanation might be:

If a core is pretending to be 2 logical CPUs; then if the core can't execute instructions from one logical CPU (e.g. because data needs to be fetched from RAM) then it can still execute instructions from the other logical CPU, and the core doesn't have to just sit there doing nothing...


Reply Parent Score: 2