Wednesday, May 3, 2017

Digest for comp.programming.threads@googlegroups.com - 4 updates in 4 topics

rami17 <rami17@rami17.net>: May 03 12:26AM -0400

Hello....
 
 
Please read this:
 
"Just as with normal thread pool usage, the main program thread may
create Tasks that will get queued on the global queue (e.g. Task1 and
Task2) and threads will grab those Tasks typically in a FIFO manner.
Where things diverge is that any new Tasks (e.g. Task3) created in the
context of the executing Task (e.g. Task2) end up on a local queue for
that thread pool thread."
 
Read more here:
 
http://www.danielmoth.com/Blog/New-And-Improved-CLR-4-Thread-Pool-Engine.aspx
 
You will notice that there is a contention on the global queue from the
producer threads and from the consumer threads on the Microsoft CLR
Threadpool engine, so that's not good.
 
But please look at the source code of my Threadpool engine that scales
well, it does eliminate the contention on the consumer threads side by
using technics such as lock-striping and other technics..
 
And my efficient threadpool that scales well supports the following:
 
- Now it can use processor groups on windows, so that it can use more
than 64 logical processors and 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.
 
- It's NUMA-aware and NUMA efficient.
 
 
You can download it from:
 
https://sites.google.com/site/aminer68/an-efficient-threadpool-engine-that-scales-well
 
And you can download my efficient Threadpool engine with priorities
that scales well from:
 
https://sites.google.com/site/aminer68/an-efficient-threadpool-engine-with-priorities-that-scales-well
 
 
Thank you,
Amine Moulay Ramdane.
rami17 <rami17@rami17.net>: May 02 11:58PM -0400

Hello....
 
 
The readme file of my scalable SeqlockX was updated, you will find it
inside the zip file..
 
My scalable SeqlockX elminates the weaknesses of the classical Seqlock
(sequential lock) that is "livelock", so it avoids livelock when there
is more writers, so my scalable SeqlockX is a powerful sychronization
mechanism.
 
Please download it again from:
 
https://sites.google.com/site/aminer68/scalable-seqlockx
 
 
 
Thank you,
Amine Moulay Ramdane.
rami17 <rami17@rami17.net>: May 02 10:38PM -0400

Hello...
 
I have just finished my project of my Object oriented library to do
stackful coroutines..
 
You can download the new version 2.0 from:
 
https://sites.google.com/site/aminer68/object-oriented-stackful-coroutines-library-for-delphi-and-freepascal
.
Also i am actually finishing a project that is a GUI archiver that looks
like 7Zip GUI archiver, it is an archiver that uses my Parallel archiver
and that supports Parallel Zstandard and Parallel LZ4 and Parallel LZMA,
and that supports windows processor groups and that works on Win32 and
Win64.
 
My other projects that i have finished are actually more stable and
really fast, you can be more confident with them, please feel free to
download them from:
 
https://sites.google.com/site/aminer68/
 
Hope you will be happy with my Delphi and FreePascal projects !
 
Thank you,
Amine Moulay Ramdane.
rami17 <rami17@rami17.net>: May 02 10:02PM -0400

Hello,
 
 
My Object oriented Stackful coroutines library for Delphi and FreePascal
version 2.0 is here..
 
I have completly rewritten the 64 bit and 32 bit library for FPC and
the 32 bit library for Delphi XE, i have enhanced it and you have to
take a look at it , it is now really good and really fast and more stable.
 
Now it is working with Windows and Linux and MacOSX on (x86), i have
just booted on Linux and compiled it with FreePascal on Linux and it is
working correctly and it is really good.
 
Please take a look at the source code to learn more how to use it.
 
You can download the new version 2.0 from:
 
https://sites.google.com/site/aminer68/object-oriented-stackful-coroutines-library-for-delphi-and-freepascal
 
 
.
Thank you,
Amine Moulay Ramdane.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.programming.threads+unsubscribe@googlegroups.com.

No comments: