- Add kernel parameter to isolate cpus into ansible SUT host section
Change-Id: I856f6eca6464d4dd513c0dd2d44a153493c35c99
Signed-off-by: pmikus <pmikus@cisco.com>
- name: Install dkms
apt: name=dkms state=present
- name: isolcpus and pstate parameter
- 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
- name: update grub
command: update-grub
- name: Install pkg-config