Boost logo

Boost Users :

Subject: Re: [Boost-users] boost multithread use all cores in parallel ?
From: Cory Nelson (phrosty_at_[hidden])
Date: 2011-08-14 14:09:05


On Sun, Aug 14, 2011 at 10:38 AM, Jack Bryan <dtustudy68_at_[hidden]> wrote:
> thanks for your reply.
>
> My program needs to run many (about 10,000+) computing tasks.
>
> Each task's run time is very very short (< 0.1 second or even less).
>
> At each iteration, all these tasks are run in parallel. Some of them
> need to exchange some data (it is very small) and then go on.
>
> I want to keep all 144 cores as busy as possible so that my program
> can be done as fast as possible.
>
> So, I want to associate each task with a distinct thread and schedule
>  threads as many as possible. Also, try yo make the workload balance
> among these cores.

I don't think Boost has anything that will facilitate efficient use of
this hardware. You may wish to take a look at Intel's Thread Building
Blocks as a starting point, but I'm not certain if even that is built
to scale to 144 cores.

-- 
Cory Nelson
http://int64.org

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