$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] number cores / cpu
From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2010-08-23 10:32:13
Mathias Gaunard wrote:
> On 23/08/10 15:00, Jeff Flinn wrote:
>
>> Just beware, IIUC, that the returned count includes hyperthreads(intel).
>> Which if used to set up a thread pool may lead to surprisingly poor
>> performance.
>
> What makes you think so?
Experience with our application using 2 calculation-threads on a
hyperthreaded dual core was 80% faster than using 4 calculation-threads.
What makes you ask? :-)
Jeff