diff options
author | Peter Mikus <pmikus@cisco.com> | 2020-04-09 09:52:42 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2020-04-09 10:55:51 +0000 |
commit | 8e3a326cba182b4ab9054263625c7e40cdd6f2e3 (patch) | |
tree | ad6f71361f89fb158ddca04bc6a5b5c115767247 /resources | |
parent | 0ccec314aad1498d8317415fb5b8f247b1a0a4b4 (diff) |
Performance: FIX T-Rex config
- MLX, ENA
- Part I
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I9f4b407770515fe6009ef5dfdba2b27fa2ff654f
Diffstat (limited to 'resources')
-rw-r--r-- | resources/libraries/python/Constants.py | 5 | ||||
-rw-r--r-- | resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.10.yaml | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/resources/libraries/python/Constants.py b/resources/libraries/python/Constants.py index 0203dc0244..7f45efe4e8 100644 --- a/resources/libraries/python/Constants.py +++ b/resources/libraries/python/Constants.py @@ -191,7 +191,7 @@ class Constants: TREX_INSTALL_DIR = u"/opt/trex-core-2.73" # TRex limit memory. - TREX_LIMIT_MEMORY = get_int_from_env(u"TREX_LIMIT_MEMORY", 4096) + TREX_LIMIT_MEMORY = get_int_from_env(u"TREX_LIMIT_MEMORY", 8192) # TRex number of cores TREX_CORE_COUNT = get_int_from_env(u"TREX_CORE_COUNT", 15) @@ -200,7 +200,8 @@ class Constants: TREX_SEND_FORCE = get_pessimistic_bool_from_env(u"TREX_SEND_FORCE") # TRex extra commandline arguments - TREX_EXTRA_CMDLINE = get_str_from_env(u"TREX_EXTRA_CMDLINE", u"") + TREX_EXTRA_CMDLINE = get_str_from_env( + u"TREX_EXTRA_CMDLINE", u"--mbuf-factor 32") # Sysctl kernel.core_pattern KERNEL_CORE_PATTERN = u"/tmp/%p-%u-%g-%s-%t-%h-%e.core" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.10.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.10.yaml index fad3eec6b2..6c9d79f330 100644 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.10.yaml +++ b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.10.yaml @@ -10,7 +10,7 @@ sysctl: kernel: watchdog_cpumask: "0,28,56,84" vm: - nr_hugepages: 8192 + nr_hugepages: 16384 max_map_count: 20000 inventory_ipmi_hostname: '10.30.55.10' |