test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Wang, Yinan" <yinan.wang@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Wang, Yinan" <yinan.wang@intel.com>
Subject: Re: [dts] [PATCH v1] test_plans/vm2vm_virtio_net_perf
Date: Thu, 29 Jul 2021 12:02:08 +0000	[thread overview]
Message-ID: <5139af2bbb5b44db8d6a7888dae9057a@intel.com> (raw)
In-Reply-To: <20210729164726.1264275-1-yinan.wang@intel.com>



> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Yinan Wang
> Sent: 2021年7月30日 0:47
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>
> Subject: [dts] [PATCH v1] test_plans/vm2vm_virtio_net_perf
> 
> 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 should users get the right parameters in their own env.

> 
> Signed-off-by: Yinan Wang <yinan.wang@intel.com>
> ---
>  .../vm2vm_virtio_net_perf_test_plan.rst       | 25 ++++++++++---------
>  1 file changed, 13 insertions(+), 12 deletions(-)
> 
> 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, need qemu
> version > LTS 4.2.1, dut to old qemu exist reconnect issue when multi-queues
> test.
> +3.Blow cases which have cbdma usage should add dpdk local path to support
> async vhostpmd.

Local path ? I guess it is local patch.
Could you please describe your local patch ? why we need them?

> 
>  Test flow
>  =========
> @@ -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 commands::
> 
>      rm -rf vhost-net*
> -    ./dpdk-testpmd -l 2-4 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-
> net0,queues=1,dmas=[txq0@00:04.0],dmathr=512' \
> -    --vdev 'net_vhost1,iface=vhost-
> net1,queues=1,dmas=[txq0@00:04.1],dmathr=512'  -- -i --nb-cores=2 --
> txd=1024 --rxd=1024
> +    ./dpdk-testpmd -l 2-4 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-
> net0,queues=1,dmas=[txq0@0000:00:04.0],dmathr=512' \
> +    --vdev
> + 'net_vhost1,iface=vhost-net1,queues=1,dmas=[txq0@0000:00:04.1],dmathr=
> + 512'  -- -i --nb-cores=2 --txd=1024 --rxd=1024
>      testpmd>start
> 
>  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::
> 
>      rm -rf vhost-net*
> -    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-
> net0,client=1,queues=8,dmas=[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=5
> 12' \
> -    --vdev 'net_vhost1,iface=vhost-
> net1,client=1,queues=8,dmas=[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=5
> 12'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8
> +    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-
> net0,client=1,queues=8,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1;txq2@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=512' \
> +    --vdev
> + 'net_vhost1,iface=vhost-net1,client=1,queues=8,dmas=[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=512'
> + -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8
>      testpmd>start
> 
>  2. Launch VM1 and VM2 using qemu 5.2.0::
> @@ -366,8 +367,8 @@ Test Case 6: VM2VM virtio-net split ring non-mergeable
> 8 queues CBDMA enable tes  1. Launch the Vhost sample by below commands::
> 
>      rm -rf vhost-net*
> -    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-
> net0,client=1,queues=8,dmas=[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=5
> 12' \
> -    --vdev 'net_vhost1,iface=vhost-
> net1,client=1,queues=8,dmas=[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=5
> 12'  -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8
> +    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-
> net0,client=1,queues=8,dmas=[txq0@0000:00:04.0;txq1@0000:00:04.1;txq2@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=512' \
> +    --vdev
> + 'net_vhost1,iface=vhost-net1,client=1,queues=8,dmas=[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=512'
> + -- -i --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8
>      testpmd>start
> 
>  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::
> 
>      rm -rf vhost-net*
> -    ./dpdk-testpmd -l 2-4 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-
> net0,queues=1,dmas=[txq0@00:04.0],dmathr=512' \
> -    --vdev 'net_vhost1,iface=vhost-
> net1,queues=1,dmas=[txq0@00:04.1],dmathr=512'  -- -i --nb-cores=2 --
> txd=1024 --rxd=1024
> +    ./dpdk-testpmd -l 2-4 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-
> net0,queues=1,dmas=[txq0@0000:00:04.0],dmathr=512' \
> +    --vdev
> + 'net_vhost1,iface=vhost-net1,queues=1,dmas=[txq0@0000:00:04.1],dmathr=
> + 512'  -- -i --nb-cores=2 --txd=1024 --rxd=1024
>      testpmd>start
> 
>  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::
> 
>      rm -rf vhost-net*
> -    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-
> net0,queues=8,dmas=[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=512' \
> -    --vdev 'net_vhost1,iface=vhost-
> net1,queues=8,dmas=[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=512'  -- -i
> --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8
> +    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-
> net0,queues=8,dmas=[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=512' \
> +    --vdev
> + 'net_vhost1,iface=vhost-net1,queues=8,dmas=[txq0@0000:80:04.0;txq1@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=512'  -- -i
> + --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8
>      testpmd>start
> 
>  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::
> 
>      rm -rf vhost-net*
> -    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-
> net0,queues=8,dmas=[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=512' \
> -    --vdev 'net_vhost1,iface=vhost-
> net1,queues=8,dmas=[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=512'  -- -i
> --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8
> +    ./dpdk-testpmd -l 1-5 -n 4 --file-prefix=vhost --vdev 'net_vhost0,iface=vhost-
> net0,queues=8,dmas=[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=512' \
> +    --vdev
> + 'net_vhost1,iface=vhost-net1,queues=8,dmas=[txq0@0000:80:04.0;txq1@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=512'  -- -i
> + --nb-cores=4 --txd=1024 --rxd=1024 --rxq=8 --txq=8
>      testpmd>start
> 
>  2. Launch VM1 and VM2::
> --
> 2.25.1


      reply	other threads:[~2021-07-29 12:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-29 16:47 Yinan Wang
2021-07-29 12:02 ` Tu, Lijuan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5139af2bbb5b44db8d6a7888dae9057a@intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=yinan.wang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).