test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/pvp_multi_paths_*_performance: Add parameter to enable AVX512
@ 2020-11-05 16:49 JiangYuX
  2020-11-05  8:51 ` Jiang, YuX
  2020-11-11  3:34 ` Tu, Lijuan
  0 siblings, 2 replies; 4+ messages in thread
From: JiangYuX @ 2020-11-05 16:49 UTC (permalink / raw)
  To: dts; +Cc: JiangYu

From: JiangYu <yux.jiang@intel.com>

According to testplan, add para to enable AVX512 for virtio11_vectorized path

Signed-off-by: JiangYu <yux.jiang@intel.com>
---
 tests/TestSuite_pvp_multi_paths_performance.py                    | 2 ++
 tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py  | 2 ++
 tests/TestSuite_pvp_multi_paths_virtio_single_core_performance.py | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/tests/TestSuite_pvp_multi_paths_performance.py b/tests/TestSuite_pvp_multi_paths_performance.py
index 21106be..e2fa5ec 100644
--- a/tests/TestSuite_pvp_multi_paths_performance.py
+++ b/tests/TestSuite_pvp_multi_paths_performance.py
@@ -180,6 +180,8 @@ class TestPVPMultiPathPerformance(TestCase):
                                                           args["version"]])
         if self.check_2M_env:
             eal_param += " --single-file-segments"
+        if 'virtio11_vectorized' in self.running_case:
+            eal_param += " --force-max-simd-bitwidth=512"
         command_line_user = self.path + eal_param + \
                             " -- -i %s --rss-ip --nb-cores=1 --txd=%d --rxd=%d" % \
                             (args["path"], self.nb_desc, self.nb_desc)
diff --git a/tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py b/tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py
index e628a44..d0e075c 100644
--- a/tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py
+++ b/tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py
@@ -179,6 +179,8 @@ class TestPVPMultiPathVhostPerformance(TestCase):
                                                           args["version"]])
         if self.check_2M_env:
             eal_param += " --single-file-segments"
+        if 'virtio11_vectorized' in self.running_case:
+            eal_param += " --force-max-simd-bitwidth=512"
         command_line_user = self.path + eal_param + \
                             " -- -i %s --nb-cores=2 --txd=%d --rxd=%d" % \
                             (args["path"], self.nb_desc, self.nb_desc)
diff --git a/tests/TestSuite_pvp_multi_paths_virtio_single_core_performance.py b/tests/TestSuite_pvp_multi_paths_virtio_single_core_performance.py
index 00e7df7..ea48b06 100644
--- a/tests/TestSuite_pvp_multi_paths_virtio_single_core_performance.py
+++ b/tests/TestSuite_pvp_multi_paths_virtio_single_core_performance.py
@@ -179,6 +179,8 @@ class TestPVPMultiPathVirtioPerformance(TestCase):
         eal_param = self.dut.create_eal_parameters(socket=self.ports_socket, cores=self.core_list_user, prefix='virtio', no_pci=True, vdevs=['net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,%s' % args["version"]])
         if self.check_2M_env:
             eal_param += " --single-file-segments"
+        if 'virtio11_vectorized' in self.running_case:
+            eal_param += " --force-max-simd-bitwidth=512"
         command_line_user = self.path + eal_param + \
             " -- -i %s --rss-ip --nb-cores=1 --txd=%d --rxd=%d" % (
                 args["path"], self.nb_desc, self.nb_desc)
-- 
2.7.4


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

end of thread, other threads:[~2020-11-11  3:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 16:49 [dts] [PATCH V1] tests/pvp_multi_paths_*_performance: Add parameter to enable AVX512 JiangYuX
2020-11-05  8:51 ` Jiang, YuX
2020-11-06  5:20   ` Wang, Yinan
2020-11-11  3:34 ` 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).