test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] eventdev_perf_test_plan.rst: Adding Eventdev feature performance Testplan
@ 2019-05-31  6:53 thaq
  2019-06-05  2:33 ` Tu, Lijuan
  2019-06-10  8:57 ` [dts] [PATCH v2] " thaq
  0 siblings, 2 replies; 4+ messages in thread
From: thaq @ 2019-05-31  6:53 UTC (permalink / raw)
  To: dts; +Cc: fmasood, avijay, jerinj, Thanseerulhaq

From: Thanseerulhaq <thaq@marvell.com>

Adding testcase for 1/2/4 NIC ports for eventdev features atomic, parallel, order stages.

Signed-off-by: Thanseerulhaq <thaq@marvell.com>
---
 test_plans/eventdev_perf_test_plan.rst | 276 +++++++++++++++++++++++++++++++++
 1 file changed, 276 insertions(+)
 create mode 100644 test_plans/eventdev_perf_test_plan.rst

diff --git a/test_plans/eventdev_perf_test_plan.rst b/test_plans/eventdev_perf_test_plan.rst
new file mode 100644
index 0000000..ed1312a
--- /dev/null
+++ b/test_plans/eventdev_perf_test_plan.rst
@@ -0,0 +1,276 @@
+.. SPDX-License-Identifier: BSD-3-Clause
+   Copyright (C) 2019 Marvell International Ltd.
+
+==============
+Eventdev Tests
+==============
+
+Prerequisites
+==============
+
+Each of the 10Gb/25Gb/40Gb/100Gb Ethernet* ports of the DUT is directly connected in
+full-duplex to a different port of the peer Ixia ports(traffic generator).
+
+Using TCL commands, the Ixia can be configured to send and receive traffic on a given set of ports.
+
+If using vfio the kernel must be >= 3.6+ and VT-d must be enabled in bios.When
+using vfio, use the following commands to load the vfio driver and bind it
+to the device under test ::
+
+   modprobe vfio
+   modprobe vfio-pci
+   usertools/dpdk-devbind.py --bind=vfio-pci device_bus_id
+   usertools/dpdk-devbind.py --bind=vfio-pci eventdev_device_bus_id
+
+Create huge pages
+=================
+mkdir -p /dev/huge
+mount -t hugetlbfs none /dev/huge
+echo 24 > /proc/sys/vm/nr_hugepages
+
+Configure limits of Eventdev devices
+====================================
+Set all eventdev devices sso and ssow limits to zero. Then set eventdev device under tests sso and ssow limits to non-zero values as per cores/queues requriments :: 
+   echo 0 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/sso
+   echo 0 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/ssow
+
+Example :: 
+   echo 0 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/tim
+   echo 1 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/npa
+   echo 16 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/sso
+   echo 32 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/ssow
+
+- ``eventdev_device_bus_id/limits/sso`` : Max limit `256`
+- ``eventdev_device_bus_id/limits/ssow``: Max limit `52`
+
+Test Case: Performance 1port atomic_atq test
+=============================================
+Description: Execute performance test with Atomic_atq type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_atq --stlist=A --wlcores=23
+
+    Parameters:
+       -l CORELIST        : List of cores to run on
+                            The argument format is <c1>[-c2][,c3[-c4],...]
+                            where c1, c2, etc are core indexes between 0 and 24
+       -w --pci-whitelist : Add a PCI device in white list.
+                            Only use the specified PCI devices. The argument format
+                            is <[domain:]bus:devid.func>. This option can be present
+                            several times (once per device).                                                
+       --prod_type_ethdev : use ethernet device as producer.
+       --nb_pkts          : number of packets to produce, 0 implies no limit
+       --test             : name of the test application to run
+       --stlist           : list of scheduled types of the stages
+       --wlcores          : list of lcore ids for workers
+
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+Test Case: Performance 1port parallel_atq test
+==============================================
+Description: Execute performance test with Parallel_atq type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_atq --stlist=P --wlcores=23
+
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+Test Case: Performance 1port ordered_atq test
+=============================================
+Description: Execute performance test with Ordered_atq type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_atq --stlist=O --wlcores=23
+
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+Test Case: Performance 1port atomic_queue test
+==============================================
+Description: Execute performance test with Atomic_queue type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue --stlist=A --wlcores=23
+   
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+Test Case: Performance 1port parallel_queue test
+================================================
+Description: Execute performance test with Parallel_queue type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue --stlist=P --wlcores=23
+
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+Test Case: Performance 1port ordered_queue test
+===============================================
+Description: Execute performance test with Ordered_queue type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue --stlist=O --wlcores=23
+
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+Test Case: Performance 2port atomic_atq test
+=============================================
+Description: Execute performance test with Atomic_atq type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device0_bus_id -w device1_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_atq --stlist=A --wlcores=23
+
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+Test Case: Performance 2port parallel_atq test
+==============================================
+Description: Execute performance test with Parallel_atq type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device0_bus_id -w device1_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_atq --stlist=P --wlcores=23
+
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+Test Case: Performance 2port ordered_atq test
+=============================================
+Description: Execute performance test with Ordered_atq type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device0_bus_id -w device1_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_atq --stlist=O --wlcores=23
+
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+Test Case: Performance 2port atomic_queue test
+==============================================
+Description: Execute performance test with Atomic_queue type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device0_bus_id -w device1_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue --stlist=A --wlcores=23
+   
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+Test Case: Performance 2port parallel_queue test
+================================================
+Description: Execute performance test with Parallel_queue type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device0_bus_id -w device1_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue --stlist=P --wlcores=23
+
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+Test Case: Performance 2port ordered_queue test
+===============================================
+Description: Execute performance test with Ordered_queue type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device0_bus_id -w device1_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue --stlist=O --wlcores=23
+
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+
+Test Case: Performance 4port atomic_atq test
+=============================================
+Description: Execute performance test with Atomic_atq type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device0_bus_id -w device1_bus_id -w device2_bus_id -w device3_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_atq --stlist=A --wlcores=23
+
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+Test Case: Performance 4port parallel_atq test
+==============================================
+Description: Execute performance test with Parallel_atq type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device0_bus_id -w device1_bus_id -w device2_bus_id -w device3_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_atq --stlist=P --wlcores=23
+
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+Test Case: Performance 4port ordered_atq test
+=============================================
+Description: Execute performance test with Ordered_atq type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device0_bus_id -w device1_bus_id -w device2_bus_id -w device3_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_atq --stlist=O --wlcores=23
+
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+Test Case: Performance 4port atomic_queue test
+==============================================
+Description: Execute performance test with Atomic_queue type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device0_bus_id -w device1_bus_id -w device2_bus_id -w device3_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue --stlist=A --wlcores=23
+   
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+Test Case: Performance 4port parallel_queue test
+================================================
+Description: Execute performance test with Parallel_queue type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device0_bus_id -w device1_bus_id -w device2_bus_id -w device3_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue --stlist=P --wlcores=23
+
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
+Test Case: Performance 4port ordered_queue test
+===============================================
+Description: Execute performance test with Ordered_queue type of stage in multi-flow situation for various cores.
+
+1. Run the sample with below command::
+
+   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device0_bus_id -w device1_bus_id -w device2_bus_id -w device3_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue --stlist=O --wlcores=23
+
+2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
+
+3. Observe the speed of packets received(Rx-rate) on Ixia.
+
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH] eventdev_perf_test_plan.rst: Adding Eventdev feature performance Testplan
  2019-05-31  6:53 [dts] [PATCH] eventdev_perf_test_plan.rst: Adding Eventdev feature performance Testplan thaq
