| ${trial_duration}= | ${PERF_TRIAL_DURATION}
| ${trial_multiplicity}= | ${PERF_TRIAL_MULTIPLICITY}
| ${extended_debug}= | ${EXTENDED_DEBUG}
+| # Variable holding multiplicator of main heap size. By default it is set to 1
+| # that means the main heap size will be set to 2G. Some tests may require more
+| # memory for IP FIB (e.g. nat44det tests with 4M or 16M sessions).
+| ${heap_size_mult}= | ${1}
| # Variable holding trial duration extension [s] used in pre_stats action
| # clear-show-runtime-with-traffic. By default it is set to 0 but some
| # tests (e.g. NAT) needs this duration extension in ramp up phase (e.g. to
| | | Run Keyword | ${dut}.Add Unix Nodaemon
| | | Run Keyword | ${dut}.Add Unix Coredump
| | | Run Keyword | ${dut}.Add Socksvr | ${SOCKSVR_PATH}
-| | | Run Keyword | ${dut}.Add Main Heap Size | 6G
+| | | Run Keyword | ${dut}.Add Main Heap Size | ${${heap_size_mult}*${2}}G
| | | Run Keyword | ${dut}.Add Main Heap Page Size | 2M
| | | Run Keyword | ${dut}.Add Statseg Size | 2G
| | | Run Keyword | ${dut}.Add Statseg Page Size | 2M
# Trial data overwrite
| ${trial_duration}= | ${1.1}
| ${trial_multiplicity}= | ${1}
+# Main heap size multiplicator
+| ${heap_size_mult}= | ${3}
*** Keywords ***
| Local Template
# Trial data overwrite
| ${trial_duration}= | ${1.1}
| ${trial_multiplicity}= | ${1}
+# Main heap size multiplicator
+| ${heap_size_mult}= | ${2}
*** Keywords ***
| Local Template
| ${n_sessions}= | ${${n_hosts} * ${n_ports}}
# Traffic profile
| ${traffic_profile}= | trex-stl-ethip4udp-262144u63p
+# Main heap size multiplicator
+| ${heap_size_mult}= | ${3}
*** Keywords ***
| Local Template
| ${n_sessions}= | ${${n_hosts} * ${n_ports}}
# Traffic profile
| ${traffic_profile}= | trex-stl-ethip4udp-65536u63p
+# Main heap size multiplicator
+| ${heap_size_mult}= | ${2}
*** Keywords ***
| Local Template
# Trial data overwrite
| ${trial_duration}= | ${1.1}
| ${trial_multiplicity}= | ${1}
+# Main heap size multiplicator
+| ${heap_size_mult}= | ${3}
*** Keywords ***
| Local Template
| ${out_mask}= | ${24}
# Traffic profile:
| ${traffic_profile}= | trex-stl-ethip4udp-262144u63p-udir
+# Main heap size multiplicator
+| ${heap_size_mult}= | ${3}
*** Keywords ***
| Local Template
# Trial data overwrite
| ${trial_duration}= | ${1.1}
| ${trial_multiplicity}= | ${1}
+# Main heap size multiplicator
+| ${heap_size_mult}= | ${2}
*** Keywords ***
| Local Template
| ${out_mask}= | ${26}
# Traffic profile:
| ${traffic_profile}= | trex-stl-ethip4udp-65536u63p-udir
+# Main heap size multiplicator
+| ${heap_size_mult}= | ${2}
*** Keywords ***
| Local Template