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

[core] Integrate process-wise cgroup setup with task execution #51107

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dentiny
Copy link
Contributor

@dentiny dentiny commented Mar 6, 2025

This PR sets up cgroup for a running task before its execution, and cleans up after execution.
It's a noop change to production, because noop cgroup setup is used as of now.

@dentiny dentiny added the go add ONLY when ready to merge, run all tests label Mar 6, 2025
@dentiny dentiny requested review from jjyao, israbbani and edoakes March 6, 2025 01:24
Signed-off-by: dentiny <[email protected]>
@dentiny dentiny force-pushed the hjiang/cgroup-in-worker branch from b455ac4 to 0165015 Compare March 6, 2025 06:33
@edoakes
Copy link
Collaborator

edoakes commented Mar 6, 2025

I'm confused -- why are we writing any code for per-task cgroups when we haven't scoped out the proposed changes yet?

@dentiny
Copy link
Contributor Author

dentiny commented Mar 6, 2025

I'm confused -- why are we writing any code for per-task cgroups when we haven't scoped out the proposed changes yet?

I've discussed with @israbbani offline on scope and implementation, and I think most of things are clear now.
Eg, the items to address and confirm doesn't change the implementation too much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go add ONLY when ready to merge, run all tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants