The Repeat node is multithreaded. You can confirm this by displaying the 
performance highlights - the times shown by Worst Thread and All Threads are 
different.

My understanding is that what makes the Repeat and While nodes slow in many 
circumstances is that it must wait for all threads to finish before it can 
start the next iteration.

Some things you can do to ease the pain:


*         Do as little work as possible inside the loop. Precalculate and reuse 
as much data as you can.

*         Avoid nested loops. If possible, refactor so that you have two loops 
one after the other, the first performing the initial calculations including 
the max iterations for the second loop. Alternatively, maybe you can convert a 
nested loop to a single loop on an array.

*         If at all possible, use a hard-coded bound on the max iterations. 
Apparently this allows some optimizations when the tree is compiled.

gray

From: [email protected] 
[mailto:[email protected]] On Behalf Of Adam Sale
Sent: Tuesday, March 26, 2013 10:53 AM
To: [email protected]
Subject: Multithread repeat node in ICE?

Just wondering about the possibility of a multi threaded repeat node in ICE.

Is it achievable with the current state of Softimage?


<<attachment: winmail.dat>>

Reply via email to