Hi,
Am 22.02.2013 um 11:22 schrieb Raymond Wan:
> 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.)
If you submit with `qsub -binding ...` (man qsub) you will get this feature
automatically, and the request could be put in a JSV.
But it's not enforced if the user manipulates the given set of allowed cores on
his own.
And it's only a soft request to SGE, if it can't be fulfilled, it will run
anyway.
-- Reuti
> Thank you for your help!
>
> Ray
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users