Author Topic: Renderman Thread Limit  (Read 8629 times)

Yantor

  • Full Member
  • ***
  • Posts: 18
Renderman Thread Limit
« on: April 15, 2009, 05:05:38 PM »
Is there way a to distribute a render job through Qube that will use all threads on a quad-core machine, using Renderman?

shinya

  • Administrator
  • *****
  • Posts: 232
Re: Renderman Thread Limit
« Reply #1 on: April 17, 2009, 01:21:50 AM »
Hi Yantor,

Are you using the "renderman" jobtype, or the "cmdrange/cmdline" jobtype?

In either case,  it should be possible to control the multi-thread and
multi-processor behaviors, if you use prman's "-t:n" and "-p:pn"
options, respectively.  Please refer to your prman documentation
for details.

You will also want to use a "reservation" of "host.processors=1+" if you
have your workers to have more than one jobslot (by default, workers
have as many jobslots as they do cores, so, for example, a 4-core node
can run 4 subjobs at a time), to make sure that the renderman subjob
occupies the entire worker for the duration of its execution.

I'm assuming you're referring to prman when you say "Renderman", but
if your renderer supports a similar threading option, it would work the
same way.

I hope that helps!

shinya

  • Administrator
  • *****
  • Posts: 232
Re: Renderman Thread Limit
« Reply #2 on: April 17, 2009, 02:31:16 AM »
I forgot to mention one thing, but if you're submitting a "renderman" job
from the Qube GUI, then you can specify the "-t" or "-p" option in the
"Other options" field.

Just in case it wasn't obvious!  :)