Am 02.04.2012 um 09:33 schrieb William Hay: > On 2 April 2012 08:02, Sangmin Park <[email protected]> wrote: >> Hello, >> I'm a system manager in small computing center. >> I want to limit resource quota by user group. >> There are several groups and each group has user from one to 10 users. >> now, we apply resource quota by users and there is big problem. >> one group, which has 10 users, uses most of computing resource. >> So, I want to limit resource quota by the user group. >> Is there a way to do this on SGE? >> > The resource quota's should do this. If the groups correspond to SGE > projects and you have enforce_project set to yes then you can use the > project > in the rqs > Add a quota with limit lines something like below: > { > name projlimits > enabled true > limit projects {greedy,avaricious} to slots=30 > } > If you don't have projects then you could list the users explicitly in > separate limit lines. > { > name userlimits > enabled true > limit users grumpy sneezy dopey to slots=30 > limit users doc bashful happy to slots=30
NB: please separate the entires with commas. While UNIX groups can't be used directly, one could also define an ACL inside SGE with the same user list and use this in the RQS definition. -- Reuti > } > > > Alternatively you could try setting up a fair share policy. While it > won't impose limits it should stop long term dominance by one group > unless they're the only > people submitting jobs. > > William >> Sangmin Park. >> >> >> -- >> =========================== >> Sangmin Park >> Supercomputing Center >> Ulsan National Institute of Science and Technology(UNIST) >> Ulsan, 689-798, Korea >> >> phone : +82-52-217-4201 >> mobile : +82-10-5094-0405 >> fax : +82-52-217-4209 >> =========================== >> > _______________________________________________ > users mailing list > [email protected] > https://gridengine.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
