From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0089.outbound.protection.outlook.com [104.47.38.89]) by dpdk.org (Postfix) with ESMTP id 2AAB71AEF5 for ; Mon, 11 Dec 2017 16:21:00 +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=qefhrT4t8Adk9mqbSm9o4s763ZU65oOt7go8qSkU5ag=; b=of4Da6Q/zV8dpBJzKs2Is5ltyzcZi78+ebpnm8LXlLh/NTif691b7xjfWNc97QIsbGY217AbZj0Vh+pgnR2bzm9KecFHj+qRrcP43td+Q5HkpskDYQa8RsNIVZchjXaCIhJqsuwkVvfZGX7ISGaYih+Qtx/OMbrKB/198zJvP+8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from localhost.localdomain (111.93.218.67) by MWHPR07MB3470.namprd07.prod.outlook.com (10.164.192.21) 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:20:56 +0000 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 Message-ID: <20171211152033.GA26747@localhost.localdomain> References: <20171130072406.15605-1-pbhagavatula@caviumnetworks.com> <20171130072406.15605-3-pbhagavatula@caviumnetworks.com> <20171210123306.GL11770@jerin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171210123306.GL11770@jerin> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: MAXPR0101CA0058.INDPRD01.PROD.OUTLOOK.COM (10.174.63.20) To MWHPR07MB3470.namprd07.prod.outlook.com (10.164.192.21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4d8fdf48-c153-46fc-eaff-08d540aac7ea X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603307); SRVR:MWHPR07MB3470; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3470; 3:TBt028LDhUr0ukM2Cbicw3e+sctzSsTKJtJ/q2ZohIaPsinKv0UmVG3ph0GSOlPMnYBqKme2O0YvaiL6LPpxiGejwQwlDcw1kw6n06UiIRLF9hXc8obcZCZKXDFDC1BxqMznRUPDKrVnYSbTfehJM8cIhc6tlvlcUcFfOJOT4tfWZBKlIIM+E0QBvPvmr8kTC9rtU0eorY6dT17D9SO/+X0Ov3dELq/EcGERenMcelH/dWqL8CmEaRehCMrOEseK; 25:9X0DRqnY7Z8/5bo06hah/U0oqUUh5+xJG1JZtZTmjzqcwjF4cPNyysVf/Y+B0BYsguRBegEC/pUwFvnrg6viHdKcUUB8NfFeMB1RS87l9VBITzVnwPCgutR7IGAbRKqEAMs0wrmkNGYPGWbTEPLlfmOFRQEHo0rTYe1H4QZJ7dHtFivyiq7B9DuD5TKk8nREZhyibpj7bo00GFauRLf4N9bThJqjG0/O4NXZBgzNxFrYf8WJfToB14reHUvG1zjeupKzjd0qC1cH7AWGP4qavr1rkq1LE4+SBfK3U3aeyq4PnSEA4YOGqzEjEWzVJR6UFyuwOds1qeLGiD0g4F/uYg==; 31:S3znuR+9mcguLy/GGKy+diMOwe5j4W7uZcS23eOV7JTmZ7JyHnRIQ19yY0Eit3SeL406aUA4cY0wbJ8wFedWCgyRjFxPK2iaZrcM4P4DI3bu5WYCvLdRkc4MRsWdtwr0YoUumh9tbRX1KRgvGqtGxkZKdZQXfjhNSGaO49a8KfEtI6NBqB1J1PcnOGNMGYCHMUuLjYppVyhxqnueKkYxeixny4GhstO+4knbsgsIxhc= X-MS-TrafficTypeDiagnostic: MWHPR07MB3470: X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3470; 20:pnMw8hOmyZlgzBoIL6X9NSeXnmueW9BC26CFGhWhSb/2reG8BY2k1iN5Dn+YYgNRk6yZyY90SvnaGCQTIFZnmEDxuwQNFV+Plg5W5GgqBUmCrScZly2q1eRuXEa0BkEgt0XSE+cwIoKAQ0DFUpO0rJdlG99qBx0IPq/syGDxkXOC/hftzdSRN4GaJ2Ye5DawHSPOglPw7RO3loHLGbDd/RX5ppRgD0KMhcLXND/thKjUSaBUwBc+bheZBqHJ0GK6dmcFgUKoeCJx4A3xnAHgcVH1NYmCFvV3SMfPVbk9Y5nJeyW8smVcsOpbhwnCjF4JBExIpgys078d2mNlsLkPBWfndpCtIHMgc5/8PL+kcrGpW9/Cx1y5UD2pAG4kP/nENrxDg/N+xjl3k3rrMTOJYgIYrLNP7Vy/4d0u1Lv8kkO3gAbtr3GmyIVvN1MuBM+52ET4dB6LWlWR7sAqfKwcVL5lbbPcuFsYVqR7+MDUMoy73lb87x5iEhtyOn9aqVYydxkIGdXzjJdCdPKmjtyKnJLeSsx/RhDy287bAGbZUS2zpVwxE0GqEKauUFS0JoJ2GWQ3Q3/xm2584KIfShVGWVr7PFl8y6s3C3PeKo9cVN4= 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:MWHPR07MB3470; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:MWHPR07MB3470; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3470; 4:mF0uB8ublHe6GjaLxtxDzyKg/TgZZTVUZjbsyWxdaDcS7xjRTRqUCmWnQUvSWQTNXEt+oEH+cOvWkLnxLe9AcSA+ClUhimozENdwYhN8WX0KOLc4V4xpjC9FtJglSU4hil9TN1uWobmxie7qgwEaszvXNWgO5fT97FF5Pu/48SsnL1MGuYxUl5OB8SEKB+pvLfzwrhF8tVXx+nAJgOURJvADIqUDNVlkNSzOBCJj/wjpX4ByAov1aFgFMiaEpzqHDttyzav0AEPsxzioB/dBXhYCAB6q1AGKli0E6sWMJgkftuRidzIYUKAUNM2V+CnH7ThGR3k6SE36i5kJ4Uog3wkNOX++A+a7ZiV6Hi12uN8= X-Forefront-PRVS: 0518EEFB48 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(346002)(376002)(366004)(13464003)(189003)(24454002)(199004)(105586002)(6116002)(2906002)(478600001)(3846002)(66066001)(59450400001)(50466002)(8656006)(33896004)(58126008)(76176011)(47776003)(316002)(16586007)(52116002)(16526018)(5009440100003)(23726003)(1076002)(72206003)(106356001)(7696005)(81156014)(81166006)(42882006)(2950100002)(61506002)(8676002)(5660300001)(55016002)(6506006)(4326008)(33656002)(6246003)(9686003)(6666003)(305945005)(7736002)(53936002)(83506002)(97736004)(8936002)(68736007)(229853002)(25786009)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3470; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; MWHPR07MB3470; 23:7aP5xdbdxVp/lxT7rr85/5znUPdz1kW/WJjlAS1iY?= =?us-ascii?Q?Fo4sAEgboTBkOWOpwiPlczoEHlnhUi5c+Hw61ksA0w4UksFOJBgNpRGgn4WI?= =?us-ascii?Q?A8+LvzoIoJxf5IP8svxPO/Fi99WJwKj2Fq2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SSzuFORjQmr9bYNXQW/jU8ylM6R0BgGafPAwZdeOsgcS+w9zEizgkfLcsteqI19cCFkWPBpkoYcjG4S78PCUdEovazWfOHImUX2NN+9NP+GnQXFCwAEdTkPGDuGbZfHSiESFOEEDGcATwZfpEF3k9voVs6aUMQNO+s5C4hysdPbxMnem8bpGVa0RIesHw/feHKu+L9D0xC2QUI3QtQswdK+fpkR3 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2017 15:20:56.2503 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4d8fdf48-c153-46fc-eaff-08d540aac7ea X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3470 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:21:00 -0000 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? Thanks, Pavan. > >