No of threads
rikki cattermole
rikki at cattermole.co.nz
Tue Dec 19 11:10:56 UTC 2017
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).
More information about the Digitalmars-d-learn
mailing list