X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fbash%2Ffunction%2Fcommon.sh;h=7b9cb1cf9582df459360c30b48bfe7a4bcf8e16f;hp=52e44c796e137d4ba00d2cd4b4fd7ace0d58a533;hb=eea1611300a7e80694173b0c448865a772746434;hpb=d24fe3f719a8c0c084544a794fae1d00fd3aa05c;ds=sidebyside diff --git a/resources/libraries/bash/function/common.sh b/resources/libraries/bash/function/common.sh index 52e44c796e..7b9cb1cf95 100644 --- a/resources/libraries/bash/function/common.sh +++ b/resources/libraries/bash/function/common.sh @@ -1196,13 +1196,16 @@ function set_environment_variables () { case "${TEST_CODE}" in *"1n-aws"* | *"2n-aws"* | *"3n-aws"*) - # T-Rex 2.88+ workaround for ENA NICs + # T-Rex 2.88+ workaround for ENA NICs. export TREX_RX_DESCRIPTORS_COUNT=1024 export TREX_EXTRA_CMDLINE="--mbuf-factor 19" export TREX_CORE_COUNT=6 - # Settings to prevent duration stretching + # Settings to prevent duration stretching. export PERF_TRIAL_STL_DELAY=0.1 ;; + *"2n-zn2"*) + # Maciek's workaround for Zen2 with lower amount of cores. + export TREX_CORE_COUNT=14 esac }