From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0052.outbound.protection.outlook.com [104.47.37.52]) by dpdk.org (Postfix) with ESMTP id 6C66825E5 for ; Mon, 11 Dec 2017 16:46:14 +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=QOGvNXmF3SR2tei4AYtCT26aU/YTAGeKaYfG/qBblVg=; b=gLkMLswi15h8aNs3j0buFUAOot7LKEhIPBrAyRP7T3yH46ZAZpaUWr4G9Fa4bYbMeEo6CR/0x1OaUfo5dBPqaidsa3mGKlAS2h/vXNDOng+FbsxdOnbjaC0/SFna/l6YeJ4BCntiOsTMA0bSiUEJGU+GctC2nfoWdGrPglJMKu8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (171.76.104.209) by BN3PR07MB2513.namprd07.prod.outlook.com (10.167.4.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Mon, 11 Dec 2017 15:46:08 +0000 Date: Mon, 11 Dec 2017 21:15:53 +0530 From: Jerin Jacob To: Pavan Nikhilesh Bhagavatula Cc: harry.van.haaren@intel.com, bruce.richardson@intel.com, hemant.agrawal@nxp.com, nipun.gupta@nxp.com, nikhil.rao@intel.com, gage.eads@intel.com, dev@dpdk.org Message-ID: <20171211154552.GA26643@jerin> References: <20171130072406.15605-1-pbhagavatula@caviumnetworks.com> <20171130072406.15605-3-pbhagavatula@caviumnetworks.com> <20171210123306.GL11770@jerin> <20171211152033.GA26747@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171211152033.GA26747@localhost.localdomain> User-Agent: Mutt/1.9.1 (2017-09-22) X-Originating-IP: [171.76.104.209] X-ClientProxiedBy: BM1PR01CA0085.INDPRD01.PROD.OUTLOOK.COM (10.174.208.153) To BN3PR07MB2513.namprd07.prod.outlook.com (10.167.4.138) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6d6310a1-ec25-4724-a282-08d540ae4db1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603307); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 3:crDU6omDyBOowUInSlpZd5r6WiUjWSufhx2IONIZLzCmBAQzJ+ui8QxjuqmNlwQFKhjXVUp9rhrCA9eYi4o43+x/3AF6NKrY68ZTeUX58Lsxoxhso35jcXkTo0zeKyxGSNLsBKJOHwrJRQqaccNyKN178ZazHQeSIZ+MQFGF1adBK2lmeZChYRzmrHFfh48BqO6hwGTAi4zmNitEN+qNDEEFTOYcq4TFeLH+tuAix+QtYn03UdpdMplzEpkn+pHU; 25:3lsYHi93vVdY9wdTihZ23/D4t1+nU8bHZzh2ybtZqNvwbj0qJ5MNiOy/iVz8Dcfu2D8H4eGB2S4OHPG2z6Qc6mghGBwlujmFYuKlrr4T6tBLjY/uO+LdPv3Bsj8cFgwWo2GspHKmayz1ZPchLTJa6X5z3zl5YE1sJDVmTBkwKrBmNefMSW6WEORv0/hDFfy3S4+JmVSKhs3Mwh56MdFhZ9Md331GFHfzTtVo39hGZcSsWeWBEmEFqmihd3JbHIGm2phPeLwx+KuKulHp31UAfO6F4tlicfw98TiFs/LIUtS6RI376XDC0TWchFChojJKdVzYesS7z8nwo5eyYP0YHQ==; 31:/1Pnm0fQbbVlir+XkQnvl04zIHtuxrCZazxwHcDJfovwk1cdEQucW/9Yn6Wg6VSIB9cCMpcwx3q0Ov4dPJ5tFP6NnKJJTJtz/vubpac1NyI1GPk9jZYPJsKasyFjCJSODvLKrKiYGA7l6PcbgBBF7weg4NdL9GQNjS9TDq5AqcI7B9U5WxeXj9ELji/MSScpJRck1Bz/74TVCmXa0AQwYlomoETQGPauDgFmk85+cUs= X-MS-TrafficTypeDiagnostic: BN3PR07MB2513: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 20:mzX/siZpYPiGg1Xmd1D0A1n1Ouoy4TFDuWJcP4YPZatHYnsDunQ7F1mdz+8/S8f745XZAEw5WVoJjfPyV4SK9HW7nKasUPGDAchTq82Gy9ZrGvOPIRCMINMlICgiVS5D6D0X+Hre1VDMfVJe2w7NmWZ4SkAqIPHgckfiBN+OggI6Q1H9vElcVAy84hvOqQ9Qj7cwqZBo3scrnM7xAP66zby0NJcxVMCxo4A/snZSROy3EEyyhaRpPFsMygYTR+kKh4N/yyrPJaQp7BtXeVSsUCUKE4Du0Jo5bLep/aBcDku2hzSBYUQd3D652CW2a6uXtwK/F5xTQ2s/e8nYVRbeLvcoixpqJyIT9/FuV0kkJarGyicRtxM3uNxRsr0lQKXMB59vbQgM+LM8740RYI38e08iL8G3sf5yMxkqxuCA4/wFVMPR/SVyFyEZXxGS8WLOn3muZ31CqKbqWwTQMrll9lZkA0mEIMJego1VvDWmoMqmsfabnxHxhZ6VtsJiVpxcI9PJuVtFiD0L1D2A9pWZK+mPqhjrR/m1Qe9zpD0oUl9zKjt/sVvqbyBKREnOIAKEjECd45vF8vsQKNUHQPq1HdTuuUe4ynYONMDmoBA59HM= 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)(8121501046)(5005006)(93006095)(3002001)(10201501046)(3231022)(6041248)(20161123562025)(20161123564025)(20161123560025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:BN3PR07MB2513; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 4:t7pbeK9W0IQ6PTYFCQEQ8xIoCxZH8djipn5LOt2TdpRPFpvwoSZMphm9B71ApJpaWFoOQ7LULzfqE6NWcB3hzdYuL73ijp47ycmha9Vk3WIMwtkNg0QOXfoaQpZbA5w85/1mNEDtSFH9n5rzRBVVCctDmE8+RM8zJBi6L9QAMZWKeRSQe0a0PN9meaPYrfFVHYtc0nV566oRliC1wZKnlbruF1n3qtWN/zOAg86xkn304OwGu5Yzb87mnYeuOaGPQQnUaArf/LqH44eV3FlArMt5hqQ17+lueZfDs08nPBRj1Ntuo+NVzupCVi0xd+Hdh1xSPwGdcxYtZV7PIefcJA+Q8EzTjWyjL8oo3eHDnt0= X-Forefront-PRVS: 0518EEFB48 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(346002)(366004)(377424004)(24454002)(13464003)(199004)(189003)(58126008)(2906002)(16586007)(7736002)(5660300001)(478600001)(72206003)(8656006)(6666003)(6636002)(2950100002)(42882006)(76176011)(93886005)(52116002)(97736004)(83506002)(6496006)(16526018)(50466002)(33896004)(33716001)(68736007)(106356001)(105586002)(316002)(305945005)(33656002)(66066001)(53936002)(229853002)(8936002)(9686003)(55016002)(8676002)(81156014)(81166006)(25786009)(3846002)(6116002)(1076002)(23726003)(59450400001)(6246003)(6862004)(47776003)(4326008)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2513; 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; BN3PR07MB2513; 23:gYwXN4/iwb2sQF5RtTUtkogzz3cNDDCm20hNzU6TM?= =?us-ascii?Q?TWBMcSfJj2Pni5qskL4n5/gVeDwbdiVKwGSmd+0M3gI7eF3Zcwa6XrR27qaK?= =?us-ascii?Q?9vfy63gQIhcnZBu1kY96/cW/pS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hxVXmh6H9Whfv2DP8bRfEjGpGbOAZxjjJRTXdHYFPO5rNdZKFgOSByv+JuX02Kk7COcJlMX9nU2X+Xjytc6HezWt9jIIsT8dO3oj1y05SRP+dlb/p8QigMaJc1wiNGNJeP/H9DyB0w7y0MIu4RF2d4mqx4kzQ54/jz6HhRtFkHwSbo/rUFIDikY2mkUFUOK4HYxPmw7PRJZfqxtkuWmz6BsCwvABtPqG9/BQrfM SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2017 15:46:08.5391 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6d6310a1-ec25-4724-a282-08d540ae4db1 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2513 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: Mon, 11 Dec 2017 15:46:15 -0000 -----Original Message----- > Date: Mon, 11 Dec 2017 15:20:34 +0000 > From: Pavan Nikhilesh Bhagavatula > To: Jerin Jacob , > harry.van.haaren@intel.com, bruce.richardson@intel.com, > hemant.agrawal@nxp.com, nipun.gupta@nxp.com, nikhil.rao@intel.com, > gage.eads@intel.com > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 3/4] app/eventdev: add perf pipeline test > User-Agent: Mutt/1.5.24 (2015-08-30) > > On Sun, Dec 10, 2017 at 06:03:07PM +0530, Jerin Jacob wrote: > > -----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 > > > > Agreed, but the name seems too long would test_pipeline_* be acceptable? short name looks good to me. > > Thanks, > Pavan. > > > > >