Windows multi-threading performance issues on multi-core systems only
Simen kjaeraas
simen.kjaras at gmail.com
Tue Dec 15 18:09:12 PST 2009
On Wed, 16 Dec 2009 03:01:54 +0100, Sergey Gromov <snake.scaly at gmail.com>
wrote:
> dsimcha wrote:
>> == Quote from Simen kjaeraas (simen.kjaras at gmail.com)'s article
>>> dsimcha <dsimcha at yahoo.com> wrote:
>>>> Timing with affinity for all 4 CPUs: 28390 milliseconds
>>>>
>>>> Timing with affinity for only 1 CPU: 533 milliseconds
>>> Tested this on a Core 2 Duo, same options. OS is Windows 7, 64bit. It
>>> scales roughly inverse linearly with number of threads:
>>> 163ms for 1,
>>> 364ms for 2,
>>> 886ms for 4
>
> Maybe you mean core 2 quad?
Nope. Tried with 4 threads to see what the difference was.
--
Simen
More information about the Digitalmars-d
mailing list