@ 2019-06-05  2:33 ` Tu, Lijuan
  2019-06-10  8:57 ` [dts] [PATCH v2] " thaq
  1 sibling, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2019-06-05  2:33 UTC (permalink / raw)
  To: thaq, dts; +Cc: fmasood, avijay, jerinj

Some minor issues, could you please fix them?

Applying: eventdev_perf_test_plan.rst: Adding Eventdev feature performance Testplan
.git/rebase-apply/patch:44: trailing whitespace.
Set all eventdev devices sso and ssow limits to zero. Then set eventdev device under tests sso and ssow limits to non-zero values as per cores/queues requriments ::
.git/rebase-apply/patch:48: trailing whitespace.
Example ::
.git/rebase-apply/patch:72: trailing whitespace.
                            several times (once per device).
.git/rebase-apply/patch:114: trailing whitespace.

.git/rebase-apply/patch:186: trailing whitespace.

warning: squelched 2 whitespace errors
warning: 7 lines add whitespace errors.

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of thaq@marvell.com
> Sent: Friday, May 31, 2019 2:54 PM
> To: dts@dpdk.org
> Cc: fmasood@marvell.com; avijay@marvell.com; jerinj@marvell.com;
> Thanseerulhaq <thaq@marvell.com>
> Subject: [dts] [PATCH] eventdev_perf_test_plan.rst: Adding Eventdev feature
> performance Testplan
> 
> From: Thanseerulhaq <thaq@marvell.com>
> 
> Adding testcase for 1/2/4 NIC ports for eventdev features atomic, parallel,
> order stages.
> 
> Signed-off-by: Thanseerulhaq <thaq@marvell.com>
> ---
>  test_plans/eventdev_perf_test_plan.rst | 276
> +++++++++++++++++++++++++++++++++
>  1 file changed, 276 insertions(+)
>  create mode 100644 test_plans/eventdev_perf_test_plan.rst
> 
> diff --git a/test_plans/eventdev_perf_test_plan.rst
> b/test_plans/eventdev_perf_test_plan.rst
> new file mode 100644
> index 0000000..ed1312a
> --- /dev/null
> +++ b/test_plans/eventdev_perf_test_plan.rst
> @@ -0,0 +1,276 @@
> +.. SPDX-License-Identifier: BSD-3-Clause
> +   Copyright (C) 2019 Marvell International Ltd.
> +
> +==============
> +Eventdev Tests
> +==============
> +
> +Prerequisites
> +==============
> +
> +Each of the 10Gb/25Gb/40Gb/100Gb Ethernet* ports of the DUT is directly
> +connected in full-duplex to a different port of the peer Ixia ports(traffic
> generator).
> +
> +Using TCL commands, the Ixia can be configured to send and receive traffic
> on a given set of ports.
> +
> +If using vfio the kernel must be >= 3.6+ and VT-d must be enabled in
> +bios.When using vfio, use the following commands to load the vfio
> +driver and bind it to the device under test ::
> +
> +   modprobe vfio
> +   modprobe vfio-pci
> +   usertools/dpdk-devbind.py --bind=vfio-pci device_bus_id
> +   usertools/dpdk-devbind.py --bind=vfio-pci eventdev_device_bus_id
> +
> +Create huge pages
> +=================
> +mkdir -p /dev/huge
> +mount -t hugetlbfs none /dev/huge
> +echo 24 > /proc/sys/vm/nr_hugepages
> +
> +Configure limits of Eventdev devices
> +====================================
> +Set all eventdev devices sso and ssow limits to zero. Then set eventdev
> device under tests sso and ssow limits to non-zero values as per
> cores/queues requriments ::
> +   echo 0 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/sso
> +   echo 0 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/ssow
> +
> +Example ::
> +   echo 0 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/tim
> +   echo 1 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/npa
> +   echo 16 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/sso
> +   echo 32 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/ssow
> +
> +- ``eventdev_device_bus_id/limits/sso`` : Max limit `256`
> +- ``eventdev_device_bus_id/limits/ssow``: Max limit `52`
> +
> +Test Case: Performance 1port atomic_atq test
> +=============================================
> +Description: Execute performance test with Atomic_atq type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2
> + --test=pipeline_atq --stlist=A --wlcores=23
> +
> +    Parameters:
> +       -l CORELIST        : List of cores to run on
> +                            The argument format is <c1>[-c2][,c3[-c4],...]
> +                            where c1, c2, etc are core indexes between 0 and 24
> +       -w --pci-whitelist : Add a PCI device in white list.
> +                            Only use the specified PCI devices. The argument format
> +                            is <[domain:]bus:devid.func>. This option can be present
> +                            several times (once per device).
> +       --prod_type_ethdev : use ethernet device as producer.
> +       --nb_pkts          : number of packets to produce, 0 implies no limit
> +       --test             : name of the test application to run
> +       --stlist           : list of scheduled types of the stages
> +       --wlcores          : list of lcore ids for workers
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +Test Case: Performance 1port parallel_atq test
> +==============================================
> +Description: Execute performance test with Parallel_atq type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2
> + --test=pipeline_atq --stlist=P --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +Test Case: Performance 1port ordered_atq test
> +=============================================
> +Description: Execute performance test with Ordered_atq type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2
> + --test=pipeline_atq --stlist=O --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +Test Case: Performance 1port atomic_queue test
> +==============================================
> +Description: Execute performance test with Atomic_queue type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2
> + --test=pipeline_queue --stlist=A --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +Test Case: Performance 1port parallel_queue test
> +================================================
> +Description: Execute performance test with Parallel_queue type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2
> + --test=pipeline_queue --stlist=P --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +Test Case: Performance 1port ordered_queue test
> +===============================================
> +Description: Execute performance test with Ordered_queue type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2
> + --test=pipeline_queue --stlist=O --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +Test Case: Performance 2port atomic_atq test
> +=============================================
> +Description: Execute performance test with Atomic_atq type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device0_bus_id -w device1_bus_id -- --prod_type_ethdev --nb_pkts=0
> + --verbose 2 --test=pipeline_atq --stlist=A --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +Test Case: Performance 2port parallel_atq test
> +==============================================
> +Description: Execute performance test with Parallel_atq type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device0_bus_id -w device1_bus_id -- --prod_type_ethdev --nb_pkts=0
> + --verbose 2 --test=pipeline_atq --stlist=P --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +Test Case: Performance 2port ordered_atq test
> +=============================================
> +Description: Execute performance test with Ordered_atq type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device0_bus_id -w device1_bus_id -- --prod_type_ethdev --nb_pkts=0
> + --verbose 2 --test=pipeline_atq --stlist=O --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +Test Case: Performance 2port atomic_queue test
> +==============================================
> +Description: Execute performance test with Atomic_queue type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device0_bus_id -w device1_bus_id -- --prod_type_ethdev --nb_pkts=0
> + --verbose 2 --test=pipeline_queue --stlist=A --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +Test Case: Performance 2port parallel_queue test
> +================================================
> +Description: Execute performance test with Parallel_queue type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device0_bus_id -w device1_bus_id -- --prod_type_ethdev --nb_pkts=0
> + --verbose 2 --test=pipeline_queue --stlist=P --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +Test Case: Performance 2port ordered_queue test
> +===============================================
> +Description: Execute performance test with Ordered_queue type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device0_bus_id -w device1_bus_id -- --prod_type_ethdev --nb_pkts=0
> + --verbose 2 --test=pipeline_queue --stlist=O --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +
> +Test Case: Performance 4port atomic_atq test
> +=============================================
> +Description: Execute performance test with Atomic_atq type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device0_bus_id -w device1_bus_id -w device2_bus_id -w device3_bus_id
> + -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_atq
> + --stlist=A --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +Test Case: Performance 4port parallel_atq test
> +==============================================
> +Description: Execute performance test with Parallel_atq type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device0_bus_id -w device1_bus_id -w device2_bus_id -w device3_bus_id
> + -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_atq
> + --stlist=P --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +Test Case: Performance 4port ordered_atq test
> +=============================================
> +Description: Execute performance test with Ordered_atq type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device0_bus_id -w device1_bus_id -w device2_bus_id -w device3_bus_id
> + -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_atq
> + --stlist=O --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +Test Case: Performance 4port atomic_queue test
> +==============================================
> +Description: Execute performance test with Atomic_queue type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device0_bus_id -w device1_bus_id -w device2_bus_id -w device3_bus_id
> + -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue
> + --stlist=A --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +Test Case: Performance 4port parallel_queue test
> +================================================
> +Description: Execute performance test with Parallel_queue type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device0_bus_id -w device1_bus_id -w device2_bus_id -w device3_bus_id
> + -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue
> + --stlist=P --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> +Test Case: Performance 4port ordered_queue test
> +===============================================
> +Description: Execute performance test with Ordered_queue type of stage in
> multi-flow situation for various cores.
> +
> +1. Run the sample with below command::
> +
> +   # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> + device0_bus_id -w device1_bus_id -w device2_bus_id -w device3_bus_id
> + -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue
> + --stlist=O --wlcores=23
> +
> +2. Use Ixia to send huge number of packets(with same 5-tuple and
> +different 5-tuple)
> +
> +3. Observe the speed of packets received(Rx-rate) on Ixia.
> +
> --
> 1.8.3.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dts] [PATCH v2] Adding Eventdev feature performance Testplan
  2019-05-31  6:53 [dts] [PATCH] eventdev_perf_test_plan.rst: Adding Eventdev feature performance Testplan thaq
  2019-06-05  2:33 ` Tu, Lijuan
@ 2019-06-10  8:57 ` thaq
  2019-06-12  2:59   ` Tu, Lijuan
  1 sibling, 1 reply; 4+ messages in thread
From: thaq @ 2019-06-10  8:57 UTC (permalink / raw)
  To: dts; +Cc: fmasood, avijay, jerinj, Thanseerulhaq

From: Thanseerulhaq <thaq@marvell.com>

test_plans/eventdev_perf_test_plan.rst: Adding testcase for 1/2/4 NIC ports for eventdev features atomic, parallel, order stages.
Signed-off-by: Thanseerulhaq <thaq@marvell.com>
---
 test_plans/eventdev_perf_test_plan.rst | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/test_plans/eventdev_perf_test_plan.rst b/test_plans/eventdev_perf_test_plan.rst
index ed1312a..cfe19ef 100644
--- a/test_plans/eventdev_perf_test_plan.rst
+++ b/test_plans/eventdev_perf_test_plan.rst
@@ -30,11 +30,11 @@ echo 24 > /proc/sys/vm/nr_hugepages
 
 Configure limits of Eventdev devices
 ====================================
-Set all eventdev devices sso and ssow limits to zero. Then set eventdev device under tests sso and ssow limits to non-zero values as per cores/queues requriments :: 
+Set all eventdev devices sso and ssow limits to zero. Then set eventdev device under tests sso and ssow limits to non-zero values as per cores/queues requriments ::
    echo 0 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/sso
    echo 0 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/ssow
 
-Example :: 
+Example ::
    echo 0 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/tim
    echo 1 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/npa
    echo 16 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/sso
@@ -58,7 +58,7 @@ Description: Execute performance test with Atomic_atq type of stage in multi-flo
        -w --pci-whitelist : Add a PCI device in white list.
                             Only use the specified PCI devices. The argument format
                             is <[domain:]bus:devid.func>. This option can be present
-                            several times (once per device).                                                
+                            several times (once per device).
        --prod_type_ethdev : use ethernet device as producer.
        --nb_pkts          : number of packets to produce, 0 implies no limit
        --test             : name of the test application to run
@@ -100,7 +100,7 @@ Description: Execute performance test with Atomic_queue type of stage in multi-f
 1. Run the sample with below command::
 
    # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue --stlist=A --wlcores=23
-   
+
 2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
 
 3. Observe the speed of packets received(Rx-rate) on Ixia.
@@ -172,7 +172,7 @@ Description: Execute performance test with Atomic_queue type of stage in multi-f
 1. Run the sample with below command::
 
    # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device0_bus_id -w device1_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue --stlist=A --wlcores=23
-   
+
 2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
 
 3. Observe the speed of packets received(Rx-rate) on Ixia.
@@ -245,7 +245,7 @@ Description: Execute performance test with Atomic_queue type of stage in multi-f
 1. Run the sample with below command::
 
    # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w device0_bus_id -w device1_bus_id -w device2_bus_id -w device3_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue --stlist=A --wlcores=23
-   
+
 2. Use Ixia to send huge number of packets(with same 5-tuple and different 5-tuple)
 
 3. Observe the speed of packets received(Rx-rate) on Ixia.
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH v2] Adding Eventdev feature performance Testplan
  2019-06-10  8:57 ` [dts] [PATCH v2] " thaq
