Recent

Author Topic: Threadpool and threadpool and threadpool with priority have been updated. [...]  (Read 2437 times)

aminer

  • Hero Member
  • *****
  • Posts: 956

Hello,

Threadpool and threadpool and threadpool with priority have been updated.

I haveoptimized them it more:

I have added an Exec() method and i have added FIFOQUEUE_MPMC that is faster than lockfree_mpmc.

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..


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

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



Thank you,
Amine Moulay Ramdane.



 

TinyPortal © 2005-2018