CNF-23471: Dedicate cpus for dpdk vswitch #1546
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 253 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.331
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1546"
general
weight: 0.35
jmencak
Add
spec.cpu.ovsDpdkfield to the PerformanceProfile v2 API, enabling users to designate CPUs for exclusive use by OVS-DPDK.The OVS-DPDK CPUs receives full kernel-level scheduling isolation, are excluded from kubelet scheduling and IRQ balancing, and remain protected from interference across pod lifecycle events.
The controller validates that the cluster meets the prerequisites for the isolation and reports a Degraded status if they are not satisfied.
In addition
"performance.openshift.io/cpu-load-balancing-ovs-dpdk"annotation was added to disable kernel load balancing on theovsDpdkCPUs. This PR makes it optional since an extra step is needed from the OVS process side to make this feature fully functional, so we don't want to decouple this extra isolation capability from the general set of parameters we configure for the ovs dpdk set.Includes unit and e2e test coverage.
This work inspired by: https://github.com/mcoquelin/cluster-node-tuning-operator/commits/release-4.20-ovs-dpdk/
Signed-off-by: Talor Itzhak <titzhak@redhat.com>
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
Added
spec.cpu.ovsDpdkto reserve a fully isolated CPU set for OVS-DPDK, with prerequisite validation during reconciliation.Added an annotation to disable OVS-DPDK CPU load balancing.
Generated OVS-DPDK CPU pinning (OVS slice/cgroup +
ovs-dpdk-cpus-configure) and updated kubelet reserved CPUs and tuned CPU isolation.Bug Fixes
Improved IRQ-balance banned CPU and
default_smp_affinitymasking so OVS-DPDK CPUs are reliably excluded, including consistent restore behavior.Documentation
Updated performance profile documentation for the new CPU fields and related options.
Tests
Expanded unit, Ginkgo, and E2E coverage for OVS-DPDK validation, degradation reporting, and CPU/affinity behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->