aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2016-10-04 12:10:48 +0100
committerPeter Mikus <pmikus@cisco.com>2016-10-05 04:10:44 +0000
commitdb5622a08830a8f6cd2a3955f7cced99e1705ec5 (patch)
tree172134b5de025e870306d6f447866d1ff6ed008c
parent149c67b82f9af5144431f4d5b781ed345ca09fb8 (diff)
CSIT-428: Add kernel parameters to ansible-host
- Add kernel parameter to isolate cpus into ansible SUT host section Change-Id: I856f6eca6464d4dd513c0dd2d44a153493c35c99 Signed-off-by: pmikus <pmikus@cisco.com>
-rw-r--r--resources/tools/testbed-setup/playbooks/01-host-setup.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/tools/testbed-setup/playbooks/01-host-setup.yaml b/resources/tools/testbed-setup/playbooks/01-host-setup.yaml
index de32beb361..4640260a2d 100644
--- a/resources/tools/testbed-setup/playbooks/01-host-setup.yaml
+++ b/resources/tools/testbed-setup/playbooks/01-host-setup.yaml
@@ -82,7 +82,7 @@
- name: Install dkms
apt: name=dkms state=present
- name: isolcpus and pstate parameter
- lineinfile: dest=/etc/default/grub regexp=^GRUB_CMDLINE_LINUX= line=GRUB_CMDLINE_LINUX="\"isolcpus={{ isolcpus }} intel_pstate=disable\""
+ lineinfile: dest=/etc/default/grub regexp=^GRUB_CMDLINE_LINUX= line=GRUB_CMDLINE_LINUX="\"isolcpus={{ isolcpus }} nohz_full={{ nohz }} rcu_nocbs={{ rcu }} intel_pstate=disable\""
- name: update grub
command: update-grub
- name: Install pkg-config