it sounds like RQS limits might be what you want, where you can limit the total 
number of cores a single user can consume at one time, if they request more 
then the jobs will sit in the queue.

http://wiki.gridengine.info/wiki/index.php/RQS_Common_Uses

to modify: qconf -mrqs

so your queue might have 12 slots, for example, but a single user can only 
request 2 at a time, so 6 different people could use the node at once.

The second part of your question i don't think is possible but I might be wrong.

Regards,
Brett


On Feb 22, 2013, at 5:22 AM, Raymond Wan 
<[email protected]<mailto:[email protected]>>
 wrote:

Hi all,

I'm sort of new to configuring SGE.  There's something I'd like to do,
but I don't know how to do it...or, more precisely, I don't know what
it's called so I'm not sure what I should be looking for in the
documentation.

I'm administering a single computer.  So, it manages the queue and
also is where the jobs are run.

I'd like to create queues that limit the number of threads that can be
used.  For example, suppose it has 4 cores and 4 x 2 = 8 threads.  Is
it possible to create queues that:

1)  Can use at most n threads (i.e., n=2).  If the user places
something on the queue that uses 4 threads while running, the user's
job is either killed or suspended.

2)  Can stick to using only one core.  So, if threads is n=2, then
both threads are on the same core ("guaranteed").

I guess (2) is impossible...I'm not sure if the system knows which
thread goes with which core.

But I guess (1) is possible but I don't know which option to set.
What I'd like to prevent is having a queue with 2 threads and users
putting programs with 4 threads on it.  (I'd rather create another
queue with 4 threads so that they can put it on that queue instead.)

Thank you for your help!

Ray
_______________________________________________
users mailing list
[email protected]<mailto:[email protected]>
https://gridengine.org/mailman/listinfo/users

--
This email was Anti Virus checked by Astaro Security Gateway. 
http://www.astaro.com

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to