Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

A new algorithm of an efficient Threadpool engine that scales well

17 views
Skip to first unread message

Ramine

unread,
Jun 21, 2016, 4:33:52 PM6/21/16
to
Hello,


A new algorithm of an efficient Threadpool engine that scales well

I have implemented this new algrithm of a Threadpool engine that scales
well, i have enhanced it to support processor groups on windows, so that
it scales with more that 64 logical cores, and i have also
minimized at best the contention so that it scales well.

The following have been added to my efficient Threadpool engine:

- The worker threads enters in a wait state when there is no job in the
concurrent FIFO queues - for more efficiency -

- You can distribute your jobs to the worker threads and call any method
with the threadpool's execute() method.

- It uses work-stealing to be more efficient.

- You can configure it to use stacks or FIFO queues , when you use
stacks it will be cache efficient.

- Now it can use processor groups on windows, so that it can use more
than 64 logical processors and it scales well.

- Now it distributes the jobs on multiple FIFO queues or stacks so that
it scales well.

- You can wait for the jobs to finish with the wait() method.

- And it is portable to many operating systems.


You can download my efficient Threadpool engine version 3.0 that scales
well from:

https://sites.google.com/site/aminer68/an-efficient-threadpool-engine-that-scales-well



Thank you,
Amine Moulay Ramdane.





Mr Flibble

unread,
Jun 21, 2016, 5:04:20 PM6/21/16
to
Why this is marked as abuse? It has been marked as abuse.
Report not abuse
This is a C++ newsgroup not a Pascal newsgroup so stop posting Pascal
crap here.

/Flibble

Ramine

unread,
Jun 21, 2016, 5:07:28 PM6/21/16
to
I have posted here, because it is a new algorithm that can
be ported to C++.

DecadentLinuxUserNumeroUno

unread,
Jun 21, 2016, 5:09:49 PM6/21/16
to
On 21/06/2016 22:04, Mr Flibble wrote:
>
> This is a C++ newsgroup not a Pascal newsgroup so stop posting Pascal
> crap here.
>
>

then why not translate it in C++ or C if you have some brains to do so.
Don't talk crap here - fucker.


Mr Flibble

unread,
Jun 21, 2016, 7:54:17 PM6/21/16
to
Oh look, we have a new little fucktard make a post.

Why would I, mate, want to translate some random spammer's Pascal source
code into C++? You are in serious need of a clue.

/Flibble

Ian Collins

unread,
Jun 22, 2016, 12:11:26 AM6/22/16
to
On 06/22/16 09:04 AM, Mr Flibble wrote:

<stuff that won't change anything>

Please don't respond to (and even worse quote) Ramine spam news servers
filter out!

--
Ian
0 new messages