Disable the Irqbalance Service

Alveo X3522 User Guide (UG1523)

Document ID
UG1523
Release Date
2023-08-25
Revision
1.4 English

The irqbalance service, which runs by default in most Linux distributions, is a service that automatically changes interrupt affinities based on CPU workload.

The X3522 driver will evenly distribute interrupts across the available host CPUs. To use the X3522 driver default affinities (recommended), you must ensure the irqbalance service is stopped before you load the X3522 driver, otherwise it will immediately overwrite the affinity configuration values set by the X3522 driver.

  • To see whether irqbalance is currently running, run:
    /sbin/service irqbalance status
  • To stop irqbalance, run:
    /sbin/service irqbalance stop
  • To disable irqbalance permanently, run:
    /sbin/chkconfig --level 12345 irqbalance off

Once the irqbalance service has been stopped, the interrupt affinities can be configured manually.