Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
The current release of irqbalance does not allow us to manually specify IRQ affinity
using tuna for specific NIC/module. The IRQs are firstly banned using the -i parameter
followed by the tuna command for manual affinity changes. After a few seconds, the IRQ
affinity is changed by a background task (probably irqbalance). This behavior
causes a performance drop on an AMD Epyc system with 200 Gb NIC.
We also tried the -m parameter to ban all IRQs of a specific module, but the result is the
same as -i parameter.
Version-Release number of selected component (if applicable):
irqbalance-1.7.0-5.el9.x86_64
How reproducible:
always
Steps to Reproduce:
1. Install RHEL-9.0.0-20210420.2
2. Install irqbalance and tuna
3. systemctl enable irqbalance
4. reboot
5. for i in $(cat /proc/interrupts | grep mlx5 | cut -f1 -d:); do irqbalance -i $i; done
6. tuna --irqs mlx5* --cpus 0-47 --spread
7. watch -n 0.2 tuna --irqs mlx5* -Q
Actual results:
Specific IRQs are distributed by irqbalance.
Expected results:
Specific IRQs are not distributed by irqbalance after IRQ affinity modification by tuna.
Additional info:
Sorry we misunderstood irqbalance manual page. Irqbalance command line options have to be passed via systemd at the boot time.
Correct way to do this is via /usr/lib/irqbalance/defaults.env which is processed by systemd at the boot time.
IGNORED="mlx5_core"
ARGS=""
for i in $(cat /proc/interrupts | grep $IGNORED | cut -f1 -d:); do ARGS="$ARGS -i $i"; done
echo IRQBALANCE_ARGS=\"$ARGS\" > /usr/lib/irqbalance/defaults.env
alternatively
IGNORED="mlx5"
echo IRQBALANCE_ARGS=\" -m $IGNORED\" > /usr/lib/irqbalance/defaults.env
closing as NOTABUG.