-
Notifications
You must be signed in to change notification settings - Fork 351
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
[Tracking Issue] Support for cgroups v1 #9
Comments
I would like to work on this issue, but as I am a beginner i didn't understood the issue so can you please guide me |
Hi @utam0k, thanks for your work so far! I'm looking for some tasks to hone my Rust skills and I guess this issue looks like a perfect candidate, I'm interested in the assignment. I'll go through the cgroups to check the details, but I guess it would be beneficial to all if we could somehow have a in depth implementation discussion to better align with your vision of the project. You can DM me on Twitter: |
@sensaiankit How about this issue(utam0k#8), which is more recommended for beginners? |
@0xdco Thanks! I'd like to assign you to one of cgroup's controller. |
Okay cool looking forward for that issue. I still would like to get guidance from you, would you mind connecting somewhere like either twitter or discord |
@sensaiankit Of course! If you want my guidance you can contact me on Twitter DM. I will do my best to accommodate you as my time permits. Sorry if it takes me a while to reply. |
I saw your twitter account but i cant really do a dm will you please open it ? |
Sorry... I opened it. |
You can assign me to whichever controller you think is a good easy / introductory point to the project as I'm still reading the code and the documentation(s) to get started. I will be able to start tackling it during the weekend. Depending on how successful I am in my endeavor, I might take over other available controllers to write as well. I have no plans to modify or refactor the architecture but let's see after the implementation if there are opportunities to do some cleanups. |
@0xdco It is a very good idea!
|
Can I be assigned the CPU and/or Memory, any tips you may already know of would be awesome but should be able to handle either way! |
@reynn |
I'd be happy to take the memory cgroup controller. |
this is another great resource for everyone: https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v1/index.html Basically the cgroup controller is configured by interaction with a virtual filesystem. You're basically just writing specific things to certain files in a certain directory. The implementation for these should be relatively easy and straightforward for each of these once you know what needs to go where. Happy hacking! |
@tsturzl
This reference is so cool. I added it in this issue description.
I think so too. That's why I'm making this issue a
|
I would like to work on the hugepage cgroup controller. |
@Furisto |
I can go ahead an take the network controller on. The memory controller PR is just waiting to be merged after I integrate with the changes @Furisto made. I can probably be finished up with the network controller by Monday. |
@tsturzl |
I'm happy to take another controller if there is still any available :) |
I have started with the blkio controller. Can you assign me @utam0k ? |
@utam0k This looks good. I'm not seeing any missing subsystems that I'm aware of. |
@utam0k Fine from my site as well |
@utam0k I'd like to work on perf_event! |
@thinking-tower Sure, I assigned you it. |
@thinking-tower There are no integration tests in this controller. So, I would like to add unit tests as much as possible. I'm looking forward to your PR :) |
I would like to have a try on freezer. |
@duduainankai of course. I assigned you it. |
I would like to work on cpuacct. |
I overlooked this PR. |
@utam0k |
Hey @yjuba, you can have cpuacct if you want it. @PeterYordanov unfortunately doesn't have the time to complete it anymore. |
@Furisto |
@thinking-tower Do you have any problem? Can I help you? |
@thinking-tower I'm sorry, but since there seems to be no response, I'm going to remove the assignment. |
@fbrv Are you interested in implementing |
It should be pretty easy to implement, just writing the PID in the |
@utam0k no worries, thanks for the opportunity! |
This issue is for tracking the implementation of cgroups.
Since devices of cgoups has already been implemented, you can implement it while referring to it.
If you are interested, you can comment on this issue and I will assign it to you.
The integration test is this: https://github.com/opencontainers/runtime-tools/tree/master/validation/linux_cgroups_network
The integration test is this: https://github.com/opencontainers/runtime-tools/tree/master/validation/linux_cgroups_cpus
Goal
Each of them will be targeted to pass integration tests. If possible, it is good to have unit tests as well.
It would be helpful to have a look at the GitHub Actions file to see how to run the integration tests.
Reference
The text was updated successfully, but these errors were encountered: