[GE users] Different max slots for each queue?

templedf dan.templeton at sun.com
Thu Feb 11 22:42:44 GMT 2010


The users field only applies to UNIX users and Grid Engine ACLs, so 
you'd have to create an ACL for the rule or reuse existing ACLs.

Daniel

On 02/11/10 14:15, mhanby wrote:
> Thanks Dan,
>
> I've been playing around with this some and did some searching but can't find an answer.
>
> Say I want restrict the rule to a specific Linux group (or groups), do I need to put the group(s) in a grid engine ACL and use that, or can I list Linux groups in the RQS? For example:
>
> {
>     name         user_slot_limits
>     description  Limit slots for various users and groups
>     enabled      TRUE
>     limit        users jsmith to slots=32
>     limit        users {@lingrp1, at lingrp2} queues nehalem.q to slots=20
>     limit        users {*} queues nehalem.q to slots=64
> }
>
>   * jsmith can only use 32 slots on the entire cluster
>   * users in Linux groups lingrp1 and lingrp2 are limited to 20 slots in nehalem.q
>   * all other users are limited to 64 slots in nehalem.q
>
> Or do I create an ACL and use that:
>
>     limit        users {@sgeacl} queues nehalem.q to slots=20
>
> Thanks,
>
> Mike
>
> -----Original Message-----
> From: Dan.Templeton at Sun.COM [mailto:Dan.Templeton at Sun.COM]
> Sent: Thursday, February 11, 2010 1:48 PM
> To: users
> Cc: Mike Hanby
> Subject: Re: [GE users] Different max slots for each queue?
>
> You're looking for:
>
> limit users {*} queues nehalem.q to slots=20
>
> Daniel
>
> On 02/11/10 11:44, mhanby wrote:
>    
>> Howdy,
>>
>> I currently have two queues, one for new fancy hardware (nehalem.q) and one for the older hardware (amd.q).
>>
>> I'd like to configure GE6.2u4 so that maximum slots per user for amd.q is unlimited, and maximum slots per user for nehalem.q is 20.
>>
>> Any suggestions? I assume this will be a resource quota, just not sure how to construct it based on the queues.
>>
>> Currently I have the following resource quotas:
>>
>> $ qconf -srqs
>> {
>>      name         slotcap
>>      description  Keep slots equal to processor cores for all exec hosts
>>      enabled      TRUE
>>      limit        hosts {*} to slots=$num_proc
>> }
>> {
>>      name         jsmith_slots
>>      description  Limit total slots for user jsmith
>>      enabled      TRUE
>>      limit        users jsmith to slots=5
>> }
>>
>> Thanks,
>>
>> Mike
>>
>> =================================
>> Mike Hanby
>> mhanby at uab.edu
>> Information Systems Specialist II
>> IT HPCS / Research Computing
>>
>> ------------------------------------------------------
>> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=244385
>>
>> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].
>>
>>      
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=244393
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].
>

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

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



More information about the gridengine-users mailing list