cgru icon indicating copy to clipboard operation
cgru copied to clipboard

Dynamically release Tickets during execution

Open jonassorgenfrei opened this issue 1 year ago • 5 comments

Hey,

Houdini introduced a new render procedural systems to solaris/husk. The render procedural can be executed prior to the rendering and tho create the geometry only in memory.

Reasonably it requires a houdini engine license to run that procedural from husk but this aquired license get's released (in process) once this step is done and the render delegate starts rendering. As far as we know it's not yet possible to release tickets in afanasy while the task is still running/in process?

100 frames render:

  • hbatch renderprocedural ~1 min / frame
  • karma/rman renders the scene ~2h / frame

Currently we would have to "freeze" both licenses for the complete two hour rendertime.

Would this be something that can be added? Or is there already something in place covering this? Thanks for your help in advance!

Cheers

Jonas (RISE FX)

jonassorgenfrei avatar Jul 14 '23 13:07 jonassorgenfrei

Does it even indicate when it starts and stops using the engine license in the log output? If not, it will be hard to detect it and release it.

lithorus avatar Jul 15 '23 22:07 lithorus

Hey @lithorus

yes in the log it shows when the procedural starts and when it ends. But i haven't seen any log about the engine license in particular. Will try to check with Sidefx if they can add a notification explicitly about the license release.

Cheers Jonas

jonassorgenfrei avatar Jul 15 '23 23:07 jonassorgenfrei

Hello! Unfortunately, Afanasy can't release running task ticket.

timurhai avatar Jul 17 '23 08:07 timurhai

Hey @timurhai

thanks for your answer, do you think this would be possible to add? Or do we have to considered something else to track the licenses used then the task tickets?

Cheers Jonas

jonassorgenfrei avatar Jul 17 '23 11:07 jonassorgenfrei

I think that it is possible, but not easy. As for now any release operations are going only on task release (after finish).

timurhai avatar Jul 17 '23 11:07 timurhai