What is Irqbalance?
In Ubuntu and many other Linux distributions, irqbalance is a background daemon designed to distribute hardware interrupts across all available CPU cores. On large, multi-socket enterprise servers processing massive amounts of network traffic, this load-balancing prevents a single CPU core from becoming a bottleneck.
However, on a standard desktop PC, laptop, or gaming rig, irqbalance is generally considered unnecessary and can actually decrease performance. Constantly shuffling interrupts between CPU cores ruins CPU cache locality, leading to micro-stutters in games and higher latency in real-time audio processing. For optimal desktop performance, it is often better to disable this daemon and let the Linux kernel handle interrupt routing naturally.
How to Disable Irqbalance in Ubuntu
You can permanently stop the irqbalance daemon using systemctl.
- Open your Ubuntu Terminal (shortcut:
Ctrl + Alt + T). - First, check if the service is currently running:
systemctl status irqbalance
- If it says “active (running)”, you need to stop it for the current session:
sudo systemctl stop irqbalance
- Next, disable it so it does not start up automatically the next time you boot your computer:
sudo systemctl disable irqbalance
- (Optional but Recommended): If you are building a strict real-time audio workstation or a dedicated gaming machine, you can completely uninstall the package to ensure it never returns during a system upgrade:
sudo apt-get purge irqbalance
Once disabled, your hardware interrupts (like mouse movements, audio processing, and network packets) will typically be handled by CPU Core 0, preserving the L3 cache for your demanding applications running on the other cores.