Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Dual core vs hyperthreading?

  1. Sep 10, 2006 #1
    So what's the difference between these two technologies? seems to me they're almost the same, no?
  2. jcsd
  3. Sep 10, 2006 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    They are not at all the same.

    A hyperthreaded processor has the same number of function units as an older, non-hyperthreaded processor. It just has two execution contexts, so it can maybe achieve better function unit utilization by letting more than one program execute concurrently. On the other hand, if you're running two programs which compete for the same function units, there is no advantage at all to having both running "concurrently." When one is running, the other is necessarily waiting on the same function units.

    A dual core processor literally has two times as many function units as a single-core processor, and can really run two programs concurrently, with no competition for function units.

    - Warren
  4. Sep 10, 2006 #3
    HyperThreading was an attempt to do what dual-core is doing. It was only 'faking' it though, whereas dual-core is the real thing. And, in all honesty, HT never did much. Hell, some Windows applications recommended turning it off!
    Basically what Chroot said was correct, and Intel has actual dropped (for now) HT on the new Core models, as dual-cores have been achieved now.
  5. Sep 10, 2006 #4
    But there is some competition with regards to memory access.
    For instance the AMD dual cores are better optimized for this than the current Intel processors.
  6. Sep 12, 2006 #5
    Source please?

    I have a dual core 2.0Ghz with 2 gig Ram runing osX 10.4. I have Umbuntu and XP virtually running on top, with only a small performance hit. I use a LOT of RAM doing this however.

    I dont think I could have done that with hyperthreaded proc
  7. Sep 12, 2006 #6
    I thought MeJennifers comparison was between current AMD dual cores and Intel dual cores, not between a dual core and an HT single core.

    I think AMD still holds the edge in memory bandwidth with its on-die controller, versus Intel's FSB. This is huge as you scale beyond 2-4 cores/die: it doesn't matter how many operations per clock you can do if you're waiting for operands. AMD's Hypertransport scales better than FSB.

    There was a huge spate of head-to-head comparisons when Woodcrest was released. Poke around arstechnica or slashdot for some links.

  8. Sep 12, 2006 #7
    Hmmm maybe it came across as if I was doubting her comparison, I wasnt, I was just wanting the source for that information.
  9. Sep 12, 2006 #8
    I suppose MeJennifer is refering to Core microarchitecture, in relation to the AMD integrated memory controller.

    It would help to identify the technologies also, the particular pentium 4 with hyperthreading are Netburst microarchitecture, AMD is K8 microarchitecture, and the latest intel microarchitecture is Core -- as in Core 2 (Conroe, Merom, Woodcrest, Allendale)-- Although it seems Core "mobile" yonah is not regarded to have Core microarchitecture.
    Sorry about the general use of "Core," I have heard of intel to use single processors in Core 2--much in the way as mobile Core yonah (Core Solo, with Solo as single core and Duo for dual core), with one processor core disabled in the dual core die giving a Core Solo CPU.

    Correct my errors as necessary, and it would be helpful to refer to hyperthreading as a type of SMT (simultaneaous multithreading).

    EDIT: I am uncertain of which AMD CPU's are K8 microarchitecture. i.e. post Athlon 64?

    Corrected SMT also...
    Last edited: Sep 12, 2006
  10. Sep 12, 2006 #9


    User Avatar
    Homework Helper

    It's my understanding that the Intel Dual Core CPU's share the cache, which eliminates the logic required to invalidate one CPU's cache when another CPU modifies memory with a non-shared cache.
  11. Sep 14, 2006 #10
    Core still needs some synchronization methods to maintain coherence and avoid race conditions.

    A potential bonus of the shared cache is that one thread could take more than half the cache if needed. A potential pitfall is if two threads, for example two data-hungry, number-happy scientific threads, both want more than half of the cache and start evicting each other. Presumably Intel has some sort of damping term in its cache algorithms to minimize this.

    Core has some radical new thinking in the cache. Time will tell how much that benefits scientific work loads.
  12. Sep 14, 2006 #11


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    The algorithms for cache-coherent non-uniform memory access have been in existence for many years. SGI has had such technology in their supercomputers for something like 15 years now.

    It's nothing really new, but it's new to the desktop PC scene.

    - Warren
  13. Sep 14, 2006 #12
    For 15 years? I would never have characterised them as supercomputers.
    They just did the graphics fast.
  14. Sep 14, 2006 #13


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    What are you, a joker? They make the finest supercomputers on the planet. The fourth largest supercomputer in existence right now is an SGI machine with 10,160 processors.


    It's too bad their marketing always stank, because they literally made the best computers on the market.

    - Warren
  15. Sep 14, 2006 #14
    Yes right now, but certainly not 15 years ago!
    No need to ask if I am a joker.
    See for a history of SGI for instance http://en.wikipedia.org/wiki/Silicon_Graphics" [Broken]
    Last edited by a moderator: May 2, 2017
  16. Sep 14, 2006 #15


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Thirteen years ago, on the first Top500 list, Cray held the #9 and #10 positions. http://www.top500.org/lists/1993/06 As you know, Cray was later purchased by SGI.

    These machines used essentially the same technology, called ccNUMA, by SGI in later years.

    Like I said originally, cache-coherent non-uniform memory access architecture has been around ~15 years. Please keep in mind that I used to work for SGI, and don't really have much use for a page on Wikipedia.

    - Warren
    Last edited by a moderator: May 2, 2017
  17. Sep 17, 2006 #16
    Thanks for such an extensive info....Dual-core is definitely better than HT
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook