Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Ansible: Kernel installation
[csit.git]
/
resources
/
tools
/
testbed-setup
/
ansible
/
roles
/
performance_tuning
/
files
/
irqbalance
diff --git
a/resources/tools/testbed-setup/ansible/roles/performance_tuning/files/irqbalance
b/resources/tools/testbed-setup/ansible/roles/performance_tuning/files/irqbalance
index
98ba483
..
861be02
100644
(file)
--- a/
resources/tools/testbed-setup/ansible/roles/performance_tuning/files/irqbalance
+++ b/
resources/tools/testbed-setup/ansible/roles/performance_tuning/files/irqbalance
@@
-17,8
+17,7
@@
# corresponding bits set to one in this mask will not have any
# irq's assigned to them on rebalance
#
# corresponding bits set to one in this mask will not have any
# irq's assigned to them on rebalance
#
-IRQBALANCE_BANNED_CPUS=ffffffff,ffffffff,ffffffff,fffffffe
-
+IRQBALANCE_BANNED_CPUS="{{ ansible_processor_cores | irqbalance_banned_cpu_mask(ansible_processor_count, ansible_processor_threads_per_core) }}"
#
# IRQBALANCE_ARGS
# append any args here to the irqbalance daemon as documented in the man page
#
# IRQBALANCE_ARGS
# append any args here to the irqbalance daemon as documented in the man page