diff options
author | 2019-01-28 20:57:00 +0000 | |
---|---|---|
committer | 2019-01-30 11:08:45 +0000 | |
commit | 956989a5ad8966c06cf3300c2e5edf3f46466edb (patch) | |
tree | e309aba879451566ed03f1530e6b0bd01f95ff4e /resources/tools/testbed-setup/ansible/roles/vpp_device/tasks | |
parent | ec88d060eee63d263e706fde464bc2c1a23f196a (diff) |
FIX: Cleanup mechanics for vpp_device
Change-Id: Ice975127f8ecdd4cead418151cf37d61dfb218a0
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/vpp_device/tasks')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml index d1ede0cfbb..d07f328424 100644 --- a/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml @@ -19,3 +19,12 @@ mode: '644' notify: ['Enable csit-initialize-vfs.service'] tags: copy-vf-service + +- name: Set isolcpus and pstate parameter + lineinfile: + path: '/etc/default/grub' + state: 'present' + regexp: '^GRUB_CMDLINE_LINUX=' + line: 'GRUB_CMDLINE_LINUX="hugepagesz=2M hugepages=65536"' + notify: ['Update GRUB'] + |