Hi,
Am 05.02.2013 um 08:29 schrieb Joseph Farran:
> I am using Grid Engine 8.1.2. I am reading up on dynamic resource quotas.
>
> One example I see to allow 5 slots per CPU on all linux hosts is:
>
> limit hosts {@linux_hosts} to slots=$num_proc*5
>
>
> I like to setup the following dynamic resource quota but not sure if it can
> be done?
>
> Limit max slots on a queue / users in the queue.
>
> I have a queue with several nodes making up 1,000 cores. I like to setup a
> dynamic quota such that one user can consume all 1,000 cores. However if
> two users are using the queue (or waiting to run on this queue), then give
> half or 500 slots each. If three users are using/waiting on the queue, give
> 333 slots per user and so on.
>
> I don't think this can be done via dynamic resource quotas but wanted to
> check.
This is not built in to check the number of the waiting jobs, but you can use
an external cron job providing this information, and adjust the RQS with a
command like:
qconf -mattr resource_quota limit slots=7890 foobar/baz
qconf -mattr resource_quota limit slots=7890 foobar/1
for an RQS named "foobar" where the first rule and other rules can be accessed
by their name like "baz" or position in the RQS. The enable/disable flag and
description can be changed too.
-- Reuti
> Thank you,
> Joseph
>
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users