Skip to content

Commit

Permalink
irqbalance Update init script to remove duplicate spaces
Browse files Browse the repository at this point in the history
I have some strange issues with irqbalance sometimes overwriting smp_affinity values for banned/ignored IRQs. The issue is reproduceable and is mitigated when I change theway how the irqbalance command line is built. The only difference between the resulting command is that there is only one space between the -t parameter and the first -i parameter value.

Also see Irqbalance/irqbalance#297

Signed-off-by: Carsten Schuette <schuettecarsten@googlemail.com>
  • Loading branch information
schuettecarsten committed Feb 28, 2024
1 parent 94bce57 commit 40cc793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/irqbalance/files/irqbalance.init
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ start_service() {
if [ -n "$banned_cpulist" ]; then
procd_set_param env IRQBALANCE_BANNED_CPULIST="$banned_cpulist"
fi
procd_set_param command /usr/sbin/irqbalance -f -c "$deepestcache" -t "$interval" "$banirq"
procd_set_param command /usr/sbin/irqbalance -f -c $deepestcache -t $interval $banirq
procd_set_param respawn
procd_close_instance
}

0 comments on commit 40cc793

Please sign in to comment.