~nature~ Posted March 3, 2012 Share Posted March 3, 2012 Hey, guys, I found "foreach" sop is extremely slow even with empty contents when the number of points is high. So I assume it uses brute-force to calculate and iterate, am I right? My question is, is there any way in houdini to do such kind of foreach operation in multi-thread or faster way? cos I need to do some geometry operation inside foreach like "resample“ and ”blast“, therefore I cannot utilize the vop sop. thanks very much. best regards Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted March 3, 2012 Share Posted March 3, 2012 I don't see why ForEach SOP is not threaded, unless it states that in the manual. Each iteration of ForEach works on it's isolated parts. The only time I could see ForEach forced into a single thread is if merging results was disabled. Anyway, wish you had shared the point count and ForEach mode (groups, primitives or points)? What is it exactly your trying to do? Quote Link to comment Share on other sites More sharing options...
symek Posted March 3, 2012 Share Posted March 3, 2012 I don't see why ForEach SOP is not threaded, unless it states that in the manual. Afaik Foreach is not multi-threaded because it would require completely new scheduling system. Sops are normally executed one after another (and threaded eventually inside particular node), unless they exists in different objects and HOUDINI_MULTITHREADED_COOKING is set to 1 (and assuming it's working in H12). 1 Quote Link to comment Share on other sites More sharing options...
edward Posted March 4, 2012 Share Posted March 4, 2012 HOUDINI_MULTITHREADED_COOKING still doesn't work in H12. Quote Link to comment Share on other sites More sharing options...
symek Posted March 7, 2012 Share Posted March 7, 2012 HOUDINI_MULTITHREADED_COOKING still doesn't work in H12. Ah, thank you Edward, it's too bad though (albeit I somehow presume the reason of that). Are there plans to make it happen soon? Quote Link to comment Share on other sites More sharing options...
edward Posted March 7, 2012 Share Posted March 7, 2012 There are plans but it's not clear when this work will resume. (ie. not soon) It's a rather large undertaking still. Quote Link to comment Share on other sites More sharing options...
Benyee Posted March 8, 2012 Share Posted March 8, 2012 There are plans but it's not clear when this work will resume. Maybe a few days later,look forward to new daily builds. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.