From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id D51B1A00E6 for ; Tue, 11 Jun 2019 04:28:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 880CB1C203; Tue, 11 Jun 2019 04:28:03 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 3A9A21C1FC for ; Tue, 11 Jun 2019 04:28:01 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jun 2019 19:28:00 -0700 X-ExtLoop1: 1 Received: from meijuan2.sh.intel.com ([10.67.119.150]) by FMSMGA003.fm.intel.com with ESMTP; 10 Jun 2019 19:28:00 -0700 From: hanyingya To: dts@dpdk.org Cc: hanyingya Date: Tue, 11 Jun 2019 10:28:52 +0000 Message-Id: <20190611102852.22601-1-yingyax.han@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1]test_plan: add pmd rss performance test plan 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" Signed-off-by: hanyingya --- test_plans/pmd_test_plan.rst | 62 ++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/test_plans/pmd_test_plan.rst b/test_plans/pmd_test_plan.rst index 51a77ef..b617585 100644 --- a/test_plans/pmd_test_plan.rst +++ b/test_plans/pmd_test_plan.rst @@ -169,6 +169,68 @@ The results are printed in the following table: | 1518 | | | | | +-------+---------+------------+--------+---------------------+ +Test Case: Pmd RSS Performance +=============================================== + +The RSS feature is designed to improve networking performance by load balancing +the packets received from a NIC port to multiple NIC RX queues. + +In order to get the best pmdrss performance, Server configuration are required: + +- BIOS + + * Intel Hyper-Threading Technology is ENABLED + * Other: reference to 'Test Case: Single Core Performance Benchmarking' + +Run application using a core mask for the appropriate thread and core +settings given in the following: + + +----+----------+-----------+-----------------------+ + | | Rx Ports | Rx Queues | Sockets/Cores/Threads | + +====+==========+===========+=======================+ + | 1 | 1 | 2 | 1S/1C/2T | + +----+----------+-----------+-----------------------+ + | 2 | 2 | 2 | 1S/2C/1T | + +----+----------+-----------+-----------------------+ + | 3 | 2 | 2 | 1S/4C/1T | + +----+----------+-----------+-----------------------+ + | 4 | 2 | 2 | 1S/2C/2T | + +----+----------+-----------+-----------------------+ + | 5 | 2 | 3 | 1S/3C/2T | + +----+----------+-----------+-----------------------+ + | 6 | 2 | 3 | 1S/6C/1T | + +----+----------+-----------+-----------------------+ + +``note``: A queue can be handled by only one core, but one core can handle a couple of queues. + +#. Start testpmd and start io forwading with the above parameters. + For example, 1S/1C/2T:: + + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x2000000000000030000000 -n 4 -- -i \ + --portmask=0x3 --txd=512 --rxd=512 --burst=32 --txpt=36 --txht=0 --txwt=0 \ + --txfreet=32 --rxfreet=64 --txrst=32 --mbcache=128 --nb-cores=2 --rxq=2 --txq=2 + +# Send packet with frame size from 64bytes to 1518bytes with ixia traffic generator, + record the perfromance numbers: + + +------------+----------+----------+-------------+----------+ + | Frame Size | Rx ports | S/C/T | Throughput | Linerate | + +============+==========+==========+=============+==========+ + | 64 | | | | | + +------------+----------+----------+-------------+----------+ + | 128 | | | | | + +------------+----------+----------+-------------+----------+ + | 256 | | | | | + +------------+----------+----------+-------------+----------+ + | 512 | | | | | + +------------+----------+----------+-------------+----------+ + | 1024 | | | | | + +------------+----------+----------+-------------+----------+ + | 1280 | | | | | + +------------+----------+----------+-------------+----------+ + | 1518 | | | | | + +------------+----------+----------+-------------+----------+ + The memory partial writes are measured with the ``vtbwrun`` application and printed in the following table::: -- 2.17.1