Cgroup and Slurm

Viewed 887

I know how to use cgroups(allocating memory, cpu usage...) and slurm(submit, suspend/stop a job). I would like to know how cgroups work with slurm. Where could I fix the memory or CPU usage when I submit a job to slurm? I read the documentation from Slurm Schedmd(https://slurm.schedmd.com/cgroups.html) but it doesn't give a good explanation. Maybe it is a misunderstanding of mine. Can anyone explain how to allocate some ressource for a job using cgroup in slurm? Thanks in advance.

1 Answers
Related