Discussion:
number of slots
(too old to reply)
neubauer
2010-12-16 13:40:06 UTC
Permalink
Hello
Is there a possibility to dynamically constrain the number of slots, a
person or a queue can use, depending on the current number of available
slots?
Let's say, something like this:
- all users are allowed to use a maximum of 10% of the cluster
- queue long is allowed to use 20% of the cluster

I know how to do that with RQS but as the number of slots is changing
from time to time, i would have to adjust all the numbers in these sets
by hand frequently.

Thanks,
Sebastian

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=306098

To unsubscribe from this discussion, e-mail: [users-***@gridengine.sunsource.net].
reuti
2010-12-17 13:08:32 UTC
Permalink
Hi,
Post by neubauer
Is there a possibility to dynamically constrain the number of slots, a
person or a queue can use, depending on the current number of available
slots?
- all users are allowed to use a maximum of 10% of the cluster
- queue long is allowed to use 20% of the cluster
I know how to do that with RQS but as the number of slots is changing
from time to time, i would have to adjust all the numbers in these sets
by hand frequently.
RQS support dynamic limits. But for now only for host based rules; and in addition there is no complex variable like "total_slots" which is adjusted automatically. So, the answer it: no.

Nevertheless you could use some external cron script, which will generate the appropriate RQS on-the-fly and feeds it into SGE.

-- Reuti

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=306438

To unsubscribe from this discussion, e-mail: [users-***@gridengine.sunsource.net].
Loading...