test suite reviews and discussions
 help / color / mirror / Atom feed
From: JiangYuX <yux.jiang@intel.com>
To: dts@dpdk.org
Cc: JiangYu <yux.jiang@intel.com>
Subject: [dts] [PATCH V1] tests/pvp_multi_paths_*_performance: Add parameter to enable AVX512
Date: Thu,  5 Nov 2020 16:49:26 +0000	[thread overview]
Message-ID: <20201105164926.1735502-1-yux.jiang@intel.com> (raw)

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


             reply	other threads:[~2020-11-05  8:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-05 16:49 JiangYuX [this message]
2020-11-05  8:51 ` Jiang, YuX
2020-11-06  5:20   ` Wang, Yinan
2020-11-11  3:34 ` 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=20201105164926.1735502-1-yux.jiang@intel.com \
    --to=yux.jiang@intel.com \
    --cc=dts@dpdk.org \
    /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).