[torquedev] [PATCH] Change pbs_mom to set RLIMIT_AS instead of RLIMIT_DATA for mem/pmem limits.

Chris Samuel csamuel at vpac.org
Sun Jan 11 16:13:04 MST 2009


----- "David Singleton" <David.Singleton at anu.edu.au> wrote:

> Unfortunately that is imposing a form of pvmem limit, not a
> pmem limit.  Memory allocation should be limited by vmem/pvmem
> requests/limits, not by mem/pmem requests/limits.

It seems that I'm suffering a common misconception about
this as there's already a patch in Torque from GATECH to
set RLIMIT_AS for (p)mem, but I have to agree with both
you and Ake that only a limit on actual RSS makes sense
for pmem.

I think I've been assuming that virtual memory == swap
and getting rather puzzled about why on earth people
would want that in HPC given that swap = bad.

panic: insufficient caffeine levels, please refill

> Currently mem limits can only be imposed by MOM monitoring.

The new kernel cgroups might make that a lot easier
to monitor too, though it'll mean that pbs_mom will
have to support both it and cpusets.

cheers,
Chris
-- 
Christopher Samuel - (03) 9925 4751 - Systems Manager
 The Victorian Partnership for Advanced Computing
 P.O. Box 201, Carlton South, VIC 3053, Australia
VPAC is a not-for-profit Registered Research Agency


More information about the torquedev mailing list