Configure CPUs to ignore with `IRQBALANCE_BANNED_CPULIST` environment variable
Signed-off-by: Hentioe Cl <meow.i5.br@gmail.com>
[added PKG_RELEASE bump]
PKG_NAME:=irqbalance
PKG_VERSION:=1.9.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/Irqbalance/irqbalance.git
# The default value is 10 seconds
#option interval '10'
+ # Specify excluded cpulist
+ #option banned_cpulist '0'
+
# List of IRQ's to ignore
#list banirq '36'
#list banirq '69'
# 10 is the default
config_get interval irqbalance interval 10
+ # empty is the default
+ config_get banned_cpulist irqbalance banned_cpulist ''
+
# A list of IRQ's to ignore
banirq=""
handle_banirq_value()
config_list_foreach irqbalance banirq handle_banirq_value
procd_open_instance "irqbalance"
+ 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 respawn
procd_close_instance