Hi,

I'm testing how limiting memory resources works in Slurm.
I'm using TaskPlugin=affinity,cgroup (slurm.conf) and ConstrainRAMSpace=yes (cgroup.conf) and have set a MaxMemPerCPU limit on the partition. To my surprise MaxMemPerCPU is enforced as long as the job submission requests a memory limit (like --mem-per-cpu), but isn't enforced when job submission doesn't request a memory limit. Is this really expected behaviour? How do I constrain these jobs? Force requesting memory limit with submission plugin?

thx
Matthias

Reply via email to