why topnet cook time increase as number of complex node?

   1439   5   0
User Avatar
Member
2 posts
Joined: 10月 2021
Offline
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!

Attachments:
Snipaste_2022-08-16_15-46-05.png (30.6 KB)

User Avatar
スタッフ
583 posts
Joined: 5月 2014
Online
Can you please attach an example .hip file that demonstrates the issue you're seeing? What nodes are actually inside of your TOP net?
User Avatar
Member
2 posts
Joined: 10月 2021
Offline
Hi, I find that happens when I use ropgeometry node, here is the example hip. thank you so much!

Attachments:
test.hip (782.2 KB)

User Avatar
スタッフ
583 posts
Joined: 5月 2014
Online
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]
Edited by tpetrick - 2022年8月18日 10:12:23
User Avatar
Member
8508 posts
Joined: 7月 2007
Online
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
Edited by tamte - 2022年8月18日 21:05:59
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
スタッフ
583 posts
Joined: 5月 2014
Online
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.
  • Quick Links