Disable the Irqbalance Service - UG1523

Alveo X3522 User Guide (UG1523)

Document ID
UG1523
Release Date
2024-10-18
Revision
1.5 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 evenly distributes 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 immediately overwrites 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.