...
Info |
---|
From version 6.5 on Qube! allows for a more "dynamic" evaluation of the "host.processors=1+" or "host.processors=4-8" style of reservations. A "1+" reservation used to mean "all the slots", but there was no way to know how many slots it was allocated; there could be a 2-slot job already running on an 8-slot worker, and then the 1+ would just assume that it was getting all 8 slots and the worker would be over-scheduled for as long as both the 2-slot and the 1+ job were running at the same time. Now, the reservations as evaluated on each worker at the time the job instance starts on the particular worker. So in the above example, the 2-slot job has already been allocated 2 worker slots, and when the 1+ instance starts, it's allocated the remaining 6 slots. |
Examples
Reserves Reserve 200MB of memory on the host
% qbsub --reservations "host.memory=200" set
Reserves Reserve at least 1 processor and up to all processors on a host
% qbsub --reservations "host.processors=1+" set
Reserves Reserve from 1 to 20 processors on a single host
% qbsub --reservations "host.processors=1-20" set
Reserves Reserve a global resource called maya
%
qbsub --reservations "global.maya=1" "maya -batch -render ...."
...