Skip to content

Commit

Permalink
OCPBUGS-25860: Disable managed interrupts for smartpqi
Browse files Browse the repository at this point in the history
This driver does not obey the isolcpus=managed_irq hint and
is causing interference.

This kernel argument makes sure the interrupt affinity
can be managed by userspace services.

The alternative approach using /etc/modprobe.d/smartpqi.conf
with option smartpqi ... does not work, because the driver
is loaded early at the initrd stage and we would have to
rebuild the RHCOS initrd. That is much heavier than a simple
kernel arg.
  • Loading branch information
MarSik committed Mar 4, 2024
1 parent 28bebe3 commit d9c7b71
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions assets/performanceprofile/tuned/openshift-node-performance
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,18 @@ cmdline_pstate=+intel_pstate=active
cmdline_pstate=+intel_pstate=disable
{{end}}

# In case a smartpqi device is present, make sure the interrupt affinity
# can be managed by userspace services. This driver does not obey
# the isolcpus=managed_irq hint and is causing interference.
# See: https://issues.redhat.com/browse/OCPBUGS-25860
<<<<<<< HEAD
[bootloader_smartpqi]
devices_udev_regex==DRIVER=smartpqi
cmdline_smartpqi=+smartpqi.disable_managed_interrupts=1
=======
cmdline_smartpqi=+${f:regex_search_ternary:${f:exec:/usr/sbin/lsmod}:\bsmartpqi\b:smartpqi.disable_managed_interrupts=1:}
>>>>>>> 6616ca50 (f tuned)

[rtentsk]

{{ if .HardwareTuning }}
Expand Down

0 comments on commit d9c7b71

Please sign in to comment.