[slurm-users] Swap Configuraton for compute nodes
Hermann Schwärzler
hermann.schwaerzler at uibk.ac.at
Wed Aug 17 08:09:47 UTC 2022
Hi Eg.
if you are using cgroups (as you do if I read your other post correctly)
these two lines in your cgroup.conf should do the trick:
ConstrainSwapSpace=yes
AllowedSwapSpace=0
Regards,
Hermann
PS: BTW we are planning to *not* use this setting as right now we are
looking into allowing jobs to swap/page when they have exhausted their
requested memory.
Until now our impression is that this has an impact on the respective
job only and not on the whole compute node. But maybe we are wrong...
On 8/11/22 10:51 PM, Eg. Bo. wrote:
> Hello,
>
> could anybody share a decent configuration which prohibits swap usage
> for any job? Right now, I'd think my configuration (see my previous post
> in regards to RealMemory configuration) could end up in swapping which
> is not intended at all for compute nodes.
>
>
> Thanks&Best
>
> Eg.
More information about the slurm-users
mailing list