From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9D918A034F; Thu, 29 Jul 2021 14:02:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6BB8740DFB; Thu, 29 Jul 2021 14:02:15 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 0EA7D40687 for ; Thu, 29 Jul 2021 14:02:12 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10059"; a="276644470" X-IronPort-AV: E=Sophos;i="5.84,278,1620716400"; d="scan'208";a="276644470" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2021 05:02:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,278,1620716400"; d="scan'208";a="518170264" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga002.fm.intel.com with ESMTP; 29 Jul 2021 05:02:11 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Thu, 29 Jul 2021 05:02:10 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX603.ccr.corp.intel.com (10.109.6.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Thu, 29 Jul 2021 20:02:09 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2242.010; Thu, 29 Jul 2021 20:02:09 +0800 From: "Tu, Lijuan" To: "Wang, Yinan" , "dts@dpdk.org" CC: "Wang, Yinan" Thread-Topic: [dts] [PATCH v1] test_plans/vm2vm_virtio_net_perf Thread-Index: AQHXhFCnWBf/CC4h2UCudn2YrvwbTqtZ2Lrg Date: Thu, 29 Jul 2021 12:02:08 +0000 Message-ID: <5139af2bbb5b44db8d6a7888dae9057a@intel.com> References: <20210729164726.1264275-1-yinan.wang@intel.com> In-Reply-To: <20210729164726.1264275-1-yinan.wang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH v1] test_plans/vm2vm_virtio_net_perf 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 Sender: "dts" > -----Original Message----- > From: dts On Behalf Of Yinan Wang > Sent: 2021=1B$BG/=1B(B7=1B$B7n=1B(B30=1B$BF|=1B(B 0:47 > To: dts@dpdk.org > Cc: Wang, Yinan > Subject: [dts] [PATCH v1] test_plans/vm2vm_virtio_net_perf >=20 > 1. Add bdf whole name for cbdma usage. > 2. Add a tip that cbdma case need special dpdk code. Major changes are testpmd command parameters, Could you add some description what's the key to change them, and how shoul= d users get the right parameters in their own env. >=20 > Signed-off-by: Yinan Wang > --- > .../vm2vm_virtio_net_perf_test_plan.rst | 25 ++++++++++--------- > 1 file changed, 13 insertions(+), 12 deletions(-) >=20 > diff --git a/test_plans/vm2vm_virtio_net_perf_test_plan.rst > b/test_plans/vm2vm_virtio_net_perf_test_plan.rst > index 3fb12f41..65da707e 100644 > --- a/test_plans/vm2vm_virtio_net_perf_test_plan.rst > +++ b/test_plans/vm2vm_virtio_net_perf_test_plan.rst > @@ -46,6 +46,7 @@ and packed ring vhost-user/virtio-net mergeable and non= - > mergeable path. > Note: > 1.For packed virtqueue virtio-net test, need qemu version > 4.2.0 and VM= kernel > version > v5.1. > 2.For split virtqueue virtio-net with multi-queues server mode test, nee= d qemu > version > LTS 4.2.1, dut to old qemu exist reconnect issue when multi-que= ues > test. > +3.Blow cases which have cbdma usage should add dpdk local path to suppor= t > async vhostpmd. Local path ? I guess it is local patch. Could you please describe your local patch ? why we need them? >=20 > Test flow > =3D=3D=3D=3D=3D=3D=3D=3D=3D > @@ -113,8 +114,8 @@ Test Case 2: VM2VM split ring vhost-user/virtio-net > CBDMA enable test with tcp t 1. Launch the Vhost sample by below command= s:: >=20 > rm -rf vhost-net* > - ./dpdk-testpmd -l 2-4 -n 4 --file-prefix=3Dvhost --vdev 'net_vhost0,= iface=3Dvhost- > net0,queues=3D1,dmas=3D[txq0@00:04.0],dmathr=3D512' \ > - --vdev 'net_vhost1,iface=3Dvhost- > net1,queues=3D1,dmas=3D[txq0@00:04.1],dmathr=3D512' -- -i --nb-cores=3D2= -- > txd=3D1024 --rxd=3D1024 > + ./dpdk-testpmd -l 2-4 -n 4 --file-prefix=3Dvhost --vdev 'net_vhost0,= iface=3Dvhost- > net0,queues=3D1,dmas=3D[txq0@0000:00:04.0],dmathr=3D512' \ > + --vdev > + 'net_vhost1,iface=3Dvhost-net1,queues=3D1,dmas=3D[txq0@0000:00:04.1],dm= athr=3D > + 512' -- -i --nb-cores=3D2 --txd=3D1024 --rxd=3D1024 > testpmd>start >=20 > 2. Launch VM1 and VM2 on socket 1:: > @@ -273,8 +274,8 @@ Test Case 5: VM2VM virtio-net split ring mergeable 8 > queues CBDMA enable test wi 1. Launch the Vhost sample by below commands= :: >=20 > rm -rf vhost-net* > - ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=3Dvhost --vdev 'net_vhost0,= iface=3Dvhost- > net0,client=3D1,queues=3D8,dmas=3D[txq0@00:04.0;txq1@00:04.1;txq2@00:04.2= ;txq3 > @00:04.3;txq4@00:04.4;txq5@00:04.5;txq6@00:04.6;txq7@00:04.7],dmathr=3D5 > 12' \ > - --vdev 'net_vhost1,iface=3Dvhost- > net1,client=3D1,queues=3D8,dmas=3D[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2= ;txq3 > @80:04.3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7@80:04.7],dmathr=3D5 > 12' -- -i --nb-cores=3D4 --txd=3D1024 --rxd=3D1024 --rxq=3D8 --txq=3D8 > + ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=3Dvhost --vdev 'net_vhost0,= iface=3Dvhost- > net0,client=3D1,queues=3D8,dmas=3D[txq0@0000:00:04.0;txq1@0000:00:04.1;tx= q2@0 > 000:00:04.2;txq3@0000:00:04.3;txq4@0000:00:04.4;txq5@0000:00:04.5;txq6@ > 0000:00:04.6;txq7@0000:00:04.7],dmathr=3D512' \ > + --vdev > + 'net_vhost1,iface=3Dvhost-net1,client=3D1,queues=3D8,dmas=3D[txq0@0000:= 80:04.0 > + ;txq1@0000:80:04.1;txq2@0000:80:04.2;txq3@0000:80:04.3;txq4@0000:80:0 > 4 > + .4;txq5@0000:80:04.5;txq6@0000:80:04.6;txq7@0000:80:04.7],dmathr=3D512' > + -- -i --nb-cores=3D4 --txd=3D1024 --rxd=3D1024 --rxq=3D8 --txq=3D8 > testpmd>start >=20 > 2. Launch VM1 and VM2 using qemu 5.2.0:: > @@ -366,8 +367,8 @@ Test Case 6: VM2VM virtio-net split ring non-mergeabl= e > 8 queues CBDMA enable tes 1. Launch the Vhost sample by below commands:: >=20 > rm -rf vhost-net* > - ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=3Dvhost --vdev 'net_vhost0,= iface=3Dvhost- > net0,client=3D1,queues=3D8,dmas=3D[txq0@00:04.0;txq1@00:04.1;txq2@00:04.2= ;txq3 > @00:04.3;txq4@00:04.4;txq5@00:04.5;txq6@00:04.6;txq7@00:04.7],dmathr=3D5 > 12' \ > - --vdev 'net_vhost1,iface=3Dvhost- > net1,client=3D1,queues=3D8,dmas=3D[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2= ;txq3 > @80:04.3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7@80:04.7],dmathr=3D5 > 12' -- -i --nb-cores=3D4 --txd=3D1024 --rxd=3D1024 --rxq=3D8 --txq=3D8 > + ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=3Dvhost --vdev 'net_vhost0,= iface=3Dvhost- > net0,client=3D1,queues=3D8,dmas=3D[txq0@0000:00:04.0;txq1@0000:00:04.1;tx= q2@0 > 000:00:04.2;txq3@0000:00:04.3;txq4@0000:00:04.4;txq5@0000:00:04.5;txq6@ > 0000:00:04.6;txq7@0000:00:04.7],dmathr=3D512' \ > + --vdev > + 'net_vhost1,iface=3Dvhost-net1,client=3D1,queues=3D8,dmas=3D[txq0@0000:= 80:04.0 > + ;txq1@0000:80:04.1;txq2@0000:80:04.2;txq3@0000:80:04.3;txq4@0000:80:0 > 4 > + .4;txq5@0000:80:04.5;txq6@0000:80:04.6;txq7@0000:80:04.7],dmathr=3D512' > + -- -i --nb-cores=3D4 --txd=3D1024 --rxd=3D1024 --rxq=3D8 --txq=3D8 > testpmd>start >=20 > 2. Launch VM1 and VM2 using qemu 5.2.0:: > @@ -514,8 +515,8 @@ Test Case 8: VM2VM packed ring vhost-user/virtio-net > CBDMA enable test with tcp 1. Launch the Vhost sample by below commands:= : >=20 > rm -rf vhost-net* > - ./dpdk-testpmd -l 2-4 -n 4 --file-prefix=3Dvhost --vdev 'net_vhost0,= iface=3Dvhost- > net0,queues=3D1,dmas=3D[txq0@00:04.0],dmathr=3D512' \ > - --vdev 'net_vhost1,iface=3Dvhost- > net1,queues=3D1,dmas=3D[txq0@00:04.1],dmathr=3D512' -- -i --nb-cores=3D2= -- > txd=3D1024 --rxd=3D1024 > + ./dpdk-testpmd -l 2-4 -n 4 --file-prefix=3Dvhost --vdev 'net_vhost0,= iface=3Dvhost- > net0,queues=3D1,dmas=3D[txq0@0000:00:04.0],dmathr=3D512' \ > + --vdev > + 'net_vhost1,iface=3Dvhost-net1,queues=3D1,dmas=3D[txq0@0000:00:04.1],dm= athr=3D > + 512' -- -i --nb-cores=3D2 --txd=3D1024 --rxd=3D1024 > testpmd>start >=20 > 2. Launch VM1 and VM2 on socket 1 with qemu 5.2.0:: > @@ -674,8 +675,8 @@ Test Case 11: VM2VM virtio-net packed ring mergeable > 8 queues CBDMA enable test 1. Launch the Vhost sample by below commands:= : >=20 > rm -rf vhost-net* > - ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=3Dvhost --vdev 'net_vhost0,= iface=3Dvhost- > net0,queues=3D8,dmas=3D[txq0@00:04.0;txq1@00:04.1;txq2@00:04.2;txq3@00:04= . > 3;txq4@00:04.4;txq5@00:04.5;txq6@00:04.6;txq7@00:04.7],dmathr=3D512' \ > - --vdev 'net_vhost1,iface=3Dvhost- > net1,queues=3D8,dmas=3D[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2;txq3@80:04= . > 3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7@80:04.7],dmathr=3D512' -- = -i > --nb-cores=3D4 --txd=3D1024 --rxd=3D1024 --rxq=3D8 --txq=3D8 > + ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=3Dvhost --vdev 'net_vhost0,= iface=3Dvhost- > net0,queues=3D8,dmas=3D[txq0@0000:00:04.0;txq1@0000:00:04.1;txq2@0000:00:= 0 > 4.2;txq3@0000:00:04.3;txq4@0000:00:04.4;txq5@0000:00:04.5;txq6@0000:00: > 04.6;txq7@0000:00:04.7],dmathr=3D512' \ > + --vdev > + 'net_vhost1,iface=3Dvhost-net1,queues=3D8,dmas=3D[txq0@0000:80:04.0;txq= 1@000 > + > 0:80:04.1;txq2@0000:80:04.2;txq3@0000:80:04.3;txq4@0000:80:04.4;txq5@0 > + 000:80:04.5;txq6@0000:80:04.6;txq7@0000:80:04.7],dmathr=3D512' -- -i > + --nb-cores=3D4 --txd=3D1024 --rxd=3D1024 --rxq=3D8 --txq=3D8 > testpmd>start >=20 > 2. Launch VM1 and VM2 with qemu 5.2.0:: > @@ -731,8 +732,8 @@ Test Case 12: VM2VM virtio-net packed ring non- > mergeable 8 queues CBDMA enable t 1. Launch the Vhost sample by below > commands:: >=20 > rm -rf vhost-net* > - ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=3Dvhost --vdev 'net_vhost0,= iface=3Dvhost- > net0,queues=3D8,dmas=3D[txq0@00:04.0;txq1@00:04.1;txq2@00:04.2;txq3@00:04= . > 3;txq4@00:04.4;txq5@00:04.5;txq6@00:04.6;txq7@00:04.7],dmathr=3D512' \ > - --vdev 'net_vhost1,iface=3Dvhost- > net1,queues=3D8,dmas=3D[txq0@80:04.0;txq1@80:04.1;txq2@80:04.2;txq3@80:04= . > 3;txq4@80:04.4;txq5@80:04.5;txq6@80:04.6;txq7@80:04.7],dmathr=3D512' -- = -i > --nb-cores=3D4 --txd=3D1024 --rxd=3D1024 --rxq=3D8 --txq=3D8 > + ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=3Dvhost --vdev 'net_vhost0,= iface=3Dvhost- > net0,queues=3D8,dmas=3D[txq0@0000:00:04.0;txq1@0000:00:04.1;txq2@0000:00:= 0 > 4.2;txq3@0000:00:04.3;txq4@0000:00:04.4;txq5@0000:00:04.5;txq6@0000:00: > 04.6;txq7@0000:00:04.7],dmathr=3D512' \ > + --vdev > + 'net_vhost1,iface=3Dvhost-net1,queues=3D8,dmas=3D[txq0@0000:80:04.0;txq= 1@000 > + > 0:80:04.1;txq2@0000:80:04.2;txq3@0000:80:04.3;txq4@0000:80:04.4;txq5@0 > + 000:80:04.5;txq6@0000:80:04.6;txq7@0000:80:04.7],dmathr=3D512' -- -i > + --nb-cores=3D4 --txd=3D1024 --rxd=3D1024 --rxq=3D8 --txq=3D8 > testpmd>start >=20 > 2. Launch VM1 and VM2:: > -- > 2.25.1