From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0081.outbound.protection.outlook.com [104.47.33.81]) by dpdk.org (Postfix) with ESMTP id 4B18D1D90 for ; Sun, 10 Dec 2017 13:33:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=k82AFU9pXBn+8r+lf7hzUlA+vAyvrThp3Xe/f06iUlQ=; b=hj0VSaeaAg1SbrAuAyQziVvVkOsghhAK6P4x5bESYqnjCdb0jEe/DozjDIObUEHVl45OPec1McOAaaiDgKkW5P3Jh5p82Cv6wotnTTWqC81+XkvPK9hWX7a/pvBj9YrANrSmoaQVPe3Jj6kQqpD4sHJa52ws0KLC8Gp0IerFxs8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (171.76.104.209) by CO2PR07MB2517.namprd07.prod.outlook.com (10.166.200.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.282.5; Sun, 10 Dec 2017 12:33:21 +0000 Date: Sun, 10 Dec 2017 18:03:07 +0530 From: Jerin Jacob To: Pavan Nikhilesh Cc: jerin.jacobkollanukkaran@cavium.com, gage.eads@intel.com, harry.van.haaren@intel.com, bruce.richardson@intel.com, hemant.agrawal@nxp.com, nipun.gupta@nxp.com, nikhil.rao@intel.com, dev@dpdk.org Message-ID: <20171210123306.GL11770@jerin> References: <20171130072406.15605-1-pbhagavatula@caviumnetworks.com> <20171130072406.15605-3-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171130072406.15605-3-pbhagavatula@caviumnetworks.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Originating-IP: [171.76.104.209] X-ClientProxiedBy: BM1PR01CA0081.INDPRD01.PROD.OUTLOOK.COM (10.174.208.149) To CO2PR07MB2517.namprd07.prod.outlook.com (10.166.200.151) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a6b4f924-8a0e-474e-428c-08d53fca3492 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307); SRVR:CO2PR07MB2517; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2517; 3:3RJW+pqVhfjY9hZ6ZGBwjKEn0w0o3qZDiwyb4N2xaEoekCcsCBOkdLM0m8f9PKldRSq9gXI3+4ZMWWRqq8Ebp59x1hrhhYA4QLp01hMftMwet+lWzjl8iOyDNDByR5bKOMRLK+WtHpiMqzSB+5GMgSYj5NZc99kHv303nBvUz6Pqy8fY2OFsT5cUGDvWgFPNsD1IIw1Rke3Wh1eIGdnoIv6Dv0bDS8A8G3HRCAZ0DyATAs6bzXjDOxod964xT2UH; 25:ooFMtszw4Cq3rwH75IJ3FEjw2YHhHKAGZVxzmtKGW3GzhA270B3IxDx0obHm9gRVFM3zxjx1ECnhLbirfoAHYsWUJ1RTkE1gNcInMnD0jOpA2dCG7bmew/1hoXhNBCM/4DJTz1lJe/nodDqnqHKnO5l0iQjgUkBdfAntnz13SzcIJaxmWAk6TxWGIbgQBTBl2BI5M3n/OXYNPw095DUUE2C+ToyRZDbfqAvMCUu2kAl8y1sI4zd73scrdOq9y29xnLt2K1kQX+fkZ4G2ygx0u33jQnJDbqOZuHQ3Yh6tnI9kNkeRZL1jknvg8EGc8pbtSjCb2HGN2oOkX4qjQgPJgaY3oFNVJg4/V2fvlgPyaqQ=; 31:YvbiiNeotd1QDgS6VEFH1+8SkJx5aYipY8DRp4dYzUM9karXe+7AgGBahvCXNhGH3JUIGbvcef8u9szcz+cZIjDQ4X2XAPeOoaPimxdlEm81IW9GVgOb1pER9CR18PQSDRVQsYxqIIk4KWslj4CWxWWtFR0jPtffROxzBB+iTiY+yBBieiILZWxWFBNKHehpFzgOUAY0jus0+13C2hWdh70aqQEE5vLrA2aWFPExOiU= X-MS-TrafficTypeDiagnostic: CO2PR07MB2517: X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2517; 20:hnT1OJgF6bMT6AK4JFSIOMbrJx4qU85pBdIcNWss2Lt47bHKBQrQG6VE4hJGoY3ggp4AkJddcgcU0/2P+rtkMkKcSVW+ofb8AyoyVOfVaK+1xG+yv5yd3repv/mRCj7OKJ5SFRkojUH2REY80jZvWjN1evFnBQLYiEYukK/n5nKgmbn5+tSuixjucy+57g57befF3jWBx8iOl4ssOjkp7WloXjiRdodQdJmhvc2BHsmw41+EPO0uVpYbhRdowCjdacYYU3g8Mtp+qR8e7HwdLFV6e8aYJmztMqOv3dM8XVbtLPWOp8FIsu6O0gg7bp9Sotwo1zX0VV4rLLCZ1vi5bgBysIxwqpuIBvT94wmgobuIeUgwr781adCEPHPuCr3RbgMV1IUNrg4RABdaVI+rKV2T9uVn7ESOjKxl48shCv3z9XvKc7kjoiUTG3UWf4mfzNkpVfiNDi9edu8o3f+A+LyOhmoeJ7dtUd5w6V7Dh7E7giwP0z8mrmCynpgdM4Ozpxjt2Rcz4uxRdhwvobn2ObGTTnEdRVUDyqJsJlLvY+vtDhcBN53JnawTXWKi0pkb7MelsrI1f5dvlngmVl0jkYs2cIXEKHwhlVZhlF7sTDU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(93006095)(10201501046)(3231022)(3002001)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123564025)(20161123560025)(20161123562025)(6072148)(201708071742011); SRVR:CO2PR07MB2517; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CO2PR07MB2517; X-Microsoft-Exchange-Diagnostics: 1; CO2PR07MB2517; 4:xiEhxSNeREJLZB7TK7lGMfhw3v1wNy28jgOGnJ4YZpJxZAYRmKJJKD0VcWRrwVLOPvv+eaKrUqWtAS+AxMFzKNgFUkmxN3OF27gjJXW+n5sHspH2d3Sm/5nMpbVlDn9sAW37cU9xIfQG6jdof4IW3lx2C7XgGngare/UBsVT+FKgbGxGJJjy7FPSqcYL+X9wkBAAzHvPfb1B/YkH6vkSgPHpKeqiGOaQ9DHUhguNpfVG2RYaFKRqog2ZrNUX6g+AQRhMuKjzFiyMRtaGxFWyNPmGvsenPsitTcmHmatWr9d/FYozBgytEpgZ3fr4ac3ZFTlHdgr9p2QoYvYtzwuGGKgpS+3ZyDXecWwWisg98WY= X-Forefront-PRVS: 05177D47DC X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(366004)(346002)(13464003)(199004)(189003)(50466002)(6862004)(66066001)(33716001)(4326008)(16586007)(7736002)(53936002)(97736004)(58126008)(9686003)(59450400001)(33656002)(478600001)(106356001)(105586002)(42882006)(72206003)(305945005)(6636002)(229853002)(5660300001)(2906002)(6666003)(81156014)(1076002)(8656006)(52116002)(2950100002)(16526018)(8676002)(6246003)(68736007)(76176011)(47776003)(316002)(33896004)(81166006)(6496006)(8936002)(6116002)(55016002)(23726003)(83506002)(25786009)(3846002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR07MB2517; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CO2PR07MB2517; 23:vxNWeMlrk1pyGisRr+9ByRjWB1ZL2vE4XNzhypEbq?= =?us-ascii?Q?eYe4VnBE6+cFsDaQznigmY4X6cbqk0sa12f92VMhSA5qEA+LfIoWz+6VVLGq?= =?us-ascii?Q?FNTlLszPTZc/wdKv7uiX/hIc53dBgTQvhTdEPQZxzHvchxH7V8IWBOObqSYa?= =?us-ascii?Q?NecA59I6YEiTfXIXY/5a3myJpUG/LylsKYpSvs8NQFtmkenWa20/KkymwhFx?= =?us-ascii?Q?h/InNC8paDzx3b1mqemy9bK9OwJKDkZ1ggqt2G1+ZUArwXlARij4buJ/3I7A?= =?us-ascii?Q?wPAJ/UR4baqj7TP+3cVyI66JHiEu3nDKbfgdJjUl0XfrYMz10UNC9ium7kVY?= =?us-ascii?Q?lxRYZlkQxGuazLLPysUmWzKkQ47JlYlj85deWvTFQlCB2BEsJWHY/k1iZ9W3?= =?us-ascii?Q?jkJqKScJs9vrUVUIn6glnA7h932Y1moTiwTBM38+NhaDVp9K2lv62pvfa5/Y?= =?us-ascii?Q?rHcAr2zP6Da2Nbdtjj3NX9BhjlYn+DiE2DDLlyIGijKT4eLEHULp3lOl9QHC?= =?us-ascii?Q?1pG8VUJ7ib2vQX5E9IlvmJv1G2BAJVPf40IqUydscwUV6SOM7Wv+Y0qLeQp0?= =?us-ascii?Q?pcBR8M+9hVPUL9SIto5YqA6694DIk+LI42G1NZbLhEvulN0IdfJg7qJZEyOu?= =?us-ascii?Q?42udn2MYaUFmMHFMbz2lMI+U2Rww7YFXXBXD7EQVQU8fGQ3X4KcYpiJyFkSY?= =?us-ascii?Q?K64EcraZaiIogDcXztyvdVHmyuwYSenRFeH7FqBmnenss4WTm8zECjZ0fbHc?= =?us-ascii?Q?fW4vT0AiBGgi200viLpx9P3b4qerHKJg+od8owwnv3HO/hDH2d53ccIKCzgB?= =?us-ascii?Q?AsJkZD7UChNOSOP5WX4y3P3yMk228qk15IDmns8x3PelJw5DgUew+b7cNUqB?= =?us-ascii?Q?UQvH5OoCljsxmACj3s2rARAZNRYimDE1kUI48Io78LGJS2JDLAYsm+t3tQDS?= =?us-ascii?Q?h+Zx6HWW1FWxx+mXsFY4kQ66QAh6LOwxTNG5/t41TxwqRz/qRbgeREXOoF5y?= =?us-ascii?Q?6X+qKR0+omr9k3x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patdutGRCj1PeJnnjXgyx5ptcj97ZAzb8i+ZmPgepSbyg1YxCIAl9NFVrx1hARZZLRWZY2zV9tO09pBj+oVznOvh5z0yoD5T0Djdj3xSFFsbipoWEiYHLu7wgm1GQJDomiTRpCL1MOvfDoqupPvBrjZnqMH4xV SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2017 12:33:21.2299 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a6b4f924-8a0e-474e-428c-08d53fca3492 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB2517 Subject: Re: [dpdk-dev] [PATCH 3/4] app/eventdev: add perf pipeline test X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Dec 2017 12:33:26 -0000 -----Original Message----- > Date: Thu, 30 Nov 2017 12:54:05 +0530 > From: Pavan Nikhilesh > To: jerin.jacobkollanukkaran@cavium.com, gage.eads@intel.com, > harry.van.haaren@intel.com, bruce.richardson@intel.com, > hemant.agrawal@nxp.com, nipun.gupta@nxp.com, nikhil.rao@intel.com > Cc: dev@dpdk.org, Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH 3/4] app/eventdev: add perf pipeline test > X-Mailer: git-send-email 2.14.1 > > This is a performance test case that aims at testing the following: > 1. Measure the end-to-end performance of an event dev with a ethernet dev. > 2. Maintain packet ordering from Rx to Tx. > > The perf pipeline test configures the eventdev with Q queues and P ports, > where Q is nb_ethdev * nb_stages and P is nb_workers. > > The user can choose the number of workers and number of stages through the > --wlcores and the --stlist application command line arguments respectively. > The probed ethernet devices act as producer(s) for this application. > > The ethdevs are configured as event Rx adapters that enables them to > injects events to eventdev based the first stage schedule type list > requested by the user through --stlist the command line argument. > > Based on the number of stages to process(selected through --stlist), > the application forwards the event to next upstream queue and when it > reaches last stage in the pipeline if the event type is ATOMIC it is > enqueued onto ethdev Tx queue else to maintain ordering the event type is > set to ATOMIC and enqueued onto the last stage queue. > On packet Tx, application increments the number events processed and print > periodically in one second to get the number of events processed in one > second. > > Note: The --prod_type_ethdev is mandatory for running the application. > > Example command to run perf pipeline test: > sudo build/app/dpdk-test-eventdev -c 0xf -s 0x8 --vdev=event_sw0 -- \ > --test=perf_pipeline --wlcore=1 --prod_type_ethdev --stlist=ao > > Signed-off-by: Pavan Nikhilesh > --- > app/test-eventdev/Makefile | 1 + > app/test-eventdev/test_perf_pipeline.c | 548 +++++++++++++++++++++++++++++++++ > 2 files changed, 549 insertions(+) > create mode 100644 app/test-eventdev/test_perf_pipeline.c > > diff --git a/app/test-eventdev/Makefile b/app/test-eventdev/Makefile > index dcb2ac4..9bd8ecd 100644 > --- a/app/test-eventdev/Makefile > +++ b/app/test-eventdev/Makefile > @@ -50,5 +50,6 @@ SRCS-y += test_order_atq.c > SRCS-y += test_perf_common.c > SRCS-y += test_perf_queue.c > SRCS-y += test_perf_atq.c > +SRCS-y += test_perf_pipeline.c atq support is not available in sw driver. So please rework this test to make separate fast path functions for queue and atq like other performance tests in this directory. This will further reduce the complexity in fast path and Please split the files also to depict the model.Something like, test_perf_pipeline_common.c test_perf_pipeline_queue.c test_perf_pipeline_atq.c