aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/tg_sut/files/90-csit
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-02-25 16:03:21 +0000
committerPeter Mikus <pmikus@cisco.com>2019-02-26 08:27:54 +0000
commitd978e8c6d58a8c37a3ff80a7a52e35b6574be553 (patch)
treef10574fd4e1dd5080c1655d9bc9f92db4daef6b2 /resources/tools/testbed-setup/ansible/roles/tg_sut/files/90-csit
parentcf260b77de34ac29e115ed9137904205d9f60ffc (diff)
CSIT-1448 Ansible: Clean hugepage configuration
Change-Id: I1e91d63bb5cd671d2d1d94f8711233bec0fe6505 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/tg_sut/files/90-csit')
-rw-r--r--resources/tools/testbed-setup/ansible/roles/tg_sut/files/90-csit6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/tg_sut/files/90-csit b/resources/tools/testbed-setup/ansible/roles/tg_sut/files/90-csit
index e96547e4d7..0c9036e936 100644
--- a/resources/tools/testbed-setup/ansible/roles/tg_sut/files/90-csit
+++ b/resources/tools/testbed-setup/ansible/roles/tg_sut/files/90-csit
@@ -1,6 +1,6 @@
# change the minimum size of the hugepage pool.
# 2G VPP, 16x2G for Fullbox VM, 2G reserve
-vm.nr_hugepages=36864
+vm.nr_hugepages={{ sysctl.vm.nr_hugepages }}
# this file contains the maximum number of memory map areas a process
# may have. memory map areas are used as a side-effect of calling
@@ -11,7 +11,7 @@ vm.nr_hugepages=36864
# programs, particularly malloc debuggers, may consume lots of them,
# e.g., up to one or two maps per allocation.
# must be greater than or equal to (2 * vm.nr_hugepages).
-vm.max_map_count=200000
+vm.max_map_count={{ sysctl.vm.max_map_count }}
# hugetlb_shm_group contains group id that is allowed to create sysv
# shared memory segment using hugetlb page.
@@ -77,4 +77,4 @@ kernel.randomize_va_space=0
# typically this value would only be touched in the nohz_full case
# to re-enable cores that by default were not running the watchdog,
# if a kernel lockup was suspected on those cores.
-kernel.watchdog_cpumask={{ cfs_cpus }}
+kernel.watchdog_cpumask={{ sysctl.kernel.watchdog_cpumask }}