[vtk-developers] Multithreading with Win32 threads

Moreland, Kenneth kmorel at sandia.gov
Mon Jan 24 11:14:29 EST 2011


Why is there a hardcoded maximum in the first place?  It seems to me that whatever number you choose now will be excessively high and/or obsolete in the coming years as the number of cores per processor grows.

-Ken


On 1/24/11 8:04 AM, "Bill Lorensen" <bill.lorensen at gmail.com> wrote:

ITK has had the max set to 128 for quite a while.

On Mon, Jan 24, 2011 at 9:53 AM, David Partyka
<david.partyka at kitware.com> wrote:
> Sure thing, especially considering one can get a machine with dual
> Hexa-cores + Hyper Threading resulting in 24 available cores.
>
> On Mon, Jan 24, 2011 at 9:39 AM, David Cole <david.cole at kitware.com> wrote:
>>
>> I think it's just old and leftover, and nobody has yet found a compelling
>> need for more than 8 threads on Windows. It should be fine to increase this
>> number, especially if you actually have a Windows box with more than 8
>> processors on it.
>>
>> Feel free to change your build locally to increase that value. Perhaps
>> somebody here on the VTK developers list is also contemplating more powerful
>> Window machines these days... Anybody here want to bump this up and commit
>> the change?
>>
>>
>> On Mon, Jan 24, 2011 at 5:11 AM, Pavel Pokutnev
>> <pavel.pokutnev at googlemail.com> wrote:
>>>
>>> Hello vtk-devs,
>>>
>>> sorry, but I would like to repeat my question.
>>> There is a define VTK_MAX_THREADS in "Common/vtkSystemIncludes.h". It
>>> is defined to 8 for Win32 threads, but for all other platforms to 32.
>>> What is the cause for this non-conformity?
>>>
>>> Best regards,
>>> Pavel
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>>
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtk-developers





   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110124/d1650a8c/attachment.html>


More information about the vtk-developers mailing list