[gridengine users] define h_vmem via RQS

Reuti reuti at staff.uni-marburg.de
Mon Nov 21 17:18:34 UTC 2011


Hi,

Am 20.11.2011 um 10:45 schrieb mahbube rustaee:

> <snip>

looking at `man sge_resource_quota` and checking the {} syntax should explain it.

> 1)  In first option, does   following definition  limits h_vmem for hosts?
>  limit        hosts {@amd} to h_vmem=100G

What will the above RQS do?


> or 
> limit users {*} hosts {@amd} to h_vmem=100G 
> limits h_vmem for hosts? 

What will the above RQS do?


> 2) two  mentioned defintion are different to limit h_vmem per hosts in @amd hostgroup?

Yes, the two are different.

-- Reuti


> $ for NODE in $(seq -w 1 20); do qconf -mattr exechost complex_values h_vmem=50G node$NODE; done
> 
> 
> It's a matter whether you like the output to be in `qquota`, or would like to have these limits applied and use the `qquopta` output only for user/groups/usage limits.
> 
> -- Reuti
> 
> 
> > Thx
> >
> > On Sat, Nov 19, 2011 at 12:17 PM, William Hay <w.hay at ucl.ac.uk> wrote:
> > On 19 November 2011 05:03, mahbube rustaee <rustaee at gmail.com> wrote:
> > > Hi,
> > >
> > > I define slots of all hosts with:
> > > {
> > >    name         limit-slots-of-hosts
> > >    description  limits slots of clusters's hosts
> > >    enabled      TRUE
> > >    limit        hosts {@gpu} to slots=48
> > >    limit        hosts {@xeon} to slots=24
> > >    limit        hosts {@amd} to slots=48
> > > }
> > > And it works correctly.
> > >
> > > I defined a RQS to set h_vmem to all hosts :
> > > {
> > >    name         limit-vmem-of-all-hosts
> > >    description  limits vmem of all hosts
> > >    enabled      TRUE
> > >    limit        hosts {@gpu} to h_vmem=50G
> > >    limit        hosts {@xeon} to h_vmem=20G
> > >    limit        hosts {@amd} to h_vmem=100G
> > > }
> > >
> > > but It doesn't work! why?
> > Not sure exactly what doesn't work means and resource quotas aren't my
> > strong point(for my usage complex_values works better) but this is a
> > limit on a requested resource not on actual memory usage.  If the user
> > didn't request h_vmem then the quota wouldn't apply and no limit would
> > be enforced.
> > Might help to make h_vmem consumable as well.
> >
> > William
> >
> >
> > >
> > > Thx
> > >
> > >
> >
> > _______________________________________________
> > users mailing list
> > users at gridengine.org
> > https://gridengine.org/mailman/listinfo/users
> 
> 




More information about the users mailing list