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] Add metrics for Task RSS HWM. #48052

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rynewang
Copy link
Contributor

@rynewang rynewang commented Oct 16, 2024

Linux exposes a process's resident memory High Watermark in /proc/self/status. We can use this to track a Ray Task's memory usage as a metrics HISTOGRAM.

How it works: On linux, on task execution, reset the HWM. on task finish, record the HWM to metrics.

@rynewang rynewang requested a review from a team as a code owner October 16, 2024 19:59
Signed-off-by: Ruiyang Wang <[email protected]>
Signed-off-by: Ruiyang Wang <[email protected]>
@jjyao jjyao added the go add ONLY when ready to merge, run all tests label Oct 17, 2024
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.

2 participants