From: Peter Mikus Date: Fri, 26 Apr 2019 10:29:53 +0000 (+0000) Subject: FIX: Change buffers per numa base on SMT X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=0cbb8a2f0af3902cbe14fbdd19852103263e922b FIX: Change buffers per numa base on SMT Change-Id: I4955210e2c723d4b91d8829ac42e47937d17833f Signed-off-by: Peter Mikus --- diff --git a/resources/libraries/robot/shared/default.robot b/resources/libraries/robot/shared/default.robot index 579577cb56..569ff34812 100644 --- a/resources/libraries/robot/shared/default.robot +++ b/resources/libraries/robot/shared/default.robot @@ -217,7 +217,9 @@ | | | Run keyword | ${dut}.Add DPDK Dev Default RXQ | ${rxq_count_int} # For now there is no way to easily predict the number of buffers. Statically # doing maximum amount of buffers allowed by DPDK. -| | | Run keyword | ${dut}.Add Buffers Per Numa | ${215040} +| | | Run keyword if | ${smt_used} +| | | ... | Run keyword | ${dut}.Add Buffers Per Numa | ${215040} | ELSE +| | | ... | Run keyword | ${dut}.Add Buffers Per Numa | ${107520} | | | Run keyword if | ${thr_count_int} > 1 | | | ... | Set Tags | MTHREAD | ELSE | Set Tags | STHREAD | | | Set Tags | ${thr_count_int}T${cpu_count_int}C