I just found this post that answers this question:

http://gridengine.org/pipermail/users/2011-December/002215.html

Hope that this is useful for someone.

Yago


On Sat, Jun 7, 2014 at 4:22 PM, Yago Fernández Pinilla <[email protected]>
wrote:

> Would work to puse mem_free as a consumable resource for the submission of
> jobs so we ensure that there is enough memory for all jobs in the same node?
>
> Thanks again Reuti
>
> Yago
>
>
> On Sat, Jun 7, 2014 at 3:55 PM, Reuti <[email protected]> wrote:
>
>> Please have a look at /usr/sge/doc/load_parameters.asc:
>>
>> mem_free        : The amount of free memory.
>> swap_free       : The amount of free swap memory.
>> virtual_free    : The sum of mem_free and swap_free.
>>
>> and `man queue_conf`:
>>
>> [...] s_vmem and h_vmem [...] They impose a limit on the amount of
>> combined virtual memory consumed by all the processes in the job.
>>
>> -- Reuti
>>
>>
>> Am 07.06.2014 um 15:23 schrieb Yago Fernández Pinilla:
>>
>> > Hi,
>> >
>> > What is exactly the difference between mem_free and h_vmem?
>> >
>> > Thanks in advance
>> >
>> > Yago
>> >
>> >
>> > On Fri, Jun 6, 2014 at 8:30 PM, Michael Stauffer <[email protected]>
>> wrote:
>> > OGS/GE 2011.11p1
>> >
>> > Hi,
>> >
>> > Is there an alternative to h_vmem that checks resident memory rather
>> than virtual? I'd like a consumable that kills a job when it oversteps its
>> requested memory quota, so h_vmem is great. But I'm having trouble with
>> Matlab (and maybe other apps, haven't checked fully yet) which at startup,
>> allocates a somewhat-variable large amount of VIRT memory (~4G) but little
>> RES memory (~300M) (according to 'top').
>> >
>> > Matlab's java environment is allocating most of the virtual memory, but
>> they can't tell me a way to limit this. In any case this large VIRT value
>> makes it impossible to set a smaller default h_vmem value because Matlab
>> won't launch.
>> >
>> > Thanks for any thoughts.
>> >
>> > -M
>> >
>> > _______________________________________________
>> > users mailing list
>> > [email protected]
>> > https://gridengine.org/mailman/listinfo/users
>> >
>> >
>> >
>> >
>> > --
>> > Yago Fernández Pinilla
>> > e-mail: [email protected]
>> >
>> > _______________________________________________
>> > users mailing list
>> > [email protected]
>> > https://gridengine.org/mailman/listinfo/users
>>
>>
>
>
> --
> Yago Fernández Pinilla
> e-mail: [email protected]
>
>


-- 
Yago Fernández Pinilla
e-mail: [email protected]
_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to