aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/playbooks
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2016-11-16 21:24:28 +0100
committerPeter Mikus <pmikus@cisco.com>2016-11-16 20:27:36 +0000
commit3e62e29b594f36e80f397a02bc4eaa88ff71ab0d (patch)
treee0800551f15b48e8d1bf98e86ed3cd5c36ce743d /resources/tools/testbed-setup/playbooks
parentb0eaa32dce87ccb8749b227066b26ae9bc66cace (diff)
Add IRQ pinning to ansible host-setup
Change-Id: I4eb46763213cc9e8723a6ff1cf380a5498aae7d6 Signed-off-by: pmikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/testbed-setup/playbooks')
-rw-r--r--resources/tools/testbed-setup/playbooks/01-host-setup.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/playbooks/01-host-setup.yaml b/resources/tools/testbed-setup/playbooks/01-host-setup.yaml
index 7158ce2428..3486df5a85 100644
--- a/resources/tools/testbed-setup/playbooks/01-host-setup.yaml
+++ b/resources/tools/testbed-setup/playbooks/01-host-setup.yaml
@@ -61,6 +61,8 @@
copy: src=files/cpufrequtils dest=/etc/default/cpufrequtils owner=root group=root mode=0644
- name: Disable IRQ load balancing
copy: src=files/irqbalance dest=/etc/default/irqbalance owner=root group=root mode=0644
+ - name: Pinning of IRQs
+ command: for l in `ls /proc/irq`; do echo 1 | sudo tee /proc/irq/$l/smp_affinity; done
- name: Disable ondemand
service: name=ondemand enabled=no
- name: Install cgroup-support