Boost logo

Boost Users :

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net