@ 2019-06-12  2:59   ` Tu, Lijuan
  0 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2019-06-12  2:59 UTC (permalink / raw)
  To: thaq, dts; +Cc: fmasood, avijay, jerinj

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of thaq@marvell.com
> Sent: Monday, June 10, 2019 4:58 PM
> To: dts@dpdk.org
> Cc: fmasood@marvell.com; avijay@marvell.com; jerinj@marvell.com;
> Thanseerulhaq <thaq@marvell.com>
> Subject: [dts] [PATCH v2] Adding Eventdev feature performance Testplan
> 
> From: Thanseerulhaq <thaq@marvell.com>
> 
> test_plans/eventdev_perf_test_plan.rst: Adding testcase for 1/2/4 NIC ports
> for eventdev features atomic, parallel, order stages.
> Signed-off-by: Thanseerulhaq <thaq@marvell.com>
> ---
>  test_plans/eventdev_perf_test_plan.rst | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/test_plans/eventdev_perf_test_plan.rst
> b/test_plans/eventdev_perf_test_plan.rst
> index ed1312a..cfe19ef 100644
> --- a/test_plans/eventdev_perf_test_plan.rst
> +++ b/test_plans/eventdev_perf_test_plan.rst
> @@ -30,11 +30,11 @@ echo 24 > /proc/sys/vm/nr_hugepages
> 
>  Configure limits of Eventdev devices
>  ====================================
> -Set all eventdev devices sso and ssow limits to zero. Then set eventdev
> device under tests sso and ssow limits to non-zero values as per
> cores/queues requriments ::
> +Set all eventdev devices sso and ssow limits to zero. Then set eventdev
> device under tests sso and ssow limits to non-zero values as per
> cores/queues requriments ::
>     echo 0 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/sso
>     echo 0 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/ssow
> 
> -Example ::
> +Example ::
>     echo 0 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/tim
>     echo 1 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/npa
>     echo 16 > /sys/bus/pci/devices/eventdev_device_bus_id/limits/sso
> @@ -58,7 +58,7 @@ Description: Execute performance test with Atomic_atq
> type of stage in multi-flo
>         -w --pci-whitelist : Add a PCI device in white list.
>                              Only use the specified PCI devices. The argument format
>                              is <[domain:]bus:devid.func>. This option can be present
> -                            several times (once per device).
> +                            several times (once per device).
>         --prod_type_ethdev : use ethernet device as producer.
>         --nb_pkts          : number of packets to produce, 0 implies no limit
>         --test             : name of the test application to run
> @@ -100,7 +100,7 @@ Description: Execute performance test with
> Atomic_queue type of stage in multi-f  1. Run the sample with below
> command::
> 
>     # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> device_bus_id -- --prod_type_ethdev --nb_pkts=0 --verbose 2 --
> test=pipeline_queue --stlist=A --wlcores=23
> -
> +
>  2. Use Ixia to send huge number of packets(with same 5-tuple and different
> 5-tuple)
> 
>  3. Observe the speed of packets received(Rx-rate) on Ixia.
> @@ -172,7 +172,7 @@ Description: Execute performance test with
> Atomic_queue type of stage in multi-f  1. Run the sample with below
> command::
> 
>     # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> device0_bus_id -w device1_bus_id -- --prod_type_ethdev --nb_pkts=0 --
> verbose 2 --test=pipeline_queue --stlist=A --wlcores=23
> -
> +
>  2. Use Ixia to send huge number of packets(with same 5-tuple and different
> 5-tuple)
> 
>  3. Observe the speed of packets received(Rx-rate) on Ixia.
> @@ -245,7 +245,7 @@ Description: Execute performance test with
> Atomic_queue type of stage in multi-f  1. Run the sample with below
> command::
> 
>     # ./build/dpdk-test-eventdev -l 22-23 -w eventdev_device_bus_id -w
> device0_bus_id -w device1_bus_id -w device2_bus_id -w device3_bus_id -- --
> prod_type_ethdev --nb_pkts=0 --verbose 2 --test=pipeline_queue --stlist=A --
> wlcores=23
> -
> +
>  2. Use Ixia to send huge number of packets(with same 5-tuple and different
> 5-tuple)
> 
>  3. Observe the speed of packets received(Rx-rate) on Ixia.
> --
> 1.8.3.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-12  2:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-31  6:53 [dts] [PATCH] eventdev_perf_test_plan.rst: Adding Eventdev feature performance Testplan thaq
2019-06-05  2:33 ` Tu, Lijuan
2019-06-10  8:57 ` [dts] [PATCH v2] " thaq
2019-06-12  2:59   ` Tu, Lijuan

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).