Skip to content

Conversation

@tiraboschi
Copy link
Contributor

Introduce a novel metric combining:

  • CPU utilization
  • CPU PSI pressure
  • Memory utilization
  • Memory PSI pressure

The different dimensions are combined using
a root mean square of positive deviations (WRMSPD).

WRMSPD works well because:

  • It naturally combines multiple dimensions into one metric.
  • It ignores “being under the average” (no penalty for low usage).
  • It penalizes large overshoots disproportionately (quadratic effect).
  • With weights, we can prioritize critical resources (e.g. PSI pressure over utilization)

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 29, 2025
@tiraboschi tiraboschi force-pushed the memory_metrics branch 2 times, most recently from 10f9abc to 47ea31d Compare October 20, 2025 14:47
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 20, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: tiraboschi
Once this PR has been reviewed and has the lgtm label, please assign ingvagabund for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tiraboschi tiraboschi force-pushed the memory_metrics branch 3 times, most recently from ba29917 to a7dd4ad Compare November 11, 2025 16:16
Introduce a novel metric combining:
- CPU utilization
- CPU PSI pressure
- Memory utilization
- Memory PSI pressure

The different dimensions are combined computing
the multidimensional euclidean distance from the ideal point.
Only the positive contributions are taken into account
to avoid penalizing underutilized nodes.

A linear multiplier is applied to
make it consistent with existing thresholds.

The proposed  works well because:
- It naturally combines multiple dimensions into one metric.
- It ignores “being under the average” (no penalty for low usage).

Signed-off-by: Simone Tiraboschi <[email protected]>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 11, 2025

@tiraboschi: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant