On 19/12/2017 11:03 AM, codephantom wrote:
On Tuesday, 19 December 2017 at 10:24:47 UTC, Vino wrote:
foreach (d; taskPool.parallel(xxx,20)) : As in Windows 2008 whatever
value is set for the parallel the total number of threads does not
increase more than 12.
So not sure if this is correct, so can any one explain me on same.
something to do with your cacheLineSize perhaps?
The size of the cache line should be 64 in pretty much all 32/64bit x86
cpu's.
My suspicion is that TaskPool is limiting itself on purpose (based on
what code I read).