[slurm-users] Fwd: Slurm/cgroups on a single head/compute node

Alex Chekholko alex at calicolabs.com
Thu Aug 22 16:12:08 UTC 2019


Hi David,

I actually don't know much about cgroups, and I don't have a single-node
cluster.

Here are some cgroup-related settings from my regular Ubuntu 18.04 cluster,
running SLURM 18.08.7

root at cb-admin:~# cat /etc/slurm/slurm.conf | grep -i cgr
ProctrackType=proctrack/cgroup
TaskPlugin=task/cgroup
JobAcctGatherType=jobacct_gather/cgroup

root at cb-admin:~# cat /etc/slurm/cgroup.conf
CgroupAutomount=yes
CgroupReleaseAgentDir="/etc/slurm/cgroup"
ConstrainCores=yes
ConstrainDevices=yes
ConstrainRAMSpace=yes
#TaskAffinity=yes

I just copied those from somewhere, so I'm not sure how helpful they are to
you.  I think there were cgroups-related changes between slurm 17/18/19.

I also think systemd is intimately involved, but I've never looked closely.
e.g.
https://bugs.schedmd.com/show_bug.cgi?id=5292
https://groups.google.com/forum/#!topic/slurm-users/3vZUoZ_DXJI

Regards,
Alex

On Thu, Aug 22, 2019 at 8:57 AM David da Silva Pires <
david.pires at butantan.gov.br> wrote:

> Hi Alex.
>
> Thank you very much for taking you time to help me.
>
> Here are the versions of the listed software:
>
> Distro: Ubuntu Server 18.04 LTS
> Kernel: 4.15.0-59-generic x86_64 GNU/Linux
> systemd: 237-3ubuntu10.25
> SLURM: 17.11.2-1build1
>
> So, you guessed right, Alex.
>
> Do you think I should compile the last SLURM version instead of using the
> default one from Ubuntu packages?
>
> Is there anything wrong in my configuration?
>
> By the way, the absolute path of the last two configuration files are:
>
> /etc/slurm-llnl/slurm.conf
> /etc/slurm-llnl/cgroup.conf
>
> Best regards.
>
> --
> David da Silva Pires
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190822/11b98769/attachment-0001.htm>


More information about the slurm-users mailing list