[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.programming

So my wisdom is this...

Ramine

11/17/2015 1:42:00 AM


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

and from here:

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



Thank you,
Amine Moulay Ramdane.