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 94495A00E6 for ; Wed, 12 Jun 2019 08:21:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 823671D133; Wed, 12 Jun 2019 08:21:42 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 307AD1D124 for ; Wed, 12 Jun 2019 08:21:41 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jun 2019 23:21:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,363,1557212400"; d="scan'208";a="184136660" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga002.fm.intel.com with ESMTP; 11 Jun 2019 23:21:40 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 11 Jun 2019 23:21:40 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 11 Jun 2019 23:21:39 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.104]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.83]) with mapi id 14.03.0439.000; Wed, 12 Jun 2019 14:21:38 +0800 From: "Tu, Lijuan" To: "Han, YingyaX" , "dts@dpdk.org" CC: "Han, YingyaX" Thread-Topic: [dts] [PATCH V2]test_plan: add pmd rss performance test plan Thread-Index: AQHVIDC1TB56B7gjF0i8DbEYy4ug5KaXjcew Date: Wed, 12 Jun 2019 06:21:37 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BABA65E@SHSMSX101.ccr.corp.intel.com> References: <20190611163637.26029-1-yingyax.han@intel.com> In-Reply-To: <20190611163637.26029-1-yingyax.han@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2ZhZDgxNjktNDU3OS00NTZlLTk3YWEtZDI4ZjFmNDU5Nzk3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUWxHWmY1N2s1ZXNsYWtlZDVuQTJ4VUFWc3JhajBTUUluSjFOKzhyVVhnMk13MVpuWlN2eElZU05nelFjMnI5MiJ9 x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V2]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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of hanyingya > Sent: Wednesday, June 12, 2019 12:37 AM > To: dts@dpdk.org > Cc: Han, YingyaX > Subject: [dts] [PATCH V2]test_plan: add pmd rss performance test plan >=20 > Signed-off-by: hanyingya > --- > test_plans/pmd_test_plan.rst | 64 > ++++++++++++++++++++++++++++++++++++ > 1 file changed, 64 insertions(+) >=20 > diff --git a/test_plans/pmd_test_plan.rst b/test_plans/pmd_test_plan.rst > index 51a77ef..a077cfa 100644 > --- a/test_plans/pmd_test_plan.rst > +++ b/test_plans/pmd_test_plan.rst > @@ -169,6 +169,70 @@ The results are printed in the following table: > | 1518 | | | | | > +-------+---------+------------+--------+---------------------+ >=20 > +Test Case: Pmd RSS Performance > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > + > +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 | > + +=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D+ > + | 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 hand= le > 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=3D0x3 --txd=3D512 --rxd=3D512 --burst=3D32 --txpt=3D36 --= txht=3D0 --txwt=3D0 > \ > + --txfreet=3D32 --rxfreet=3D64 --txrst=3D32 --mbcache=3D128 --nb-core= s=3D2 > + --rxq=3D2 --txq=3D2 > + > +# 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 | > + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D+=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D+ > + | 64 | | | | | > + +------------+----------+----------+-------------+----------+ > + | 128 | | | | | > + +------------+----------+----------+-------------+----------+ > + | 256 | | | | | > + +------------+----------+----------+-------------+----------+ > + | 512 | | | | | > + +------------+----------+----------+-------------+----------+ > + | 1024 | | | | | > + +------------+----------+----------+-------------+----------+ > + | 1280 | | | | | > + +------------+----------+----------+-------------+----------+ > + | 1518 | | | | | > + +------------+----------+----------+-------------+----------+ > + > + > The memory partial writes are measured with the ``vtbwrun`` application > and printed in the following table::: >=20 > -- > 2.17.1