Revert "Do not add slurmstepd to the job cgroups"
This reverts commit 756207ea. We observed that not constraining the slurmstepd implies that spank plugins will not either be constrained. Some customers use nvidia-smi in their plugins so after this change all gpus were available when they expected not to be. Moreover, having many unconstrained slurmstepds possibly from different jobs can make one to affect the other, so it is desirable to only affect the job if something bad happens rather than possibly affecting other processes. Bug 13189
Showing
- NEWS 1 addition, 0 deletionsNEWS
- src/plugins/cgroup/v1/cgroup_v1.c 15 additions, 4 deletionssrc/plugins/cgroup/v1/cgroup_v1.c
- src/plugins/task/cgroup/task_cgroup_cpuset.c 5 additions, 0 deletionssrc/plugins/task/cgroup/task_cgroup_cpuset.c
- src/plugins/task/cgroup/task_cgroup_devices.c 7 additions, 0 deletionssrc/plugins/task/cgroup/task_cgroup_devices.c
Loading
Please register or sign in to comment