Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-38380

OCP 4.14 annotation performance.openshift.io/enable-physical-dev-rps: "true" not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • 4.14.z
    • Node Tuning Operator
    • None
    • Informational
    • None
    • False
    • Hide

      None

      Show
      None

      I'm not even sure if this is a supported feature but I stumbled across the following while browsing the repository and testing something out of curiosity:
      https://github.com/openshift/cluster-node-tuning-operator/blob/release-4.14/docs/performanceprofile/configuration_hotfixes.md?plain=1#L11

      Annotation on my SNO node, annotation `performance.openshift.io/enable-physical-dev-rps: "true"` gets rid of the `update-rps*.service`, yet my physical interfaces all have an all 0s rps_cpus mask:

      With PerformanceProfile with workloadHints "false" and annotation performance.openshift.io/enable-rps: "true" and
      annotation performance.openshift.io/enable-physical-dev-rps: "true"
      
      ```
      (...)
        metadata:
          annotations:
            performance.openshift.io/enable-rps: "true"
            performance.openshift.io/enable-physical-dev-rps: "true"
      (...)
        spec:
          workloadHints:
            realTime: false
      (...)
      ```
      
      ```
      [root@sno10 ~]#  sysctl -a | grep rps_default
      net.core.rps_default_mask = 0000,00000000,00000000,000fffff
      [root@sno10 ~]#   cat /sys/devices/virtual/net/6610e46d1653f34//queues/rx-0/rps_cpus 
      0000,00000000,00000000,000fffff
      [root@sno10 ~]# cat /etc/udev/rules.d/99-netdev-physical-rps.rules
      cat: /etc/udev/rules.d/99-netdev-physical-rps.rules: No such file or directory
      [root@sno10 ~]# cat /etc/udev/rules.d/99-netdev-physical-rps.rules
      cat: /etc/udev/rules.d/99-netdev-physical-rps.rules: No such file or directory
      ```
      
      ```
      [root@sno10 ~]# cat /sys/devices/pci0000:30/0000:30:04.0/0000:31:00.0/net/eno12399/queues/rx-0/rps_cpus
      0000,00000000,00000000,00000000
      [root@sno10 ~]# 
      ```
      
      That looks like a bug?
      
      ===================================================================================
      
      With PerformanceProfile with workloadHints "true" and annotation and
      annotation performance.openshift.io/enable-physical-dev-rps: "true"
      
      ```
      (...)
        metadata:
          annotations:
            performance.openshift.io/enable-physical-dev-rps: "true"
      (...)
        spec:
          workloadHints:
            realTime: true
      (...)
      ```
      
      ```
      [root@sno10 ~]# cat /sys/devices/pci0000:30/0000:30:04.0/0000:31:00.0/net/eno12399/queues/rx-0/rps_cpus
      0000,00000000,00000000,00000000
      
      [root@sno10 ~]# sysctl -a | grep rps_default
      net.core.rps_default_mask = 0000,00000000,00000000,000fffff
      
      [root@sno10 ~]# cat /etc/udev/rules.d/99-netdev-physical-rps.rules
      cat: /etc/udev/rules.d/99-netdev-physical-rps.rules: No such file or directory
      
      [root@sno10 ~]# systemctl cat update-rps@.service
      No files found for update-rps@.service.
      
      [root@sno10 ~]#  cat /sys/devices/virtual/net/5a5e0c96a42b1d7/queues/rx-0/rps_cpus 
      0000,00000000,00000000,000fffff
      ```
      
      That looks like a bug?
      

      Feel free to close this out if this isn't a supported feature

              yquinn@redhat.com Yanir Quinn
              akaris@redhat.com Andreas Karis
              Mallapadi Niranjan Mallapadi Niranjan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: