...
Syntax | Meaning |
---|---|
host.processors=1+ | Dispatch to a worker with at least 1 open slot, then occupy all currently open slots. The general form is host.processors=N+, where N is a positive integer. |
host.processors=1* | Dispatch to a worker with at least 1 open slot and no used slots (i.e. worker must be idle!), then occupy all currently open slots. The general form is host.processors=N*, where N is a positive integer |
host.processors=all | Equivalent to host.processors=1* |
host.processors=N+-M | Dispatch to a worker with at least N to M open slots. Upon being dispatched to a worker, it occupies as many slots as it can, up to M, as slots become available. |
...
When a 1+ or similar job picks up on a Worker, we don't know how many slots were available or assigned to that instance. That number is made available dynamically in the running job's environment as an environment variable, QB_JOBSLOTS=6
, (or whatever the value) and stored in the Qube! database in the job's subjob table as "allocations". One use of this could be that the job references $QB_JOBSLOTS on the command line to specify the number of threads a renderer should use.
Examples
Reservation | Explanation |
---|---|
"host.memory=200" | Reserve 200MB of memory on the host |
"host.processors=1+" | Reserve all processors on a host, but at least 1 must be available in order to start |
"host.processors=1-20" | Reserve 20 processors on a single host, but at least 1 must be available in order to start |
"global.maya=1" | Reserve a global resource called maya |
...