Hans,


I have see a single per-pixel dynamic memory/malloc cause a 10X performance 
penalty.  Also I have found apple Instruments easy for diagnosing this bottle 
neck. This is one possibility among many.

Good luck tracking down the issue.

Brad

On Apr 16, 2014, at 9:10 PM, Johnson, Hans J <[email protected]> wrote:

> FYI
> 
> Ali Ghayoor did the following experiments on 
> "BRAINSFitTest_BSplineScaleRotationRescaleHeadMasks" test.
> 
> 1) In one of my old build directories, I ran the 
> "BRAINSFitTest_BSplineScaleRotationRescaleHeadMasks" test in BRIANSFitv3 
> (that uses ITKv3 registration framework). The test was passed successfully in 
> both release and debug types, and it took:
> 
> 22 second in release
> 88 second in debug
> 
> 2) I built NAMICExternalProject on my system in release type and ran the 
> above BSpline test in BRAINSTools. The test was passed successfully again, 
> but the run time in ITKv4 is tremendously longer than the time that test 
> takes in ITKv3. The test took:
> 
> 18 minutes using 4 cores
> 22 minutes using 1 core (In this case the environmental variable "NSLOTS" is 
> set to 1).
> 
> ==================================
> Basically trying to replicate in ITKv4 the same registration processes of 
> ITKv3.
> 
> Hans
> 
> 
> Notice: This UI Health Care e-mail (including attachments) is covered by the 
> Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential 
> and may be legally privileged.  If you are not the intended recipient, you 
> are hereby notified that any retention, dissemination, distribution, or 
> copying of this communication is strictly prohibited.  Please reply to the 
> sender that you have received the message in error, then delete it.  Thank 
> you.
> _______________________________________________
> 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
> _______________________________________________
> Community mailing list
> [email protected]
> http://public.kitware.com/cgi-bin/mailman/listinfo/community

_______________________________________________
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

Reply via email to