Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2093267

Summary: rps_cpu affinity for sriov vf interfaces
Product: OpenShift Container Platform Reporter: browsell
Component: Performance Addon OperatorAssignee: Yanir Quinn <yquinn>
Status: CLOSED DUPLICATE QA Contact: Gowrishankar Rajaiyan <grajaiya>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.9CC: bzhai, dpenney, grajaiya, yquinn
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: The RPS cpu mask was set to the reserved CPUs taken from the performance profile for all interfaces by default. Consequence: This is not practical for sriov-vfs and similar interfaces that carry RAN payload traffic as this is not scalable. Fix: 1. Set RPS cpu mask to reserved CPUs taken from the performance profile excluding physical and veth interfaces. 2. Add a new annotation A new annotation option to the performance profile: "performance.openshift.io/enable-physical-dev-rps". When added to a performance profile,it will enable RPS mask setting with systemd for all network devices by including physical interfaces from netdev-rps rule. Usage example for enabling RPS mask for all network interfaces: Oc edit <performanceprofile> for existing profiles OR when creating a new performance profile add the following annotation: - apiVersion: performance.openshift.io/v2 kind: PerformanceProfile metadata: annotations: performance.openshift.io/enable-physical-dev-rps: "true" spec: cpu: reserved: <reserved cpus set> When set to "true" - set RPS mask to the reserved cpus set for all network interfaces. When omitted or set to false - set RPS mask to net interfaces excluding physical and veth interfaces. (default behavior) Result: - RPS mask setting defaults for net interfaces excluding physical and vetch devices. - An annotation added to included all net interfaces as described in the fix section.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-23 09:29:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 4 Yanir Quinn 2022-06-23 09:29:44 UTC

*** This bug has been marked as a duplicate of bug 2081852 ***