From patchwork Mon Dec 26 09:39:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Yuan, DukaiX" X-Patchwork-Id: 121396 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7BDB0A00C5; Mon, 26 Dec 2022 10:43:49 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A48664114B; Mon, 26 Dec 2022 10:43:48 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 4A9BB40E2D for ; Mon, 26 Dec 2022 10:43:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672047826; x=1703583826; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=CO3xmrlTEwHTinoA1EsWLXsQYi4hS3HSELEGA8Htoh0=; b=lW1+4by5yrMQVTqTYQl+14FY5iv+zam89OjQnYGWb6HqZJZMJxY1Ly2o J4ZwufwF0GREyUsthUDyTm+/9nP9XKsCay6wurTpFjx9laN2/BXNj/2et P+jWbhqKnZIf9UOOR2PgHLeCk3YaroFeAbd71IHgD9hDiQuuVOmqKq+9C TEBFJThfVjHLdzCmEGcZjLdky18T5qgEwpAEffHJYq5wecEj13o6JD7I6 M8JbsSB7xrIP69Eal12uK2IuFCzyRmfonO1hibZpsQzYuSa5Q6Di3n1QP ZxYMyw5hbcKo7eQtVtFUlpqU511zZq0OTuELOVAhrMJCg/CCdWsi9o4NV A==; X-IronPort-AV: E=McAfee;i="6500,9779,10571"; a="308296247" X-IronPort-AV: E=Sophos;i="5.96,275,1665471600"; d="scan'208";a="308296247" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Dec 2022 01:43:45 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10571"; a="652734192" X-IronPort-AV: E=Sophos;i="5.96,275,1665471600"; d="scan'208";a="652734192" Received: from unknown (HELO localhost.localdomain) ([10.239.252.15]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Dec 2022 01:43:44 -0800 From: Dukai Yuan To: dts@dpdk.org Cc: Dukai Yuan Subject: [dts][PATCH V1] test_plans/perf_virtio_user_loopback: optimize case description Date: Mon, 26 Dec 2022 17:39:03 +0800 Message-Id: <20221226093903.22116-1-dukaix.yuan@intel.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 1.Optimize case description and add packed ring vectorized path description. 2.Remove redundant parameters in each case. Signed-off-by: Dukai Yuan --- .../perf_virtio_user_loopback_test_plan.rst | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/test_plans/perf_virtio_user_loopback_test_plan.rst b/test_plans/perf_virtio_user_loopback_test_plan.rst index 190fe1da..d38e305b 100644 --- a/test_plans/perf_virtio_user_loopback_test_plan.rst +++ b/test_plans/perf_virtio_user_loopback_test_plan.rst @@ -1,3 +1,4 @@ + .. SPDX-License-Identifier: BSD-3-Clause Copyright(c) 2019 Intel Corporation @@ -5,10 +6,11 @@ vhost/virtio multi-paths loopback test plan =========================================== -Benchmark vhost/virtio-user loopback test with 9 tx/rx paths. +Benchmark vhost/virtio-user loopback test with 10 tx/rx paths. Includes split ring mergeable, non-mergeable, vector_rx, inorder mergeable, -inorder non-mergeable, packed ring mergeable, packed ring non-mergeableļ¼Œ -packed ring inorder mergeable, packed ring inorder non-mergeable path. +inorder non-mergeable, packed ring mergeable, packed ring non-mergeable, +packed ring inorder mergeable, packed ring inorder non-mergeable path, +packed ring vectorized path. Test Case 1: loopback test with packed ring mergeable path ========================================================== @@ -25,7 +27,7 @@ Test Case 1: loopback test with packed ring mergeable path ./x86_64-native-linuxapp-gcc/app/dpdk-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=1,in_order=0 \ - -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=1 --txd=1024 --rxd=1024 + -- -i --nb-cores=1 --txd=1024 --rxd=1024 >set fwd mac >start @@ -53,7 +55,7 @@ Test Case 2: loopback test with packed ring non-mergeable path ./x86_64-native-linuxapp-gcc/app/dpdk-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=0 \ - -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=1 --txd=1024 --rxd=1024 + -- -i --nb-cores=1 --txd=1024 --rxd=1024 >set fwd mac >start @@ -81,7 +83,7 @@ Test Case 3: loopback test with packed ring inorder mergeable path ./x86_64-native-linuxapp-gcc/app/dpdk-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,in_order=1,mrg_rxbuf=1 \ - -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=1 --txd=1024 --rxd=1024 + -- -i --nb-cores=1 --txd=1024 --rxd=1024 >set fwd mac >start @@ -109,7 +111,7 @@ Test Case 4: loopback test with packed ring inorder non-mergeable path ./x86_64-native-linuxapp-gcc/app/dpdk-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,in_order=1,mrg_rxbuf=0 \ - -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=1 --txd=1024 --rxd=1024 + -- -i --nb-cores=1 --txd=1024 --rxd=1024 >set fwd mac >start @@ -137,7 +139,7 @@ Test Case 5: loopback test with split ring mergeable path ./x86_64-native-linuxapp-gcc/app/dpdk-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=1 \ - -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=1 --txd=1024 --rxd=1024 + -- -i --nb-cores=1 --txd=1024 --rxd=1024 >set fwd mac >start @@ -165,7 +167,7 @@ Test Case 6: loopback test with split ring non-mergeable path ./x86_64-native-linuxapp-gcc/app/dpdk-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 \ - -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=1 --txd=1024 --rxd=1024 + -- -i --tx-offloads=0x0 --nb-cores=1 --txd=1024 --rxd=1024 >set fwd mac >start @@ -192,7 +194,7 @@ Test Case 7: loopback test with split ring vector_rx path ./x86_64-native-linuxapp-gcc/app/dpdk-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 \ + --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,in_order=0,mrg_rxbuf=0,vectorized=1 \ -- -i --nb-cores=1 --txd=1024 --rxd=1024 >set fwd mac >start @@ -221,7 +223,7 @@ Test Case 8: loopback test with split ring inorder mergeable path ./x86_64-native-linuxapp-gcc/app/dpdk-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=1,mrg_rxbuf=1 \ - -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=1 --txd=1024 --rxd=1024 + -- -i --nb-cores=1 --txd=1024 --rxd=1024 >set fwd mac >start @@ -249,7 +251,7 @@ Test Case 9: loopback test with split ring inorder non-mergeable path ./x86_64-native-linuxapp-gcc/app/dpdk-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=1,mrg_rxbuf=0 \ - -- -i --tx-offloads=0x0 --enable-hw-vlan-strip --rss-ip --nb-cores=1 --txd=1024 --rxd=1024 + -- -i --nb-cores=1 --txd=1024 --rxd=1024 >set fwd mac >start @@ -277,7 +279,7 @@ Test Case 10: loopback test with packed ring vectorized path ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 5-6 \ --no-pci --file-prefix=virtio --force-max-simd-bitwidth=512 \ --vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,packed_vq=1,in_order=1,mrg_rxbuf=0,vectorized=1 \ - -- -i --rss-ip --nb-cores=1 --txd=1024 --rxd=1024 + -- -i --nb-cores=1 --txd=1024 --rxd=1024 >set fwd mac >start