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 97928A00C5; Thu, 30 Apr 2020 04:44:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7F7D91D900; Thu, 30 Apr 2020 04:44:41 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 1E26C1D8EF for ; Thu, 30 Apr 2020 04:44:38 +0200 (CEST) IronPort-SDR: UbLO/SzZvJF7rMRQBCh6bFmAdW+5n0a2efXyTral73qcKDmjVNyAKHd+rAXj0Dkr5fT6xxPgob bkBA8uAtMQSg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2020 19:44:37 -0700 IronPort-SDR: BrQ8ruKOPjMulH5/nfT+YvsXbEm2aA0jdx1zpjWtT2vNUii/zR8b5gzDKc4jmQuzKK4CQiPUtV K1Ogn8EBfG7A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,333,1583222400"; d="scan'208";a="282704142" Received: from dpdk-yinan-purley.sh.intel.com ([10.67.117.227]) by fmsmga004.fm.intel.com with ESMTP; 29 Apr 2020 19:44:36 -0700 From: Yinan To: dts@dpdk.org Cc: Wang Yinan Date: Wed, 29 Apr 2020 19:38:33 +0000 Message-Id: <20200429193833.14561-1-yinan.wang@intel.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH v1] test_plans: update test cases for pvp_multi_paths_performance_test_plan.rst 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 --- conf/pvp_multi_paths_performance.cfg | 2 +- .../pvp_multi_paths_performance_test_plan.rst | 23 ++++++++----------- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/conf/pvp_multi_paths_performance.cfg b/conf/pvp_multi_paths_performance.cfg index a725abb..4e13c1a 100644 --- a/conf/pvp_multi_paths_performance.cfg +++ b/conf/pvp_multi_paths_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_pvp_virtio11_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_pvp_virtio11_normal': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_pvp_virtio11_inorder_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_pvp_virtio11_inorder_normal': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_pvp_inorder_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_pvp_inorder_no_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}},'test_perf_pvp_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}},'test_perf_pvp_normal': {64: {1024: 0.00}, 1518: {1024: 0.00}},'test_perf_pvp_vector_rx': {64: {1024: 0.00}, 1518: {1024: 0.00}},} +expected_throughput = {'test_perf_pvp_virtio11_vectorized': {64: {1024: 0.00}, 1518: {1024: 0.00}},'test_perf_pvp_virtio11_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_pvp_virtio11_normal': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_pvp_virtio11_inorder_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_pvp_virtio11_inorder_normal': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_pvp_inorder_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}}, 'test_perf_pvp_inorder_normal': {64: {1024: 0.00}, 1518: {1024: 0.00}},'test_perf_pvp_mergeable': {64: {1024: 0.00}, 1518: {1024: 0.00}},'test_perf_pvp_normal': {64: {1024: 0.00}, 1518: {1024: 0.00}},'test_perf_pvp_vector_rx': {64: {1024: 0.00}, 1518: {1024: 0.00}},} diff --git a/test_plans/pvp_multi_paths_performance_test_plan.rst b/test_plans/pvp_multi_paths_performance_test_plan.rst index c326a20..c35b0e4 100644 --- a/test_plans/pvp_multi_paths_performance_test_plan.rst +++ b/test_plans/pvp_multi_paths_performance_test_plan.rst @@ -37,17 +37,14 @@ vhost/virtio pvp multi-paths performance test plan Benchmark PVP multi-paths performance with 10 tx/rx paths. Includes mergeable, non-mergeable, vectorized_rx, inorder mergeable, inorder non-mergeable, virtio 1.1 mergeable, virtio 1.1 non-mergeableļ¼Œvirtio 1.1 inorder mergeable, virtio 1.1 inorder non-mergeable, virtio1.1 vectorized path. Give 1 core for vhost and virtio respectively. - -Packed ring vectorized path will be selected when: - vectorized option is enabled +Packed ring vectorized path need: AVX512F and required extensions are supported by compiler and host - virtio VERSION_1 and IN_ORDER features are negotiated - virtio mergeable feature is not negotiated + VERSION_1 and IN_ORDER features are negotiated + mergeable feature is not negotiated LRO offloading is disabled -Split ring vectorized rx path will be selected when: - vectorized option is enabled - virtio mergeable and IN_ORDER features are not negotiated - LRO, chksum and vlan strip offloading are disabled +Split ring vectorized rx path need: + mergeable and IN_ORDER features are not negotiated + LRO, chksum and vlan strip offloadings are disabled Test flow ========= @@ -190,7 +187,7 @@ Test Case 6: pvp test with non-mergeable path ./testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \ --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,in_order=0,mrg_rxbuf=0,vectorized=1 \ - -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024 + -- -i --rx-offloads=0x10 --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024 >set fwd mac >start @@ -214,7 +211,7 @@ Test Case 7: pvp test with vectorized_rx path ./testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \ --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,in_order=0,mrg_rxbuf=0,vectorized=1 \ - -- -i --tx-offloads=0x0 --nb-cores=1 --txd=1024 --rxd=1024 + -- -i --nb-cores=1 --txd=1024 --rxd=1024 >set fwd mac >start @@ -262,7 +259,7 @@ Test Case 9: pvp test with virtio 1.1 inorder non-mergeable path ./testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \ --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1 \ - -- -i --rx-offloads=0x10 --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024 + -- -i --rx-offloads=0x10 --nb-cores=1 --txd=1024 --rxd=1024 >set fwd mac >start @@ -285,7 +282,7 @@ Test Case 10: pvp test with virtio 1.1 vectorized path ./testpmd -n 4 -l 5-6 --no-pci --file-prefix=virtio \ --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,packed_vq=1,mrg_rxbuf=0,in_order=1,vectorized=1 \ - -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --nb-cores=1 --txd=1024 --rxd=1024 + -- -i --nb-cores=1 --txd=1024 --rxd=1024 >set fwd mac >start -- 2.17.1