Am 20.06.2012 um 09:49 schrieb Ray Spence:

> Hi Reuti,
> 
> Thank you for your help. After posting my request I began to realize I needed 
> two RQS.
> Can you tell me if RQS can even do what I want - to limit each user to a 
> cumulative 
> amount of memory being used by all his respective jobs in a specific queue?

In principle yes, but sometimes jobs just won't start in certain conditions of 
defined RQS - it's a bug. Just check, whether it's working for your setup.


> I have
> set h_vmem and virtual_free to be consumable but have not assigned an amount 
> of
> for either of these. Do I need to set an actual amount?

Yes, as you need something to consume from. It is often set on an exechost 
level to the installed memory (`qconf -me node01`). If it's limited on an 
exechost level by an RQS again, it could even be set to any arbitrary high 
value. But as you check only the overall usage, it should be set to the size of 
the installed memory again.

-- Reuti



> Thanks again,
> 
> Ray
> 
> On Wed, Jun 20, 2012 at 12:37 AM, Reuti <[email protected]> wrote:
> Am 20.06.2012 um 02:09 schrieb Brendan Moloney:
> 
> > In my experience, resource quotas that try to enforce multiple constraints 
> > are quite buggy.
> 
> Unfortunately this is true.
> 
> Nevertheless: in your case you need two RQS, not one. Ther first rule which 
> applies will be checked and deny or grant access. Here: queue high.q. The 
> second rule will never ever be checked here. It needs to be put in a second 
> RQS.
> 
> -- Reuti
> 
> 
> > Brendan
> > ________________________________________
> > From: [email protected] [[email protected]] On Behalf 
> > Of Ray Spence [[email protected]]
> > Sent: Tuesday, June 19, 2012 4:40 PM
> > To: [email protected]
> > Subject: [gridengine users] RQS Help
> >
> > I am using SGE 6.2u5 on Ubuntu 12.04. I have been tearing my hair out
> > attempting to enforce memory and slots allocation limit by an RQS. I'd like
> > to restrict all users to 128GB and 32 slots total usage respectively 
> > cumulative
> > (at any time, not per job) in a specific queue. I call this queue high.q.
> > Here is my RQS
> >
> > {
> >   name         high.q_limits
> >   description  "All high.q users restricted to 32 slots and 128GB ram"
> >   enabled      TRUE
> >   limit        users {*} queues high.q to slots=32
> >   limit        users {*} queues high.q to virtual_free=128g
> > }
> >
> > With this in place I can submit a job, with a hard request for 150G, which 
> > runs.
> >
> > % qsub -hard -q high.q -l virtual_free=150g grid1.sh
> >
> > I'm beginning to think this type of quota isn't even possible?
> > Can anyone shed light on this?
> >
> > _______________________________________________
> > users mailing list
> > [email protected]
> > https://gridengine.org/mailman/listinfo/users
> 
> 


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

Reply via email to