Skip to content

Conversation

@israbbani
Copy link
Contributor

@israbbani israbbani commented Sep 5, 2025

This PR stacks on #56260.

For more details about the resource isolation project see #54703.

This PR removes previous code for integrating resource isolation with the raylet and core worker. It's a prerequisite for integrating the CgroupManager with the raylet.

This PR is cleanup only and there is no behavior change.

@israbbani israbbani added core Issues that should be addressed in Ray Core go add ONLY when ready to merge, run all tests labels Sep 5, 2025
@israbbani israbbani marked this pull request as ready for review September 6, 2025 18:00
@israbbani israbbani requested a review from a team as a code owner September 6, 2025 18:00
@edoakes edoakes merged commit 4a581d7 into irabbani/cgroups-6 Sep 9, 2025
4 checks passed
@edoakes edoakes deleted the irabbani/cgroups-7 branch September 9, 2025 13:54
ZacAttack pushed a commit that referenced this pull request Sep 11, 2025
This PR stacks on #56285.

For more details about the resource isolation project see
#54703.

This PR integrates the CgroupManager with the raylet startup in
`main.cc`. It includes
- A cross-platform cgroup_manager bazel target that selectively compiles
dependencies for linux/non-linux platforms. I prefer this design because
it keeps targets small and compile times low and removes unnecessary
ifdefs from the code.
- Adds the following command-line args to the raylet binary
   - enable_resource_isolation
   - cgroup_path
   - system_reserved_cpu_weight
   - system_reserved_memory_bytes

I've left comments on the PR to highlight parts that could use some
feedback/discussion.

---------

Signed-off-by: irabbani <[email protected]>
Signed-off-by: Ibrahim Rabbani <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Issues that should be addressed in Ray Core go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants