[GE users] Limit jobs a user can run in a queue

Simon Gao Simon.Gao at schrodinger.com
Fri Nov 14 18:59:45 GMT 2008


reuti wrote:
> Hi,
>
> Am 13.11.2008 um 21:17 schrieb Simon Gao:
>
>   
>> gsat77 wrote:
>>     
>>> Hi,
>>>
>>> You can limit using resource quota configuration.
>>> http://gridengine.sunsource.net/nonav/source/browse/~checkout~/ 
>>> gridengine/doc/devel/rfe/ResourceQuotaSpecification.html
>>> <http://gridengine.sunsource.net/nonav/source/browse/%7Echeckout% 
>>> 7E/gridengine/doc/devel/rfe/ResourceQuotaSpecification.html>
>>>
>>> But this feature is supported on SGE 6.x
>>>
>>> Sathya
>>>
>>> On Thu, Nov 13, 2008 at 12:08 PM, Simon Gao  
>>> <Simon.Gao at schrodinger.com
>>> <mailto:Simon.Gao at schrodinger.com>> wrote:
>>>
>>>     Hi,
>>>
>>>     Is there a way to limit the max number of jobs one user can  
>>> run in one
>>>     queue?
>>>
>>>     Simon
>>>
>>>     ------------------------------------------------------
>>>     http://gridengine.sunsource.net/ds/viewMessage.do? 
>>> dsForumId=38&dsMessageId=88696
>>>     <http://gridengine.sunsource.net/ds/viewMessage.do? 
>>> dsForumId=38&dsMessageId=88696>
>>>
>>>     To unsubscribe from this discussion, e-mail:
>>>     [users-unsubscribe at gridengine.sunsource.net
>>>     <mailto:users-unsubscribe at gridengine.sunsource.net>].
>>>
>>>
>>>       
>> Thanks. The cluster runs SGE 6.0u8. So we have to find a way to  
>> make it
>> work with 6.0.
>>     
>
> in 6.0 you can only set in general to be the same for all users:  
> maxujobs in the scheduler configuration (man sched_conf).
>
> If you want different limits for each user, this only works when your  
> users behave fair: you could create a complex per user with a) the  
> name of the user and b) the number of allowed slots set for this user  
> in the global configuration.
>
> Then each user will have to request this parameter in qsub, e.g.  
> `qsub -l simon=1 myjob.sh`
>
> This you can of course put in each user's home dircetory in a file  
> "~/.sge_request` with just the line "-l simon=1" without any need to  
> tell the users about it. Until they discover that they can override  
> it with "-l simon=0" (man sge_request)...
>
> -- Reuti
>
>   
This is what I want to do. Say there is one queue, hot.q, that's really
popular. Everyone wants to use it. We don't want anyone's jobs totally
occupy all the nodes in hot.q.  Say at most, anyone's jobs can run on
80% of all nodes in hot.q.   Is there a way to achieve this?

Simon

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

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



More information about the gridengine-users mailing list