cgru icon indicating copy to clipboard operation
cgru copied to clipboard

how do I get the capacity of the current render-node within the parser/service

Open ultra-sonic opened this issue 6 months ago • 3 comments

Hi Timur,

the capacity of our render-nodes equals the amount of threads the system can run. During daytime we reduce this capacity to 80% on artists workstation to still be able to render while artists work on them.

we are setting the threads via service.py and right now our only way of getting the current capacity of an afrender-client is to query it from afserver which sometimes does not work properly. is there a way to make all properties (capacity and if possible also tickets) of the current render-node available in python without asking the server?

cheers Oli

@sebastianelsner

ultra-sonic avatar Jan 10 '24 07:01 ultra-sonic

Hi Oliver,

Such render node information is not available for now. But can be implemented.

timurhai avatar Jan 10 '24 10:01 timurhai

Also, there is an issue about tickets: https://github.com/CGRU/cgru/issues/562 May some other render useful info can be passed too.

timurhai avatar Jan 10 '24 10:01 timurhai

Such render node information is not available for now. But can be implemented.

Thanks for confirming this. Looking forward to 3.4.0 already!

ultra-sonic avatar Jan 10 '24 13:01 ultra-sonic