From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C8156A00C5; Thu, 30 Apr 2020 07:09:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9A9271D6C2; Thu, 30 Apr 2020 07:09:45 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id F21121D6C0 for ; Thu, 30 Apr 2020 07:09:43 +0200 (CEST) IronPort-SDR: UrIr4hjpV2NwrVmCGI3wBKNiMXV30huis7K+kvXJuROtcaGcy7ONx+PHIUPFAWGXO+emEa/+lh Ey8xiRRuiqnw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2020 22:09:42 -0700 IronPort-SDR: IdNgC65nveJuuMiXJTNTb248MTyYHG6X24EWQPAhfG41xzYIetQbKgV7UqNu0ByYztxm8XJ8Oz 6h7ez6WdjTkA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,334,1583222400"; d="scan'208";a="282732561" Received: from dpdk-yinan-purley.sh.intel.com ([10.67.117.227]) by fmsmga004.fm.intel.com with ESMTP; 29 Apr 2020 22:09:41 -0700 From: Yinan To: dts@dpdk.org Cc: Wang Yinan Date: Wed, 29 Apr 2020 22:03:38 +0000 Message-Id: <20200429220338.27600-1-yinan.wang@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH v1] tests: update test commonds for vectorized cases in TestSuite_pvp_multi_paths_vhost_single_core_performance.py X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" From: Wang Yinan Signed-off-by: Wang Yinan --- ...pvp_multi_paths_vhost_single_core_performance.cfg | 2 +- ..._pvp_multi_paths_vhost_single_core_performance.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/conf/pvp_multi_paths_vhost_single_core_performance.cfg b/conf/pvp_multi_paths_vhost_single_core_performance.cfg index c2e9a02..76bc598 100644 --- a/conf/pvp_multi_paths_vhost_single_core_performance.cfg +++ b/conf/pvp_multi_paths_vhost_single_core_performance.cfg @@ -3,4 +3,4 @@ update_expected = True test_parameters = {64: [1024],1518: [1024]} test_duration = 60 accepted_tolerance = 2 -expected_throughput = {'test_perf_vhost_single_core_virtio11_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_vhost_single_core_virtio11_normal': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_vhost_single_core_virtio11_inorder_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_vhost_single_core_virtio11_inorder_normal': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_vhost_single_core_inorder_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_vhost_single_core_inorder_no_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}},'test_perf_vhost_single_core_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}},'test_perf_vhost_single_core_normal': {64: {1024: 0.00}, 1518: {1024: 0.00}},'test_perf_vhost_single_core_vector_rx': {64: {1024: 0.00}, 1518: {1024: 0.00}}} +expected_throughput = {'test_perf_vhost_single_core_virtio11_vectorized': {64: {1024: 0.00}, 1518: {1024: 0.00}},'test_perf_vhost_single_core_virtio11_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_vhost_single_core_virtio11_normal': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_vhost_single_core_virtio11_inorder_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_vhost_single_core_virtio11_inorder_normal': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_vhost_single_core_inorder_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_vhost_single_core_inorder_normal': {64: {1024: 0.00}, 1518: {1024: 0.00}},'test_perf_vhost_single_core_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}},'test_perf_vhost_single_core_normal': {64: {1024: 0.00}, 1518: {1024: 0.00}},'test_perf_vhost_single_core_vector_rx': {64: {1024: 0.00}, 1518: {1024: 0.00}}} 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 c4d4081..cddd831 100644 --- a/tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py +++ b/tests/TestSuite_pvp_multi_paths_vhost_single_core_performance.py @@ -340,8 +340,8 @@ class TestPVPMultiPathVhostPerformance(TestCase): """ self.test_target = self.running_case self.expected_throughput = self.get_suite_cfg()['expected_throughput'][self.test_target] - virtio_pmd_arg = {"version": "in_order=1,packed_vq=1,mrg_rxbuf=0,vectorized=1", - "path": "--rx-offloads=0x10 --enable-hw-vlan-strip --rss-ip"} + virtio_pmd_arg = {"version": "in_order=1,packed_vq=1,mrg_rxbuf=0,vectorized=0", + "path": "--enable-hw-vlan-strip --rss-ip"} self.start_vhost_testpmd() self.start_virtio_testpmd(virtio_pmd_arg) self.send_and_verify("virtio_1.1 inorder normal") @@ -358,7 +358,7 @@ class TestPVPMultiPathVhostPerformance(TestCase): self.test_target = self.running_case self.expected_throughput = self.get_suite_cfg()['expected_throughput'][self.test_target] virtio_pmd_arg = {"version": "in_order=1,packed_vq=1,mrg_rxbuf=0,vectorized=1", - "path": "--tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip"} + "path": "--enable-hw-vlan-strip --rss-ip"} self.start_vhost_testpmd() self.start_virtio_testpmd(virtio_pmd_arg) self.send_and_verify("virtio_1.1 inorder normal") @@ -385,7 +385,7 @@ class TestPVPMultiPathVhostPerformance(TestCase): self.handle_expected() self.handle_results() - def test_perf_vhost_single_core_inorder_no_normal(self): + def test_perf_vhost_single_core_inorder_normal(self): """ performance for Vhost PVP In_order normal Path. """ @@ -425,7 +425,7 @@ class TestPVPMultiPathVhostPerformance(TestCase): """ self.test_target = self.running_case self.expected_throughput = self.get_suite_cfg()['expected_throughput'][self.test_target] - virtio_pmd_arg = {"version": "packed_vq=0,in_order=0,mrg_rxbuf=0", + virtio_pmd_arg = {"version": "packed_vq=0,in_order=0,mrg_rxbuf=0,vectorized=1", "path": "--tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip"} self.start_vhost_testpmd() self.start_virtio_testpmd(virtio_pmd_arg) @@ -442,7 +442,7 @@ class TestPVPMultiPathVhostPerformance(TestCase): """ self.test_target = self.running_case self.expected_throughput = self.get_suite_cfg()['expected_throughput'][self.test_target] - virtio_pmd_arg = {"version": "packed_vq=0,in_order=0,mrg_rxbuf=0", + virtio_pmd_arg = {"version": "packed_vq=0,in_order=0,mrg_rxbuf=0,vectorized=1", "path": "--tx-offloads=0x0"} self.start_vhost_testpmd() self.start_virtio_testpmd(virtio_pmd_arg) -- 2.17.1