[ITK] [ITK-dev] Thread Pool patch

Bradley Lowekamp blowekamp at mail.nih.gov
Mon Apr 7 09:12:45 EDT 2014


Jim,


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. 

Brad

On Apr 4, 2014, at 2:06 PM, Miller, James V (GE Global Research) <millerjv at ge.com> wrote:
> 
> "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.

I missed that in the patch. This is what I saw:
 m_Threadpool(m_Threadpoolfactory.GetSmartThreadPool(GetGlobalDefaul
tNumberOfThreads() * 2) )
			185	{


> 
> Was this on one of your giant core machines?
> 
> Jim
> 
> Brad
> 
> On Apr 4, 2014, at 10:42 AM, Brahmakshatriya, Umang (GE Global Research) <brahmaks at ge.com<mailto:brahmaks at ge.com>> wrote:
> 
> Hi All,
> 
> 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.
> I am available next week at these times:
> Tuesday 4/8 – 2.30p to 5p EST
> Wednesday 4/9 -  9.30am to 12p EST
> Thursday 4/10 - 2.30p to 5p EST
> 
> Let me know which time works best and I will setup a t-con and webex / google hangout.
> 
> 
> 
> Umang Brahmakshatriya
> Advanced Computing Lab
> GE Global Research
> 1 Research Circle K1-3A37C
> Niskayuna, NY 12309
> 
> _______________________________________________
> Powered by www.kitware.com<http://www.kitware.com/>
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
> _______________________________________________
> Community mailing list
> Community at itk.org<mailto:Community at itk.org>
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
> 
> _______________________________________________
> Powered by www.kitware.com<http://www.kitware.com>
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.php
> 
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140407/20688f02/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clear.cache.gif
Type: image/gif
Size: 43 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/community/attachments/20140407/20688f02/attachment-0002.gif>
-------------- next part --------------
_______________________________________________
Powered by www.kitware.com

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

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

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


More information about the Community mailing list