From: Peter Mikus Date: Tue, 17 May 2022 13:03:21 +0000 (+0200) Subject: feat(perf): T-Rex core usage 2n-zn2 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=eea1611300a7e80694173b0c448865a772746434;hp=d24fe3f719a8c0c084544a794fae1d00fd3aa05c feat(perf): T-Rex core usage 2n-zn2 Signed-off-by: Peter Mikus Change-Id: Ife55633c620a3c762f4d939013a7f6fafb640aa6 --- 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 }