X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Ftestbed-setup%2Fansible%2Froles%2Ftg_sut%2Ffiles%2F90-csit;h=0c9036e936cd925fe126113f5e9f20eddc90160f;hp=2304162ce846c42cb0891e42d8ad02d4cb0822b9;hb=d978e8c6d58a8c37a3ff80a7a52e35b6574be553;hpb=3a14297dca576dd7e2c9f09d84bf0f5cf58c1938 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 2304162ce8..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,5 +1,6 @@ # change the minimum size of the hugepage pool. -vm.nr_hugepages=4096 +# 2G VPP, 16x2G for Fullbox VM, 2G reserve +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 @@ -10,7 +11,7 @@ vm.nr_hugepages=4096 # 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. @@ -76,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=0,18 +kernel.watchdog_cpumask={{ sysctl.kernel.watchdog_cpumask }}