Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd, cgroup: configure cgroups before joining them #1344

Merged

Conversation

giuseppe
Copy link
Member

@giuseppe giuseppe commented Nov 7, 2023

configure the cpu rt and cpuset controllers before joining them. This avoids running (even temporarily) the workload on cpus it was not supposed to run on.

configure the cpu rt and cpuset controllers before joining them.  This
avoids running (even temporarily) the workload on cpus it was not
supposed to run on.

Signed-off-by: Giuseppe Scrivano <[email protected]>
@giuseppe
Copy link
Member Author

giuseppe commented Nov 7, 2023

this should not be merged until @haircommander confirms it works

@giuseppe giuseppe marked this pull request as ready for review November 7, 2023 20:48
@giuseppe
Copy link
Member Author

giuseppe commented Nov 8, 2023

this seems to not fix the issue @haircommander had but I think it is still correct to configure the cgroups before moving the process there, so we probably want it anyway.

@flouthoc PTAL

Copy link
Collaborator

@flouthoc flouthoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@flouthoc flouthoc merged commit 174bee1 into containers:main Nov 8, 2023
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants