-
Notifications
You must be signed in to change notification settings - Fork 357
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
Support for cgroups v2 #32
Comments
Sure, would be happy to help. How do you want to proceed @utam0k ? I thought about getting through the references and then attempting a spike of the cgroup v2 manager. |
@Furisto
I'd love to hear other people's opinions as well as mine, so please let me know what you think. |
Progress can be seen here: https://github.com/Furisto/youki/tree/cgroupv2. I am currently fleshing out the cgroups v2 manager and 1-2 subsystems. |
@Furisto |
@utam0k |
@Furisto I assigned you. I look forward to your PR! |
@Furisto Wow! I am amazed at how fast you work. |
@utam0k
then the process tree looks like this:
The cgroup manager gets pid 13530, not 13531. We also seem to call apply too late during create, because 13538, 13539 and 13531 end up in the containerd.slice not in the cgroup created by youki. That must mean that when these processes are forked their parent is not yet in the correct cgroup. |
@Furisto The flow in this image is old, and some of it may be wrong, but it's about right. |
@utam0k Yes, you can! |
I created #78. |
Special thanks to @Furisto |
I am looking into supporting cgroups v2.
However, I'm not an expert, so I'm looking for what I need, useful documentation, design suggestions, etc.
Also, if anyone would like to challenge me, I welcome you to challenge me with me.
References
The text was updated successfully, but these errors were encountered: