| Summary: | 21.08.2: cgroup TaskAffinity=yes has gone: we had =no before | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | Kevin Buckley <kevin.buckley> |
| Component: | Configuration | Assignee: | Marcin Stolarek <cinek> |
| Status: | RESOLVED INFOGIVEN | QA Contact: | |
| Severity: | 4 - Minor Issue | ||
| Priority: | --- | CC: | cinek |
| Version: | 21.08.1 | ||
| Hardware: | Cray XC | ||
| OS: | Linux | ||
| Site: | Pawsey | Alineos Sites: | --- |
| Atos/Eviden Sites: | --- | Confidential Site: | --- |
| Coreweave sites: | --- | Cray Sites: | --- |
| DS9 clusters: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Linux Distro: | SUSE |
| Machine Name: | magnus, galaxy, chaos | CLE Version: | 6 UP07 |
| Version Fixed: | Target Release: | --- | |
| DevPrio: | --- | Emory-Cloud Sites: | --- |
|
Description
Kevin Buckley
2021-10-06 00:06:28 MDT
Kevin, Having TaskAffinity=no was just a repetition of a default value for the option, so it didn't have any effect compared to skipping it in cgroup.conf at all. To avoid a breaking change on the minor release the option is still parsed on Slurm 21.08 and if set to 'no' it's accepted. If it's set to yes then we return with a fatal error. >fatal: Support for TaskAffinity=yes in cgroup.conf has been removed. Consider adding task/affinity to TaskPlugins in slurm.conf instead The parsing is completely removed in Slurm 22.05 and as it is today having TaskAffinity=no will result in fatal error like: >fatal: Could not open/read/parse cgroup.conf file Let me know if it's more clear for you now. cheers, Marcin > Having TaskAffinity=no was just a repetition of a default value for the option,
> so it didn't have any effect compared to skipping it in cgroup.conf at all.
>
> ...
>
> Let me know if it's more clear for you now.
I'll ask a more direct question then Marcin,
if we remove it from the configuration now, it'll continue to
work as though we never had it, plus we'll have nothing to do
when 22.05 comes along ?
FWIW, I can't recall if it would have been something we put in,
or whether it was something that Cray's configuration generator
supplied, and so we just went with it.
>if we remove it from the configuration now, it'll continue to
>work as though we never had it, plus we'll have nothing to do
>when 22.05 comes along ?
Yep - removing the TaskAffinity=no line from cgroup.conf is something I'd recommend.
cheers,
Marcin
On 2021/10/06 17:26, bugs@schedmd.com wrote: > > Yep - removing the TaskAffinity=no line from cgroup.conf is something I'd > recommend. Already gone on the TDS I am awaiting rebuilding, instead of going home, so feel free to close this one as INFOGIVEN. Cheers, Kevin |