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 5DF74A0352; Wed, 6 May 2020 05:25:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 53CE21C11E; Wed, 6 May 2020 05:25:47 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 765AA1C06D for ; Wed, 6 May 2020 05:25:45 +0200 (CEST) IronPort-SDR: aTWR/xxz3yVyfj7hdZZDcYieyT+xVuxuvwgxaBVsAQYbVS0HKUun8YodQoYh7I7WEqS+M9CJu5 v6jgJy/3gDig== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2020 20:25:44 -0700 IronPort-SDR: M/cUjw0HuzR4O/8R1dr+4ozkQBj8hM97DNhbQXCadsH6rjx0RUrIFPuUI+i6vrFoyLxuHrNAgI dsB8Ac6Hw2ew== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,357,1583222400"; d="scan'208";a="461279490" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga005.fm.intel.com with ESMTP; 05 May 2020 20:25:44 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 May 2020 20:25:44 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 5 May 2020 20:25:44 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.225]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.225]) with mapi id 14.03.0439.000; Wed, 6 May 2020 11:25:39 +0800 From: "Tu, Lijuan" To: "Wang, Yinan" , "dts@dpdk.org" CC: "Wang, Yinan" Thread-Topic: [dts] [PATCH v1] tests: update test commonds for vectorized cases in TestSuite_pvp_multi_paths_vhost_single_core_performance.py Thread-Index: AQHWHq2bI0q6XE7oEk6/PZkyK/YkA6iabqcA Date: Wed, 6 May 2020 03:25:37 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC21F32@SHSMSX101.ccr.corp.intel.com> References: <20200429220338.27600-1-yinan.wang@intel.com> In-Reply-To: <20200429220338.27600-1-yinan.wang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Yinan > Sent: Thursday, April 30, 2020 6:04 AM > To: dts@dpdk.org > Cc: Wang, Yinan > Subject: [dts] [PATCH v1] tests: update test commonds for vectorized case= s in > TestSuite_pvp_multi_paths_vhost_single_core_performance.py >=20 > From: Wang Yinan >=20 > 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(-) >=20 > 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 =3D True > test_parameters =3D {64: [1024],1518: [1024]} test_duration =3D 60 > accepted_tolerance =3D 2 -expected_throughput =3D > {'test_perf_vhost_single_core_virtio11_mergeable': {64: {1024: 0.00}, 151= 8: > {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.0= 0}, > 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_norma= l': > {64: {1024: 0.00}, 1518: {1024: 0.00}},'test_perf_vhost_single_core_vecto= r_rx': > {64: {1024: 0.00}, 1518: {1024: 0.00}}} > +expected_throughput =3D > +{'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 =3D self.running_case > self.expected_throughput =3D > self.get_suite_cfg()['expected_throughput'][self.test_target] > - virtio_pmd_arg =3D {"version": > "in_order=3D1,packed_vq=3D1,mrg_rxbuf=3D0,vectorized=3D1", > - "path": "--rx-offloads=3D0x10 --enable-hw-vl= an-strip --rss-ip"} > + virtio_pmd_arg =3D {"version": > "in_order=3D1,packed_vq=3D1,mrg_rxbuf=3D0,vectorized=3D0", > + "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 =3D self.running_case > self.expected_throughput =3D > self.get_suite_cfg()['expected_throughput'][self.test_target] > virtio_pmd_arg =3D {"version": > "in_order=3D1,packed_vq=3D1,mrg_rxbuf=3D0,vectorized=3D1", > - "path": "--tx-offloads=3D0x0 --enable-hw-vla= n-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() >=20 > - 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 =3D self.running_case > self.expected_throughput =3D > self.get_suite_cfg()['expected_throughput'][self.test_target] > - virtio_pmd_arg =3D {"version": "packed_vq=3D0,in_order=3D0,mrg_r= xbuf=3D0", > + virtio_pmd_arg =3D {"version": > + "packed_vq=3D0,in_order=3D0,mrg_rxbuf=3D0,vectorized=3D1", > "path": "--tx-offloads=3D0x0 --enable-hw-vla= n-strip --rss-ip"} > self.start_vhost_testpmd() > self.start_virtio_testpmd(virtio_pmd_arg) > @@ -442,7 +442,7 @@ class TestPVPMultiPathVhostPerformance(TestCase): > """ > self.test_target =3D self.running_case > self.expected_throughput =3D > self.get_suite_cfg()['expected_throughput'][self.test_target] > - virtio_pmd_arg =3D {"version": "packed_vq=3D0,in_order=3D0,mrg_r= xbuf=3D0", > + virtio_pmd_arg =3D {"version": > + "packed_vq=3D0,in_order=3D0,mrg_rxbuf=3D0,vectorized=3D1", > "path": "--tx-offloads=3D0x0"} > self.start_vhost_testpmd() > self.start_virtio_testpmd(virtio_pmd_arg) > -- > 2.17.1