Skip to content

Conversation

@shajmakh
Copy link
Contributor

@shajmakh shajmakh commented Nov 7, 2025

For High-performance configuration, cri-o started supporting exec-cpu-affinity feature and when configured to first it provides the ability for exec process to be pinned to the first CPU from the shared-CPUs IF set or to the first one from the islolated set.
(see cri-o/cri-o@4dd7fb9)

In performance profile, we want to enable this high-performance feature by default, and disbale it (legacy) it provides an annotation option.

The annotation is there just as a backup in case of bugs getting reported by the consequences of this feature enablement, and should be removed in 2 releases.

@openshift-ci openshift-ci bot requested review from MarSik and Tal-or November 7, 2025 14:07
@shajmakh
Copy link
Contributor Author

shajmakh commented Nov 7, 2025

/hold
need to add e2e test

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 7, 2025
@shajmakh
Copy link
Contributor Author

/cc @bartwensley

@openshift-ci openshift-ci bot requested a review from bartwensley November 11, 2025 09:33
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 11, 2025
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 11, 2025
@shajmakh
Copy link
Contributor Author

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 12, 2025
Copy link
Contributor

@bartwensley bartwensley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me (once the tests are passing).

@shajmakh shajmakh force-pushed the exec-affinity-pp branch 4 times, most recently from 43944ca to 57c2a0e Compare November 13, 2025 13:08
@shajmakh
Copy link
Contributor Author

@bartwensley @Tal-or thanks for the review comments, I addressed them and extended e2e test coverage and filed a PR here for more review flexibility:
#1432

@shajmakh
Copy link
Contributor Author

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 14, 2025
@shajmakh
Copy link
Contributor Author

shajmakh commented Nov 14, 2025

failed to retrieve cgroup config for pod. pod=\"performance-addon-operators-testing/test-r4llw\", container=\"test\"; failed to run command [/bin/cat /sys/fs/cgroup/cpuset.cpus.partition]: output \"\"; error \"sched_setaffinity: Invalid argument\\n\"; command terminated with exit code 1",

filed an ocp bug on that: OCPNODE-3891

@shajmakh
Copy link
Contributor Author

/retest

@shajmakh shajmakh changed the title perfprof: enable exec-cpu-affinity by default perfprof: enable exec-cpu-affinity by default (annotation) Nov 14, 2025
@yanirq
Copy link
Contributor

yanirq commented Jan 6, 2026

/retest

@shajmakh shajmakh force-pushed the exec-affinity-pp branch 2 times, most recently from ae0f2f5 to eb07dcf Compare January 16, 2026 14:50
@shajmakh
Copy link
Contributor Author

/test e2e-upgrade

Copy link
Contributor

@MarSik MarSik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small naming nit for your consideration. Apart from that lgtm.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 26, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 26, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: MarSik, shajmakh

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

The pull request process is described here

Details 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 Jan 26, 2026
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 27, 2026
For High-performance configuration, cri-o started supporting exec-cpu-affinity
feature and when configured to `first` it provides the ability for exec
process to be pinned to the first CPU from the shared-CPUs IF set
or to the first one from the islolated set.
(see cri-o/cri-o@4dd7fb9)

In performance profile, we want to enable this high-performance feature
by default, and disable it (legacy) it provides an annotation option.

The annotation is there just as a backup in case of bugs getting
reported by the consequences of this feature enablement, and should be
removed in 2 releases.

Run `./hack/render-sync.sh` to update the (no-cluster) e2e tests
expected outputs.

Signed-off-by: Shereen Haj <shajmakh@redhat.com>
u/s CI stops the run after 2 failures of the same test, which prevents a
full run of the tests. The fail-fast option is better be removed in test
runs that do not involve node reboots, that way the CI would reflect a
full run of the suite which would help us save reruns to see the next
failing test. In other words, removing it will reflect all of the
failing tests in one run.

remove this flag initially for suites of PP that are known to not have
reboots.

Signed-off-by: Shereen Haj <shajmakh@redhat.com>
The annotation tells crun to manage container's cgroup using
 the systemd default subgroup behavior. This is meant to reduce
the nested cgroups so the container cgroup is placed on the pod/system
clice (the parent) rather than creating a cgroup per container.

Signed-off-by: Shereen Haj <shajmakh@redhat.com>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 27, 2026

@shajmakh: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-gcp-pao-updating-profile 16d02b2 link true /test e2e-gcp-pao-updating-profile

Full PR test history. Your PR dashboard.

Details

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.

@bartwensley
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 27, 2026
@shajmakh
Copy link
Contributor Author

/unhold
e2e tests passed in #1432
/retest

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 27, 2026
@shajmakh shajmakh changed the title perfprof: enable exec-cpu-affinity by default (annotation) CNF-18941: perfprof: enable exec-cpu-affinity by default (annotation) Jan 27, 2026
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 27, 2026
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jan 27, 2026

@shajmakh: This pull request references CNF-18941 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the epic to target the "4.22.0" version, but no target version was set.

Details

In response to this:

For High-performance configuration, cri-o started supporting exec-cpu-affinity feature and when configured to first it provides the ability for exec process to be pinned to the first CPU from the shared-CPUs IF set or to the first one from the islolated set.
(see cri-o/cri-o@4dd7fb9)

In performance profile, we want to enable this high-performance feature by default, and disbale it (legacy) it provides an annotation option.

The annotation is there just as a backup in case of bugs getting reported by the consequences of this feature enablement, and should be removed in 2 releases.

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.

@shajmakh
Copy link
Contributor Author

/verified later by @SargunNarula

@openshift-ci-robot
Copy link
Contributor

@shajmakh: Only users can be targets for the /verified later command.

Details

In response to this:

/verified later by @SargunNarula

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.

@shajmakh
Copy link
Contributor Author

/verified later @SargunNarula

@openshift-ci-robot openshift-ci-robot added verified-later verified Signifies that the PR passed pre-merge verification criteria labels Jan 27, 2026
@openshift-ci-robot
Copy link
Contributor

@shajmakh: This PR has been marked to be verified later by @SargunNarula.

Details

In response to this:

/verified later @SargunNarula

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.

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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria verified-later

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants