<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Jim,<div><br></div><div><br></div><div>Yes it was. But I set ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS to 8, and did ctest -j 8 initially, then I scaled back from there with lack of complete success in testing. There are thread management issue with the current patch. </div><div><br></div><div>Brad</div><div><br><div><div>On Apr 4, 2014, at 2:06 PM, Miller, James V (GE Global Research) <<a href="mailto:millerjv@ge.com">millerjv@ge.com</a>> wrote:</div><blockquote type="cite"><br>"Too many threads" is a bit odd.  Umang does initialize the pool with a set of threads, then adds threads as needed. I believe the thread initialization is based on the number of cores.  But in principle, the initialization could be as low as 0 or 1 threads.<br></blockquote><div><br></div><div>I missed that in the patch. This is what I saw:</div><div><table class="GJEA35ODJI" style="width: 1730px; border-spacing: 0px; background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); font-family: 'Arial Unicode MS', Arial, sans-serif; font-size: 15px;"><tbody><tr valign="top"><td class="GJEA35ODDF GJEA35ODGF" style="font-family: monospace; font-size: 8pt; padding: 0px; white-space: pre; background-color: rgb(221, 255, 221); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(221, 255, 221); background-position: initial initial; background-repeat: initial initial;"><span class="wdi" style="background-color: rgb(153, 255, 153); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(153, 255, 153); background-position: initial initial; background-repeat: initial initial;"><span class="pln"> m_Threadpool</span><span class="pun" style="color: rgb(68, 68, 0);">(</span><span class="pln">m_Threadpoolfactory</span><span class="pun" style="color: rgb(68, 68, 0);">.</span><span class="typ" style="color: rgb(68, 0, 68); font-weight: bold;">GetSmartThreadPool</span><span class="pun" style="color: rgb(68, 68, 0);">(</span><span class="typ" style="color: rgb(68, 0, 68); font-weight: bold;">GetGlobalDefaul<br>tNumberOfThreads</span><span class="pun" style="color: rgb(68, 68, 0);">()</span><span class="pln"> </span><span class="pun" style="color: rgb(68, 68, 0);">*</span><span class="pln"> </span><span class="lit" style="color: rgb(0, 68, 68);">2</span><span class="pun" style="color: rgb(68, 68, 0);">)</span><span class="pln"> </span><span class="pun" style="color: rgb(68, 68, 0);">)</span></span></td></tr><tr valign="top" class="GJEA35ODJ"><td class="GJEA35ODNG" style="font-family: monospace; font-size: 8pt; padding: 0px; width: 1px; vertical-align: middle; background-color: rgb(255, 255, 204); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: blue; background-position: initial initial; background-repeat: initial initial;"><img border="0" class="gwt-Image" style="background-image: url(data:image/gif;base64,R0lGODlhDAAJAKIEAP39/fX19fn5+QAAAAAAAAAAAAAAAAAAACH5BAEAAAQALAAAAAAMAAkAAAMTSEq37qc9GOeK1eL8tmXcFIpWAgA7); background-position: 0px 0px; background-repeat: no-repeat no-repeat;" apple-inline="yes" id="A3467D1E-293E-4E1C-95FF-0F6B980E64CD" height="1" width="1" apple-width="yes" apple-height="yes" src="cid:E963331A-C097-48EF-A684-D277F6143CD8"></td><td class="GJEA35ODGH" style="font-family: monospace; font-size: 8pt; padding: 0px 0.2em; white-space: pre; width: 3.5em; text-align: right; border-right-width: thin; border-right-style: solid; border-right-color: rgb(176, 189, 204); background-color: rgb(255, 255, 204); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: blue; background-position: initial initial; background-repeat: initial initial;"></td><td class="GJEA35ODDF GJEA35ODFF" style="font-family: monospace; font-size: 8pt; padding: 0px; white-space: pre; background-color: rgb(255, 238, 238); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: blue; background-position: initial initial; background-repeat: initial initial;"></td><td class="GJEA35ODGH" style="font-family: monospace; font-size: 8pt; padding: 0px 0.2em; white-space: pre; width: 3.5em; text-align: right; border-right-width: thin; border-right-style: solid; border-right-color: rgb(176, 189, 204); background-color: rgb(255, 255, 204); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: blue; background-position: initial initial; background-repeat: initial initial;"><a style="color: rgb(0, 0, 170);">185</a></td><td class="GJEA35ODDF GJEA35ODGF" style="font-family: monospace; font-size: 8pt; padding: 0px; white-space: pre; background-color: rgb(221, 255, 221); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: blue; background-position: initial initial; background-repeat: initial initial;"><span class="wdc" style="border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: blue;"><span class="pun" style="color: rgb(68, 68, 0);">{</span></span></td></tr></tbody></table><div><br></div></div><br><blockquote type="cite"><br>Was this on one of your giant core machines?<br><br>Jim<br><br>Brad<br><br>On Apr 4, 2014, at 10:42 AM, Brahmakshatriya, Umang (GE Global Research) <<a href="mailto:brahmaks@ge.com">brahmaks@ge.com</a><<a href="mailto:brahmaks@ge.com">mailto:brahmaks@ge.com</a>>> wrote:<br><br>Hi All,<br><br>My name is Umang, I am working to submit the Thread Pool patch. Can anyone help me through the final steps of submitting it? I had a few issues creating the patches.<br>I am available next week at these times:<br>Tuesday 4/8 – 2.30p to 5p EST<br>Wednesday 4/9 -  9.30am to 12p EST<br>Thursday 4/10 - 2.30p to 5p EST<br><br>Let me know which time works best and I will setup a t-con and webex / google hangout.<br><br><br><br>Umang Brahmakshatriya<br>Advanced Computing Lab<br>GE Global Research<br>1 Research Circle K1-3A37C<br>Niskayuna, NY 12309<br><br>_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><<a href="http://www.kitware.com/">http://www.kitware.com/</a>><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>Kitware offers ITK Training Courses, for more information visit:<br>http://kitware.com/products/protraining.php<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.itk.org/mailman/listinfo/insight-developers<br>_______________________________________________<br>Community mailing list<br>Community@itk.org<mailto:Community@itk.org><br>http://public.kitware.com/cgi-bin/mailman/listinfo/community<br><br>_______________________________________________<br>Powered by www.kitware.com<http://www.kitware.com><br><br>Visit other Kitware open-source projects at<br>http://www.kitware.com/opensource/opensource.html<br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://kitware.com/products/protraining.php<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://www.itk.org/mailman/listinfo/insight-developers<br><br></blockquote></div><br></div></body></html>