<HTML>
<HEAD>
<TITLE>Re: [vtk-developers] Multithreading with Win32 threads</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 1/24/11 8:04 AM, "Bill Lorensen" <<a href="bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>ITK has had the max set to 128 for quite a while.<BR>
<BR>
On Mon, Jan 24, 2011 at 9:53 AM, David Partyka<BR>
<<a href="david.partyka@kitware.com">david.partyka@kitware.com</a>> wrote:<BR>
> Sure thing, especially considering one can get a machine with dual<BR>
> Hexa-cores + Hyper Threading resulting in 24 available cores.<BR>
><BR>
> On Mon, Jan 24, 2011 at 9:39 AM, David Cole <<a href="david.cole@kitware.com">david.cole@kitware.com</a>> wrote:<BR>
>><BR>
>> I think it's just old and leftover, and nobody has yet found a compelling<BR>
>> need for more than 8 threads on Windows. It should be fine to increase this<BR>
>> number, especially if you actually have a Windows box with more than 8<BR>
>> processors on it.<BR>
>><BR>
>> Feel free to change your build locally to increase that value. Perhaps<BR>
>> somebody here on the VTK developers list is also contemplating more powerful<BR>
>> Window machines these days... Anybody here want to bump this up and commit<BR>
>> the change?<BR>
>><BR>
>><BR>
>> On Mon, Jan 24, 2011 at 5:11 AM, Pavel Pokutnev<BR>
>> <<a href="pavel.pokutnev@googlemail.com">pavel.pokutnev@googlemail.com</a>> wrote:<BR>
>>><BR>
>>> Hello vtk-devs,<BR>
>>><BR>
>>> sorry, but I would like to repeat my question.<BR>
>>> There is a define VTK_MAX_THREADS in "Common/vtkSystemIncludes.h". It<BR>
>>> is defined to 8 for Win32 threads, but for all other platforms to 32.<BR>
>>> What is the cause for this non-conformity?<BR>
>>><BR>
>>> Best regards,<BR>
>>> Pavel<BR>
>>> _______________________________________________<BR>
>>> Powered by www.kitware.com<BR>
>>><BR>
>>> Visit other Kitware open-source projects at<BR>
>>> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
>>><BR>
>>> Follow this link to subscribe/unsubscribe:<BR>
>>> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers">http://www.vtk.org/mailman/listinfo/vtk-developers</a><BR>
>>><BR>
>><BR>
>><BR>
>> _______________________________________________<BR>
>> Powered by www.kitware.com<BR>
>><BR>
>> Visit other Kitware open-source projects at<BR>
>> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
>><BR>
>> Follow this link to subscribe/unsubscribe:<BR>
>> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers">http://www.vtk.org/mailman/listinfo/vtk-developers</a><BR>
>><BR>
>><BR>
><BR>
><BR>
> _______________________________________________<BR>
> Powered by www.kitware.com<BR>
><BR>
> Visit other Kitware open-source projects at<BR>
> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
><BR>
> Follow this link to subscribe/unsubscribe:<BR>
> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers">http://www.vtk.org/mailman/listinfo/vtk-developers</a><BR>
><BR>
><BR>
><BR>
_______________________________________________<BR>
Powered by www.kitware.com<BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers">http://www.vtk.org/mailman/listinfo/vtk-developers</a><BR>
<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
   ****      Kenneth Moreland<BR>
    ***      Sandia National Laboratories<BR>
***********  <BR>
*** *** ***  email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
**  ***  **  phone: (505) 844-8919<BR>
    ***      web:   <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>