Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #1173

Re: About my threadpool engine [...]

From "aminer" <aminer@videotron.ca>
Newsgroups comp.programming.threads, comp.programming
Subject Re: About my threadpool engine [...]
Date 2012-10-03 20:30 -0500
Organization A noiseless patient Spider
Message-ID <k4ilc3$ksm$1@dont-email.me> (permalink)
References <k4ii0j$4n0$1@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


Hello,

I will compare the Exec() method of my threadpool engine to the bucketsort,
in the bucketsort algorithm, si if in the bucketsort the elements are 
uniformly
distributed over an interval [a, b]  and buckets have not significantly
different number of elements the scalability will be optimal.
It's the same with the Exec() method of my threadpool engine,
if the load is uniformly distributed over the local lockfree FIFO MPMC
queues the scalability will be optimal, so using multiple lockfree local
queues with work-stealing and using my new Exec() method , my threadpool 
engine
used as a scalable FIFO MPMC queue  can go up to 3.8x scalability on a 
quadcores..

Now when i have used only a glocal lockfree queue on my threadpool engine,
my threadpool engine used as a scalable FIFO MPMC queue gave a negative
scalability of -2.7x,


And using mutiple lockfree local queues with work-stealing
and using the execute() method , my threadpool engine used as
a scalable FIFO MPMC queue gave me 2.5x scalability.


Wha'ts important is that my threadpool engine is useful.

You can download my threadpool engine and all my parallel libraries from:

http://pages.videotron.com/aminer/



Thank you,
Amine Moulay Ramdane.






"aminer" <aminer@videotron.ca> wrote in message 
news:k4ii0j$4n0$1@dont-email.me...
> Hello,
>
> I have used my threadpool engine as a scalable FIFO
> MPMC queue, and have done some benchmarks on a quad cores
> using both the execute() method and my new Exec()  method and here
> is the scalability numbers:
>
> Using one global lockfree queue, it gave a negative scalability of  -2.7x
>
> Using mutiple lockfree local queues with work-stealing
> and using the execute() method , it can go up to 2.5x scalability
>
> And using multiple lockfree local queues with work-stealing
> and using my new Exec() method , it can go up to 3.8x scalability.
>
>
> Those benchmarks were run under Delphi.
>
> But on Freepascal my threadpool engine is not scaling cause there it's a 
> problem with the freepacal compiler.
>
> You can download my threadpool engine and all my parallel libraries from:
>
> http://pages.videotron.com/aminer/
>
>
>
> Thank you,
> Amine Moulay Ramdane.
>
>
>
>
> 

Back to comp.programming.threads | Previous | NextPrevious in thread | Find similar


Thread

About my threadpool engine [...] "aminer" <aminer@videotron.ca> - 2012-10-03 19:33 -0500
  Re: About my threadpool engine [...] "aminer" <aminer@videotron.ca> - 2012-10-03 19:59 -0500
  Re: About my threadpool engine [...] "aminer" <aminer@videotron.ca> - 2012-10-03 20:30 -0500

csiph-web