Skip to content

Conversation

@tiraboschi
Copy link
Contributor

@tiraboschi tiraboschi commented Aug 29, 2025

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).

@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
@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.

@tiraboschi tiraboschi changed the title WIP: Introduce a combined metric for CPU and memory Introduce a combined metric for CPU and memory Nov 12, 2025
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 12, 2025
@ingvagabund
Copy link
Member

/approve
/lgtm

@ingvagabund
Copy link
Member

/verified by tiraboschi

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Nov 12, 2025
@openshift-ci-robot
Copy link

@ingvagabund: This PR has been marked as verified by tiraboschi.

In response to this:

/verified by tiraboschi

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 12, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 12, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ingvagabund, tiraboschi

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

The pull request process is described 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 12, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit 6a04a91 into openshift:main Nov 12, 2025
8 checks passed
@tiraboschi tiraboschi deleted the memory_metrics branch November 12, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants