Skip to content

feat: enable cgroup by default#97

Draft
mahnerak wants to merge 3 commits intogiovtorres:mainfrom
mahnerak:cgroup
Draft

feat: enable cgroup by default#97
mahnerak wants to merge 3 commits intogiovtorres:mainfrom
mahnerak:cgroup

Conversation

@mahnerak
Copy link
Copy Markdown
Contributor

qq: Is there any reason why cgroup is not enabled by default? I noticed that memory limit didn't work then I realized cgroup is not on.

I think this is the only realistic setup we'll have, and if there's no reason to stick with proctrack/linuxproc, let's move to cgroup.

Note: I have no chance to test this on cgroup v1 systems, will mark it ready only after I can test.

@giovtorres
Copy link
Copy Markdown
Owner

Thank you for this. I don’t recall but I had issues with cgroups in the past on my Fedora machine. It’s probably bad settings on my part. These settings seem to work just fine on Fedora and on Ubuntu in the CI. Are there any trade-offs to this change? Can/Should the TaskPlugin do both task/cgroup,task/affinity? Would this be a breaking change?

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