Hi,

Am 11.07.2011 um 23:57 schrieb Mike Hanby:

> Howdy,
> 
> I'm looking for suggestions on how to limit the total number of cores used in 
> our environment by jobs requesting an h_rt of greater than 7 days 
> (h_rt=168:00:00) to say 20 cores.
> 
> It could be a single 20 core/slot job, or 20 individual single slot jobs.
> 
> Is this something I'd handle via a resource quota set?
> 

you could setup a special queue with a maximum runtime of at least 7 days and 
attach a forced boolean to it. To avoid that users have to add this by hand, 
you could use a JSV (job submission verifier) to attach it automatically for 
lng running jobs. Then you can use an RQS for this queue and limit it to 20 
slots in total.

The boolean is necessary to avoid that short jobs might and up in this queue, 
as there is no "minimum request" feature for the resource definitions in the 
queue.

-- Reuti
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to