Bug 2093267 - rps_cpu affinity for sriov vf interfaces
Summary: rps_cpu affinity for sriov vf interfaces
Keywords:
Status: CLOSED DUPLICATE of bug 2081852
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Performance Addon Operator
Version: 4.9
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 4.11.0
Assignee: Yanir Quinn
QA Contact: Gowrishankar Rajaiyan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-03 11:57 UTC by browsell
Modified: 2022-07-26 08:49 UTC (History)
4 users (show)

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.
Clone Of:
Environment:
Last Closed: 2022-06-23 09:29:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-node-tuning-operator pull 377 0 None open Bug 2093267: Exclude physical interfaces from netdev-rps rule 2022-06-17 13:00:16 UTC
Github openshift cluster-node-tuning-operator pull 378 0 None open Bug 2093267: New annotation for enabling RPS on all devices 2022-06-22 10:12:41 UTC

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

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


Note You need to log in before you can comment on or make changes to this bug.