Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch > #32279

Re: SMT ("Hyperthreading") experience in Skylake

From Ivan Godard <ivan@millcomputing.com>
Newsgroups comp.arch
Subject Re: SMT ("Hyperthreading") experience in Skylake
Date 2015-12-29 17:56 -0800
Organization A noiseless patient Spider
Message-ID <n5vdej$ilm$1@dont-email.me> (permalink)
References <2015Dec28.095749@mips.complang.tuwien.ac.at> <46faf5ed-6dec-4c8a-b126-f517594d2284@googlegroups.com> <a9110c63-9435-41a8-8ebf-867b7834e6db@googlegroups.com>

Show all headers | View raw


On 12/29/2015 5:17 PM, Quadibloc wrote:
> On Tuesday, December 29, 2015 at 4:58:43 PM UTC-7, MitchAlsup wrote:
>> On Monday, December 28, 2015 at 3:09:36 AM UTC-6, Anton Ertl wrote:
>>
>>> So for this benchmark, SMT buys only a factor 1.12
>>
>> I am continually amazed that anyone thinks that hyperthreading buys
>> much at all, or can buy much, or ever will. The fact is that memory
>> is the bottleneck, not the CPU.
>
> Yes, memory is a horrible bottleneck.
>
> But there's this thing called "cache", which apparently works quite well.
>
> And multithreading helps make effective use of pipelined processors. Unlike
> out-of-order execution, if you've *got* another thread available, it's just
> about guaranteed to provide additional throughput.

You'd think so, wouldn't you? And for sure that's the way it's been sold.

Turns out not to be true in general, and only true in specific for 
certain kinds of loads. Anton's numbers are typical of many. MT seems to 
pay when there is a large number of unavoidable LLC misses, so the core 
is stalling on DRAM all the time; an example is large scale transaction 
processing where the data is many times larger than cache and is 
effectively random accessed. An important load to be sure, but not the 
kind of loads most of us see every day.

The problem with SMT is the top level caches, both code and data. The 
extra threads tend to have combined working sets that thrash in the TLC. 
By the time the DRAM load of thread 1 comes back, thread 2 has evicted 
what thread 1 is going to need next. Meanwhile, everybody pays for the 
core complexity that MT introduces.

This has nothing to do with pipelining or OOO. And nothing to do with 
mantissa sizes either. Mill is pipelined and in-order-issue, and we 
think that the area and power is best spent on more cores (with private 
caches) rather than more threads. This conclusion is despite the fact 
that the Mill has much denser code and double the icache of other 
architectures, and hence is less subject to icache thrashing.

This isn't religion; there's nothing in a Mill that precludes 
multithreading, and if we have a market in which it pays then we'll use 
it. But we don't expect to see it until we are competing with Big Iron.

Back to comp.arch | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

SMT ("Hyperthreading") experience in Skylake anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-12-28 08:57 +0000
  Re: SMT ("Hyperthreading") experience in Skylake Quadibloc <jsavard@ecn.ab.ca> - 2015-12-28 07:40 -0800
    Re: SMT ("Hyperthreading") experience in Skylake Quadibloc <jsavard@ecn.ab.ca> - 2015-12-28 07:44 -0800
    Re: SMT ("Hyperthreading") experience in Skylake Melzzzzz <mel@zzzzz.com> - 2015-12-28 16:54 +0100
      Re: SMT ("Hyperthreading") experience in Skylake "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2015-12-28 08:04 -0800
    Re: SMT ("Hyperthreading") experience in Skylake Robert Wessel <robertwessel2@yahoo.com> - 2015-12-28 13:44 -0600
    Re: SMT ("Hyperthreading") experience in Skylake anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-02 14:33 +0000
  Re: SMT ("Hyperthreading") experience in Skylake "Paul A. Clayton" <paaronclayton@gmail.com> - 2015-12-28 07:44 -0800
    Re: SMT ("Hyperthreading") experience in Skylake Stephen Sprunk <stephen@sprunk.org> - 2015-12-28 11:19 -0600
      Re: SMT ("Hyperthreading") experience in Skylake "Paul A. Clayton" <paaronclayton@gmail.com> - 2015-12-28 11:09 -0800
        Re: SMT ("Hyperthreading") experience in Skylake EricP <ThatWouldBeTelling@thevillage.com> - 2015-12-28 15:09 -0500
          Re: SMT ("Hyperthreading") experience in Skylake "Paul A. Clayton" <paaronclayton@gmail.com> - 2015-12-28 19:23 -0800
            Re: SMT ("Hyperthreading") experience in Skylake EricP <ThatWouldBeTelling@thevillage.com> - 2015-12-29 14:21 -0500
    Re: SMT ("Hyperthreading") experience in Skylake anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-02 14:43 +0000
      Re: SMT ("Hyperthreading") experience in Skylake Stephen Fuld <SFuld@alumni.cmu.edu.invalid> - 2016-01-02 09:32 -0800
        Re: SMT ("Hyperthreading") experience in Skylake anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-02 18:45 +0000
  Re: SMT ("Hyperthreading") experience in Skylake MitchAlsup <MitchAlsup@aol.com> - 2015-12-29 15:58 -0800
    Re: SMT ("Hyperthreading") experience in Skylake Quadibloc <jsavard@ecn.ab.ca> - 2015-12-29 17:17 -0800
      Re: SMT ("Hyperthreading") experience in Skylake Ivan Godard <ivan@millcomputing.com> - 2015-12-29 17:56 -0800
        Re: SMT ("Hyperthreading") experience in Skylake Quadibloc <jsavard@ecn.ab.ca> - 2015-12-29 20:06 -0800
          Re: SMT ("Hyperthreading") experience in Skylake Ivan Godard <ivan@millcomputing.com> - 2015-12-29 22:03 -0800
            Re: SMT ("Hyperthreading") experience in Skylake "Paul A. Clayton" <paaronclayton@gmail.com> - 2015-12-30 10:26 -0800
              Re: SMT ("Hyperthreading") experience in Skylake Quadibloc <jsavard@ecn.ab.ca> - 2015-12-30 11:49 -0800
          Re: SMT ("Hyperthreading") experience in Skylake Stephen Sprunk <stephen@sprunk.org> - 2016-01-02 12:21 -0600
        Re: SMT ("Hyperthreading") experience in Skylake Robert Wessel <robertwessel2@yahoo.com> - 2015-12-29 23:47 -0600
        Re: SMT ("Hyperthreading") experience in Skylake Bruce Hoult <bruce.hoult@gmail.com> - 2016-01-01 10:54 -0800
      Re: SMT ("Hyperthreading") experience in Skylake MitchAlsup <MitchAlsup@aol.com> - 2015-12-30 09:15 -0800
        Re: SMT ("Hyperthreading") experience in Skylake Quadibloc <jsavard@ecn.ab.ca> - 2015-12-30 09:58 -0800
        Re: SMT ("Hyperthreading") experience in Skylake anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-01-02 13:44 +0000

csiph-web