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

So my wisdom is this...

2 views
Skip to first unread message

Ramine

unread,
Nov 16, 2015, 5:41:08 PM11/16/15
to
Hello,


So if you have read my previous post about
the scalability of fastflow and TBB and TPL,
i have said that they must use a serial part
of around 350 CPU cycles , because you have to have
a cache-line transfer for every worker thread or task
that you have to wait for to finish, so my wisdom is
this: since my Threadpool engine is using a serial
part of 3 locks at around a total of 350 CPU cycles * 3
= 1050 CPU cycles, and this from the Amdahl law will
get you 3 times less scalability than Fastflow, but
3 times less scalability is not so important, so
my wisdom is to stay with my Threadpool engine
because it is good and still useful. And my second
wisdom to scale more my Threadpool engine is to increase
the P (parallel) part by doing more of the same:
Increase the volume of data processed by the P part
(and therefore the percentage p of time spent in computing) ,
this will permit you to get more scalability. This is
Gustafson's Law.


Hope you have understood this important post !

You can download my Threadpool engine from the following links:

https://sites.google.com/site/aminer68/threadpool-with-priorities

and from here:

https://sites.google.com/site/aminer68/threadpool



Thank you,
Amine Moulay Ramdane.

0 new messages