Hi William,

On Fri, Mar 1, 2013 at 10:09 PM, William Hay <[email protected]> wrote:
> On 1 March 2013 11:55, Raymond Wan <[email protected]> wrote:
>> Basically, I have a problem with users over-subscribing.  I'm asking
>> them that they can use only n cores and they are *purposely* using
>> more than that.  The number of cores being used added to the number of
>> cores in use by other users at the time is more than the number of
>> cores the system has.
>
> That's a slightly different question.  Limiting cores/vcpus used
> rather than threads.
> We create a small cpuset with the appropriate number of cores from the
> prolog(run as root) and have a starter_method call an suid binary that
> drops its parent into the cpuset created (after checking that it is
> currently in the root cpuset).  The epilog then cleans up the cpuset
> (kills any processes grid-engine missed and removes it).  You can do
> the same with cgroups in later versions of linux.


I see!  I guess I meant threads; I was quite sloppy with the
terminology.  Sorry!

So, I can limit cores but not threads?  That's not as good as limiting
threads, but that still gives me something, at least.

Thank you!

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

Reply via email to