Skip to content

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

@Sushisource

Description

@Sushisource

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions