-
Notifications
You must be signed in to change notification settings - Fork 46
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
Linux Control Group version 2 API support (cgroup v2) #1262
Comments
Hello Tim, |
I think both will need to get cgroup2 support. Most distros are now defaulting to cgroup2. Some software which end-users will want to deploy will require cgroup2-only functionality, and in the areas of their APIs where cgroup v1 and cgroup v2 cannot both be made available on the same machine, then cgroup v2 will need to be used in order for the greengrass components to be usable with these other software components. "An introduction to control groups (cgroups) version 2 - Michael Kerrisk - NDC TechTown 2021" (and the accompanying deep dive talk) provides a good overview of the state of support and defaults as of late last year. In the medium term, cgroup v1 will become less and less well supported, with new software only support cgroup v2, and cgroup v1 support will become more and more awkward. |
Thanks, I understand. Just trying to understand your specific use case @tim-seoss. What error are you hitting specifically? |
Feature Description
Support Linux Control Group Version 2 API
Use Case
Greengrass is the last software component I work with, that doesn't yet have cgroup v2 support. The two APIs are mutually incompatible and since v2 support is widespread, it's now likely that persisting with the v1 API will become troublesome for users (because other userspace components which rely on the v2 API cannot be used at the same time as greengrass).
Proposed Solution
The presence of cgroup v2 controllers could be detected at runtime, and the newer API used if available.
The text was updated successfully, but these errors were encountered: