[GE users] cpu slot reservation

reuti reuti at staff.uni-marburg.de
Sun May 2 17:27:19 BST 2010


Am 29.04.2010 um 15:13 schrieb prentice:

> sli1que wrote:
>> I have a machine in the cluster that many use because of its speed.  
>> I need to reserve 1 cpu slot for say one particular user. How do I  
>> set this up?
> Since you don't mention how may cores/slots that system has, let's say
> it has N slots, and it's hostname is 'node01'
> 1. In the queue configuration, modify that node01 that it has (N-1)
> slots. You would do this with qconf -mq <queue name> and change the
> hostlist to indicate only N-1 slots for node01
> 2. Create a new queue that has only 1 slot, and that one slot is on  
> node01.
> 3. Configure an access list for that queue so that only that user can
> submit to it.
> 4. Instruct user to specify that queue in his qsub commands.
> That should do it.

it should also be possible to use an RQS for it and stay with one queue:

limit users !extrauser host {extrahost} to slots=$num_proc-1

-- Reuti

> Sorry I don't have step-by-step complete examples - I don't know the
> exact syntax off the top of my head, and don't want to put the wrong
> information, and I don't have have time to test the correct syntax
> myself at the moment.
> Prentice Bisbal
> Linux Software Support Specialist/System Administrator
> School of Natural Sciences
> Institute for Advanced Study
> Princeton, NJ
> ------------------------------------------------------
> http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=38&dsMessageId=255437
> To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net 
> ].


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

More information about the gridengine-users mailing list