Enhanced dynamic limits in the new resource quota system

Posted by chris Sat, 23 Dec 2006 18:31:23 GMT

A bit of interesting news via the GE issues mailing list recently concerning the newly announced "Resource Quota" feature that will be part of the upcoming Grid Engine 6.1 release. The specification document for the new Resource Quota facility makes specific mention of "dynamical limits". The specific example of a given "dynamical limit" is the following:

 limit hosts {@linux_hosts} to slots=$num_proc*5


... that limit would change from machine to machine depending on the number of CPUs resident in each machine. Useful.

Roland filed (and then fixed!) a new issue asking for this functionality to be extended to allow the following types of usage:

'slots=$num_proc*2-1' or slots=$num_proc*2+2'

The new enhancements extend the operators that can be used for defining these new limits. This enhancement also applies to load_formula syntax as well due to a shared codebase. The new syntax definition looks like this:

{w1|$complex1[*w1]}[{+|-}{w2|$complex2[*w2]}[{+|-}...]]