Search - User list
Full Version: why topnet cook time increase as number of complex node?
Root » PDG/TOPs » why topnet cook time increase as number of complex node?
jeckcheng007
why topnet cook time increase as number of complex node? in the topnet ,there is no reference to these complex nodes. as more complex node in hip, topnet cook time increase as that.




for example, as more the heightfield_erode node in the hip , the cook time of topnet increase, that is very strange.

could anyone tell me why?
thank you a lot!
tpetrick
Can you please attach an example .hip file that demonstrates the issue you're seeing? What nodes are actually inside of your TOP net?
jeckcheng007
Hi, I find that happens when I use ropgeometry node, here is the example hip. thank you so much!
tpetrick
Work items in the ROP Geometry TOP cook out of process -- that process loads the .hip file and cooks the ROP. That means the loading time of the .hip file affects the total cook time of the work item.

The output log for the work item -- which can be found by middle mouse clicking on it -- has a detailed break down of what the work item was doing, at what time.

For example, with no extra nodes in the scene it took ~0.4 seconds:

[10:05:27.352] Loading .hip file '/home/taylor/temp/test.hip'...
[10:05:27.769] .hip file done loading

And with all of the Erode nodes loading the .hip took ~0.8 seconds, which accounts for the difference in cook time as well:

[10:04:34.827] Loading .hip file '/home/taylor/temp/test.hip'...
[10:04:35.628] .hip file done loading

You can mitigate this by turning on batching on the ROP Geometry, which will cook multiple work items in the same process. Or use services to create long-running processes that load the .hip once, and evaluate multiple tasks on the service process over the course of the graph cook: https://www.sidefx.com/docs/houdini/tops/services.html [www.sidefx.com]
tamte
additionally to using services consider switching to H19.5

H19.5 has delayed syncing of HDA nodes, so upon loading it will not even try to load their content until the node needs to be cooked so it should be pretty fast to open scenes with tons of complex nodes that are not in a cook path
tpetrick
tamte
additionally to using services consider switching to H19.5

H19.5 has delayed syncing of HDA nodes, so upon loading it will not even try to load their content until the node needs to be cooked so it should be pretty fast to open scenes with tons of complex nodes that are not in a cook path

This is an excellent point. I was actually testing with 19.5 for the numbers I posted -- in 19.0 the .hip file takes almost 30 seconds to load for me.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB