sdk-core icon indicating copy to clipboard operation
sdk-core copied to clipboard

[Feature Request] Support CPU Cgroup Limits in Resource-based tuner / Confirm memory functionality

Open Sushisource opened this issue 8 months ago • 0 comments

Is your feature request related to a problem? Please describe.

A few users have expressed a desire to be able to target CPU as a % of CPU limits/quota in containerized environments.

Describe the solution you'd like

Will need to use cgroup functionality to determine CPU usage as a fraction of the container's used CPU vs it's limit/quota.

Additional context

It also appears that the memory usage calculation when in a cgroup environment can be wrong. It seems like maybe the whole-host usage is getting compared against per-container limits and ending up with improperly high usage percentages. If that's the case, fix.

Sushisource avatar Apr 17 '25 16:04 Sushisource