I was trying with h_vmem and my findings are:

Memory consumed is multiplied by the number of slots user request in case 
h_vmem is set to "Yes". It is not multiplied if set to "Job".
However, job memory limit (as per "ulimit") is in both cases multiplied by the 
number of slots consumed which is bit confusing.

So if we set up H-vmem to "JOB" and 2Gb, then "qrsh -pe ade 4", then we obtain 
a shell with 16Gb virtual memory limit but only 2Gb is subtracted  from the 
host memory.

Is that behavior expected?

Thanks,

Ondrej

> -----Original Message-----
> From: William Hay [mailto:w....@ucl.ac.uk]
> Sent: Tuesday, March 14, 2017 4:18 PM
> To: Ondrej Valousek <ondrej.valou...@s3group.com>
> Cc: sge-discuss@liv.ac.uk <sge-disc...@liverpool.ac.uk>
> Subject: Re: [SGE-discuss] Enforcing memory limit for job
> 
> On Fri, Mar 10, 2017 at 11:46:26AM +0000, Ondrej Valousek wrote:
> > Hi List,
> >
> > I need a help with setting default limits for jobs.
> > I would need something that would limit job memory consumption to say
> 20Gb but was not consumable unless explicitly specified by a user.
> >
> > I thought setting h_vmem attribute in GE complex configuration would do
> the trick, but it is consumable, so lauching few little terminal jobs into the
> farm would soon fill resources everywhere.
> >
> > Is there some attribute like this?
> > Thanks,
> You can change h_vmem to be non-consumable if you like.
> 
> If you want it consumable for those who request it but not for those who
> don't you may be able to exploit the difference between configuring
> h_vmem as a queue resource_limit and configuring it under complex_values.
> As  a queue_limit it should apply whether you request it or not.
> Under complex_values it should be requestable.
> 
> (NB: never tried this).
> 
> William
-----

The information contained in this e-mail and in any attachments is confidential 
and is designated solely for the attention of the intended recipient(s). If you 
are not an intended recipient, you must not use, disclose, copy, distribute or 
retain this e-mail or any part thereof. If you have received this e-mail in 
error, please notify the sender by return e-mail and delete all copies of this 
e-mail from your computer system(s). Please direct any additional queries to: 
communicati...@s3group.com. Thank You. Silicon and Software Systems Limited (S3 
Group). Registered in Ireland no. 378073. Registered Office: South County 
Business Park, Leopardstown, Dublin 18.

_______________________________________________
SGE-discuss mailing list
SGE-discuss@liv.ac.uk
https://arc.liv.ac.uk/mailman/listinfo/sge-discuss

Reply via email to