Author Topic: Ensuring both CPUs of a dual-proc machine get used  (Read 2369 times)

agraham

  • Jr. Member
  • **
  • Posts: 3
    • Guava Studios
Ensuring both CPUs of a dual-proc machine get used
« on: May 30, 2008, 04:11:20 PM »
We have Nuke running on our Qube farm. We have 10 render licenses for Nuke. Nuke's licensing scheme is node-based, not CPU-based, which means that you can run two concurrent renders on a dual-proc machine. I can therefore render 20 subjobs at once with the licenses we have.

My problem comes about when I set --cpus to a value of 20. Everything is fine if all workers pick up two jobs, but sometimes a worker will pick up only one subjob, which throws everything off, giving me license errors.

Is there a way, using --reservations, to tell the job to only run on 10 workers, but permit 20 subjobs?

Thanks,
AG
--
Adrian Graham
VFX Technical Supervisor
Guava Visual Effects
212-414-2222

shinya

  • Administrator
  • *****
  • Posts: 224
Re: Ensuring both CPUs of a dual-proc machine get used
« Reply #1 on: June 04, 2008, 03:14:34 AM »
Unfortunately, there is currently no way to restrict your job to run on N hosts.

The closest alternative would be to list your 10 hosts in the "hosts" field, but you'd need to make sure that those hosts have available jobslots (or that they'll preempt whatever's currently running).