test suite reviews and discussions
 help / color / mirror / Atom feed
From: Ali Alnubani <alialnu@OSS.NVIDIA.COM>
To: <dts@dpdk.org>, <lijuan.tu@intel.com>
Cc: <dpdklab@iol.unh.edu>
Subject: [dts] [PATCH] tests/nic_single_core_perf: set burst and mbcache for ConnectX nics
Date: Thu, 17 Jun 2021 18:53:24 +0300	[thread overview]
Message-ID: <20210617155324.9192-1-alialnu@nvidia.com> (raw)

Setting burst and mbcache improves performance and reduces fluctuations.

Signed-off-by: Ali Alnubani <alialnu@nvidia.com>
---
 tests/TestSuite_nic_single_core_perf.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/TestSuite_nic_single_core_perf.py b/tests/TestSuite_nic_single_core_perf.py
index 5083831d..dee189e5 100644
--- a/tests/TestSuite_nic_single_core_perf.py
+++ b/tests/TestSuite_nic_single_core_perf.py
@@ -248,6 +248,9 @@ class TestNicSingleCorePerf(TestCase):
                 param += " --rxq=1 --txq=1"
                 # workaround for that testpmd can't forward packets in io forward mode
                 param += " --port-topology=loop"
+            # improves performance and reduces fluctuations
+            elif self.nic in ['ConnectX5_MT4121', 'ConnectX4_LX_MT4117']:
+                param += " --burst=64 --mbcache=512"
 
             self.throughput[fwd_config] = dict()
             for frame_size in list(self.test_parameters[fwd_config].keys()):
-- 
2.17.1


             reply	other threads:[~2021-06-17 15:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-17 15:53 Ali Alnubani [this message]
2021-06-25  2:12 ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210617155324.9192-1-alialnu@nvidia.com \
    --to=alialnu@oss.nvidia.com \
    --cc=dpdklab@iol.unh.edu \
    --cc=dts@dpdk.org \
    --cc=lijuan.tu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).