Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-67149

Tuned sets IRQBALANCE_BANNED_CPUS in irqbalance config in RHEL9, but IRQBALANCE_BANNED_CPULIST should be used instead

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.4.z
    • rhel-9.4
    • tuned
    • None
    • tuned-2.22.1-2.el9_4
    • No
    • Low
    • rhel-sst-cs-net-perf-services
    • ssg_core_services
    • 1
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?

      Upon reboot, the following error is seen:
      "IRQBALANCE_BANNED_CPUS is discarded, Use IRQBALANCE_BANNED_CPULIST instead"

      Partner manually updated the system to use the IRQBALANCE_BANNED_CPULIST setting for the irqbalance service this is reverted after reboots. Partner suspects tuned is setting the wrong variable in the configuration.

      IRQBALANCE_BANNED_CPUS is deprecated

      From the partner case:

      1. find . -type f | xargs grep _BANNED_CPUS
        grep: ./firmware/brcm/brcmfmac43241b4-sdio.Intel: No such file or directory
        ...
        grep: ./python3.9/site-packages/setuptools/script: No such file or directory
        grep: (dev).tmpl: No such file or directory
        grep: ./python3.9/site-packages/tuned/plugins/_pycache_/plugin_irqbalance.cpython-39.opt-1.pyc: binary file matches
        grep: ./python3.9/site-packages/tuned/plugins/_pycache_/plugin_irqbalance.cpython-39.pyc: binary file matches
        ./python3.9/site-packages/tuned/plugins/plugin_irqbalance.py: return sysconfig + "IRQBALANCE_BANNED_CPUS=%s\n" % banned_cpumask
        ./python3.9/site-packages/tuned/plugins/plugin_irqbalance.py: if not re.match(r"\s*IRQBALANCE_BANNED_CPUS=", line):
        ./tuned/functions: sed -i '/^IRQBALANCE_BANNED_CPUS=/d' /etc/sysconfig/irqbalance || return
        ./tuned/functions: echo "IRQBALANCE_BANNED_CPUS=$1" >> /etc/sysconfig/irqbalance

      What is the impact of this issue to you?

      This warning may indicate that the system may not be configured for optimal performance.

      Please provide the package NVR for which the bug is seen:

      tuned

      How reproducible is this bug?:

      Steps to reproduce

      1. edit the /etc/sysconfig/rqbalance file to add a line "IRQBALANCE_BANNED_CPULIST="
      2. remove the line IRQBALANCE_BANNED_CPUS= …
      3. save the file and reboot
      4. IRQBALANCE_BANNED_CPUS is reenabled in /etc/sysconfig/rqbalance

      Expected results

      Reboots would set the IRQBALANCE_BANNED_CPULIST in irqbalance instead of IRQBALANCE_BANNED_CPUS

      Actual results

      IRQBALANCE_BANNED_CPUS is reenabled in /etc/sysconfig/rqbalance

              pzacik@redhat.com Pavol Zacik
              pzacik@redhat.com Pavol Zacik
              Jaroslav Skarvada Jaroslav Skarvada
              Robin Hack Robin Hack
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: