ray icon indicating copy to clipboard operation
ray copied to clipboard

[core] Add metrics for Task RSS HWM.

Open rynewang opened this issue 1 year ago • 0 comments

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 avatar Oct 16 '24 19:10 rynewang