I’m using ITK registration on a 28core, 56 processor machine with 2 scenarios.
(1) execute the program 24 times with different command
(2) single program, but use 24 threads do mimic the process of scenario (1)
In the (1) case, the CPU goes to 100%, which is normal since ITK registration also use multi-threading. What I’m curious is that in case (2), the CPU loading is only around 20~25%.
I wonder whether there’s a limit (default or can be set) on ITK thread number in a single process?
itk::MultiThreader::SetGlobalMaximumNumberOfThreads( n );
itk::MultiThreader::SetGlobalDefaultNumberOfThreads( n );
But that doesn’t help.
Does anyone has some suggestion on this?