Enable IRQ Balance (irqbalance)
An XCCDF Rule
Description
The irqbalance
service optimizes the balance between
power savings and performance through distribution of hardware interrupts across
multiple processors.
The irqbalance
service can be enabled with the following command:
$ sudo systemctl enable irqbalance.service
Rationale
In an environment with multiple processors (now common), the irqbalance service provides potential speedups for handling interrupt requests.
- ID
- xccdf_org.ssgproject.content_rule_service_irqbalance_enabled
- Severity
- Low
- References
- Updated
Remediation - OS Build Blueprint
[customizations.services]
enabled = ["irqbalance"]
Remediation - Puppet
include enable_irqbalance
class enable_irqbalance {
service {'irqbalance':
enable => true,
ensure => 'running',
Remediation - Shell Script
# Remediation is applicable only in certain platforms
if [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ]; then
SYSTEMCTL_EXEC='/usr/bin/systemctl'
"$SYSTEMCTL_EXEC" unmask 'irqbalance.service'
"$SYSTEMCTL_EXEC" start 'irqbalance.service'
Remediation - Ansible
- name: Enable service irqbalance
block:
- name: Gather the package facts
package_facts:
manager: auto