Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > About my threadpool engine...

Reply
Thread Tools

About my threadpool engine...

 
 
aminer
Guest
Posts: n/a
 
      10-04-2012
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 global lockfree queue on my threadpool engine,
my threadpool engine used as a scalable FIFO MPMC queue gave a negative
scalability of -2.7x on a quad cores


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 on a quad cores.


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.




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: About ThreadPool.QueueUserWorkItem and ThreadPool.RegisterWaitForSingleObject Douwe ASP .Net 0 12-08-2005 09:55 AM
Re: About ThreadPool.QueueUserWorkItem and ThreadPool.RegisterWaitForSingleObject Scott Allen ASP .Net 1 12-14-2004 01:35 PM
Method not found: Void System.Threading.ThreadPool.GetMinThreads Richard G ASP .Net 0 07-31-2003 09:01 AM
Re: ThreadStaticAttribute and threadpool David Browne ASP .Net 0 07-11-2003 09:51 PM
Re: ThreadStaticAttribute and threadpool bruce barker ASP .Net 0 07-11-2003 07:57 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57