test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] tests/nic_single_core_perf: set burst and mbcache for ConnectX nics
@ 2021-06-17 15:53 Ali Alnubani
  2021-06-25  2:12 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Ali Alnubani @ 2021-06-17 15:53 UTC (permalink / raw)
  To: dts, lijuan.tu; +Cc: dpdklab

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH] tests/nic_single_core_perf: set burst and mbcache for ConnectX nics
  2021-06-17 15:53 [dts] [PATCH] tests/nic_single_core_perf: set burst and mbcache for ConnectX nics Ali Alnubani
@ 2021-06-25  2:12 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2021-06-25  2:12 UTC (permalink / raw)
  To: Ali Alnubani, dts; +Cc: dpdklab

> -----Original Message-----
> From: Ali Alnubani <alialnu@nvidia.com>
> Sent: 2021年6月17日 23:53
> To: dts@dpdk.org; Tu, Lijuan <lijuan.tu@intel.com>
> Cc: dpdklab@iol.unh.edu
> Subject: [PATCH] tests/nic_single_core_perf: set burst and mbcache for
> ConnectX nics
> 
> Setting burst and mbcache improves performance and reduces fluctuations.
> 
> Signed-off-by: Ali Alnubani <alialnu@nvidia.com>

Applied, thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-25  2:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17 15:53 [dts] [PATCH] tests/nic_single_core_perf: set burst and mbcache for ConnectX nics Ali Alnubani
2021-06-25  2:12 ` Tu, Lijuan

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).