From 25f3d75119a8205ee2109f287ac18173a1af6548 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 17 Mar 2020 18:04:23 +0000 Subject: [PATCH] Reset irqbalance config to default. hintpolicy=ignore now default --- .../hardware/templates/default/irqbalance.erb | 33 ++++++++++++++----- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/cookbooks/hardware/templates/default/irqbalance.erb b/cookbooks/hardware/templates/default/irqbalance.erb index 4a10bd20d..bd87e3dac 100644 --- a/cookbooks/hardware/templates/default/irqbalance.erb +++ b/cookbooks/hardware/templates/default/irqbalance.erb @@ -1,11 +1,26 @@ -# DO NOT EDIT - This file is being maintained by Chef -# Configuration for the irqbalance daemon +# irqbalance is a daemon process that distributes interrupts across +# CPUS on SMP systems. The default is to rebalance once every 10 +# seconds. This is the environment file that is specified to systemd via the +# EnvironmentFile key in the service unit file (or via whatever method the init +# system you're using has. +# +# ONESHOT=yes +# after starting, wait for a minute, then look at the interrupt +# load and balance it once; after balancing exit and do not change +# it again. +#IRQBALANCE_ONESHOT= -# Should irqbalance be enabled? -ENABLED="1" -# Balance the IRQs only once? -ONESHOT="0" +# +# IRQBALANCE_BANNED_CPUS +# 64 bit bitmask which allows you to indicate which cpu's should +# be skipped when reblancing irqs. Cpu numbers which have their +# corresponding bits set to one in this mask will not have any +# irq's assigned to them on rebalance +# +#IRQBALANCE_BANNED_CPUS= -# irqbalance maintainer recommends ignore hint policy -# http://sourceforge.net/p/e1000/bugs/394/?page=1 -DOPTIONS="--hintpolicy=ignore" +# +# IRQBALANCE_ARGS +# append any args here to the irqbalance daemon as documented in the man page +# +#IRQBALANCE_ARGS= -- 2.43.2