Boost logo

Boost :

Subject: Re: [boost] [threadpool] new version 16: pining of processors(processor affinity)
From: k-oli_at_[hidden]
Date: 2008-11-16 15:41:16


Am Sonntag, 16. November 2008 21:04:25 schrieb vicente.botet:
> ----- Original Message -----
> From: <k-oli_at_[hidden]>
> To: <boost_at_[hidden]>
> Sent: Sunday, November 16, 2008 5:20 PM
> Subject: [boost] [threadpool] new version 16: pining of
> processors(processor affinity)
>
> > Hello,
> >
> > I've uploaded a new version (16) to boost vault.
> > In the new version as much worker-threads are created as
> > boost::thread::hardware_concurrency() returns if no poolsize is specified
> > in the pool constructor . Each worker-thread will be pined to one
> > processor.
>
> Have you get some performance improvements?

Yes - internaly a work-stealing algorithm is used and thatswhy pining threads
to processors improves the performance.

Oliver


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk