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


Groups > comp.programming.threads > #1516

Re: Thread scaling in Windows [SOLVED]

Path csiph.com!usenet.pasdenom.info!poup.poupinou.org!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail
From Noob <root@127.0.0.1>
Newsgroups comp.programming.threads
Subject Re: Thread scaling in Windows [SOLVED]
Date Tue, 04 Jun 2013 10:25:22 +0200
Organization A noiseless patient Spider
Lines 21
Message-ID <kok80o$au9$1@dont-email.me> (permalink)
References <XnsA1CFD0BECDBADmyfirstnameosapriee@216.196.109.131> <51a7c499$0$6565$9b4e6d93@newsspool4.arcor-online.net> <XnsA1D1132254871myfirstnameosapriee@216.196.109.131> <4fegq89mvs3l3k3apo1onv40ls0t6av4vh@4ax.com> <XnsA1D2CE07A916Bmyfirstnameosapriee@216.196.109.131> <XnsA1D38FAF84B9myfirstnameosapriee@216.196.109.131> <XnsA1D4CB7C99154myfirstnameosapriee@216.196.109.131>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-15
Content-Transfer-Encoding 7bit
Injection-Date Tue, 4 Jun 2013 08:20:40 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="f3521e78de9b6c3bcddcc188fdd56e55"; logging-data="11209"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/uWqdHkX4KNnLFcdl1aMFLQM5i8PLy4po="
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17.1
In-Reply-To <XnsA1D4CB7C99154myfirstnameosapriee@216.196.109.131>
Cancel-Lock sha1:g3K57kUa3EH6A6Py0NUXdwLqY5E=
Xref csiph.com comp.programming.threads:1516

Show key headers only | View raw


Paavo Helde wrote:

> With the next memory allocator I tried (Intel TBB) the problem on Windows 
> appears to be mostly solved, now the program scales much more nicely and 
> gets about 8x speedup with 12 worker threads. After that it seems the 
> hyperthreading penalty kicks in so that the max speedup (with 24 threads) 
> is only 10.5 times (it has 12 physical cores (with HT, 24 logical 
> cores)).
> 
> The scaling is still worse than in Linux, but this is compensated by that 
> MSVC seems to be able to do better job in optimizations than gcc so that 
> the absolute test times are actually better in Windows than in Linux for 
> all tests up to 24 threads.

I've heard that Intel's icc produces faster binaries than gcc.
You could give icc a test run.

http://software.intel.com/en-us/non-commercial-software-development

Regards.

Back to comp.programming.threads | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Thread scaling in Windows Paavo Helde <myfirstname@osa.pri.ee> - 2013-05-29 12:31 -0500
  Re: Thread scaling in Windows Robert Miles <robertmilesxyz@gmail.com> - 2013-05-29 17:26 -0700
    Re: Thread scaling in Windows Paavo Helde <myfirstname@osa.pri.ee> - 2013-05-30 16:11 -0500
      Re: Thread scaling in Windows Gerald Breuer <Gerald.Breuer@googlemail.com> - 2013-05-31 03:44 +0200
        Re: Thread scaling in Windows Paavo Helde <myfirstname@osa.pri.ee> - 2013-05-31 00:29 -0500
  Re: Thread scaling in Windows Marcel Müller <news.5.maazl@spamgourmet.org> - 2013-05-30 23:28 +0200
    Re: Thread scaling in Windows Paavo Helde <myfirstname@osa.pri.ee> - 2013-05-30 17:52 -0500
      Re: Thread scaling in Windows Melzzzzz <mel@zzzzz.com> - 2013-05-31 04:18 +0200
      Re: Thread scaling in Windows Robert Wessel <robertwessel2@yahoo.com> - 2013-05-31 01:11 -0500
        Re: Thread scaling in Windows Paavo Helde <myfirstname@osa.pri.ee> - 2013-06-01 12:15 -0500
          Re: Thread scaling in Windows Paavo Helde <myfirstname@osa.pri.ee> - 2013-06-01 16:52 -0500
            Re: Thread scaling in Windows [SOLVED] Paavo Helde <myfirstname@osa.pri.ee> - 2013-06-03 12:00 -0500
              Re: Thread scaling in Windows [SOLVED] Casper H.S. Dik <Casper.Dik@OrSPaMcle.COM> - 2013-06-04 08:16 +0000
              Re: Thread scaling in Windows [SOLVED] Noob <root@127.0.0.1> - 2013-06-04 10:25 +0200
      Re: Thread scaling in Windows Marcel Müller <news.5.maazl@spamgourmet.org> - 2013-05-31 15:53 +0200
        Re: Thread scaling in Windows Paavo Helde <myfirstname@osa.pri.ee> - 2013-05-31 12:57 -0500
          Re: Thread scaling in Windows Marcel Müller <news.5.maazl@spamgourmet.org> - 2013-05-31 22:59 +0200
            Re: Thread scaling in Windows Paavo Helde <myfirstname@osa.pri.ee> - 2013-06-01 03:06 -0500
              Re: Thread scaling in Windows Marcel Müller <news.5.maazl@spamgourmet.org> - 2013-06-01 15:20 +0200
                Re: Thread scaling in Windows Drazen Kacar <dave@fly.srk.fer.hr> - 2013-06-02 06:35 +0000
            Re: Thread scaling in Windows Casper H.S. Dik <Casper.Dik@OrSPaMcle.COM> - 2013-06-01 12:34 +0000
              Re: Thread scaling in Windows Marcel Müller <news.5.maazl@spamgourmet.org> - 2013-06-01 15:09 +0200
                Re: Thread scaling in Windows Casper H.S. Dik <Casper.Dik@OrSPaMcle.COM> - 2013-06-01 17:12 +0000

csiph-web