From patchwork Wed Jun 14 04:57:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerin Jacob X-Patchwork-Id: 25302 X-Patchwork-Delegate: jerinj@marvell.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 92C0358CE; Wed, 14 Jun 2017 06:58:09 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0083.outbound.protection.outlook.com [104.47.36.83]) by dpdk.org (Postfix) with ESMTP id 4806A58CD for ; Wed, 14 Jun 2017 06:58:07 +0200 (CEST) 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=SW670V3F9hBYVe9r4TS7K7/8WIiIzEJeI5+NaYPZIVA=; b=eEnYwyLgxfSsiJK7pgl0c5gMzFBJKlVFGA5vptPfZwlDrXudf0O+bQqMpzyufjKkIDeBDPQdgDoHkxH4v6v3MuGLKJUnaJ/XH2oaHCH4oktmFOI6MUUHweFUJCuJ6Ba4LWaQcVhbHWDe4R6y/Ri+gg7sR9oOcUIgx/fS3nwlmQY= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin.domain.name (106.201.126.49) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Wed, 14 Jun 2017 04:58:01 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, hemant.agrawal@nxp.com, gage.eads@intel.com, nipun.gupta@nxp.com, narender.vangati@intel.com, nikhil.rao@intel.com, Jerin Jacob Date: Wed, 14 Jun 2017 10:27:32 +0530 Message-Id: <20170614045733.10756-1-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.13.1 MIME-Version: 1.0 X-Originating-IP: [106.201.126.49] X-ClientProxiedBy: BMXPR01CA0048.INDPRD01.PROD.OUTLOOK.COM (10.174.214.34) To BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BLUPR0701MB1714: X-MS-Office365-Filtering-Correlation-Id: 46786020-4a88-438f-0a40-08d4b2e1f0d8 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:paAN07qf1b09iWkANEO4oJz7JTrIWf/pe33kh7WvxLbOjaVNUbIL560YuiDfW6JvIqkFcr1rgONvs5SfHNNawPi3PxxVnCIoDhHPuaC2EdQ6Yq2uNFkbjNX4tiRQtvZ9+qj7rX9B6mBtk5YR5170Wq7kfoCzTzcqjxr3zGElYRuFxu20qBPG1eNjAUzP9HzlZall4XhGkHEM4xxaWPX9BMAFZmTNQHJD5XUTFPlqeIwEQUy5tru5A/xUZBFbjPyIoHKxZLyM6K33L0mdXc5LzkcIu+y4OC1MJGPAtyke80283+pQFjSxoSIiqrQxzEx9ezG0mpzaFV54c3V4KjtGkg==; 25:f2JbS3pwiOO4offKTBL3QwCzkg/HFMUuwbNkHxoC37PSKt0G7ZqO0ORV2vY7aWaWRNWKYvMN8V5KR+U1MpjHVt4A6JDLksu3i9pMGRlNYe4ooQnkOdAyK4Fw7Ou8pGNInf1hJR4OzIBnj9bXeWiy1xtofKCYP2h4pw1ZxG7TIIZHt8QdDroHBXH3xXj1OC6jGwnpHDb/EpRTxzXfODRPn0MroH1DvvAcdrsES3GDgfrkIK0tz8uYvz5zWIim5cNLtgv+/z3pnq5+8ge/IQ7rGgjd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mVO0RUZ3KLIdps1xZhJe9jK3UUo34YQPax2z50= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(278428928389397); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(3002001)(100000703101)(100105400095)(10201501046)(6041248)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 4:jGPaPpRH5Hs33I9NijpQ6jkAX+xrSxAivk4NG/4l?= 5Wp5ys3NHn5Q9AZ4wbWND8vGu1Rq1gEBT/69zJj/+o1Rb/Me6wTV1ST7u9GrnZwcQQjbS3bWnL0An6KuBoVJBtHZE9mc5tMgx+rRSs8tlJgSVJR/ZHSFna9q1I9ySH7TAfNPT+s+GRTqFuilKgZFiQlyPrJDWk6n+Rj0/RAxHX+js9HLPHtwQnr44Mo9p09G7J+JucN0cV9p48/pCm6rN2yPXyX7tqVHCKhGpMxBfqfRTDsjW13dkh5fNiXnBxG2n5VyqprePlbadFFBqC/ItnC9EGCNYjFuYx5kuBFDHnLIUG9AEGMOBhWvmAjzOEu8BE6ofs8m5eua2TcLXNPJGeEBaxFZGPqTkcOoT5NWcCQMXwVZUaljAyH+2iwvgkZvv6s1b7lfBgyYjQu2ZkVppIPlFLg2UukRRkFlZcD2RL+Fm/QMZmoBURfXR97NlfdSXcxW2LUHn7Qjg497N68KxPoNVC7tck04Q5Y3Q5BGEVNBkuhOm2dfTToIvC3GHcvIDQV4BJLnHUQe2biIH5c0kgzbvHE8O+8V7tTEAA9CKM7SL3JTdA8NWld3Pjn0VE5P7AStVyeMz6fbhboApZ79RyGpUlH59NeMEJFGCPRHKYuwgmzLsY3ckXHqrQ4NaDYK2Y6tv5irJykXjt7UugHgxJVT0m3K0twDANmyB73m3z5cTnNcXK85vpZ+SgnuXQMDLHpJprg7n431fuP9NDPacnEzUG3JJ8urKpW9eDSJpYpjej6CfAj6UvkPDPpukwMa1AinlqlLsx06/TcdzvNq2KhkjVsya+3St2RoL7yeIztCVSTe9BILYpylkNEM0e3Fi3y/4aWSEHT9Xi32JGa4vUxvmDCt8ueYSIKoWZiibSYg5Ii+moYA8HuAujFG5I47L893BHYjJgOx6/opximu5iv3NBrn0uluOWUEuTi6aerJWCNIgB+RqdqMxGm6GGrL7Ut4ICmLU5nIxo9c88MXsrDXxlKVK0/YGYC/xR5KKhg25xpqrs5t+16ZCOwQQft+gN79+hOttiEArPNAmSkuj3Ek3gvNxS36NsoBPJ/iL4ysK7+hf6YiyQzQxByQStCagI5afuOrm6pWF7FlrMcU9+0ZoIJsq4zsReiyoJeDY6Iz1A== X-Forefront-PRVS: 033857D0BD X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39850400002)(39410400002)(39400400002)(39840400002)(25786009)(36756003)(50466002)(42882006)(47776003)(6666003)(48376002)(66066001)(6916009)(81166006)(72206003)(478600001)(5003940100001)(4326008)(53416004)(42186005)(575784001)(966005)(2351001)(305945005)(189998001)(8676002)(7736002)(2361001)(33646002)(6306002)(6116002)(53936002)(5660300001)(50986999)(1076002)(6486002)(50226002)(6506006)(53376002)(3846002)(110136004)(6512007)(107886003)(38730400002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:jerin.domain.name; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 23:ca08gxx/aZjb3FrFWlrDukdvb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sV2VLFCPLi5yxim0cG+HuJ3hJBpQbPFkR+6G+bDkOIN1fUyESeXfhOL7qXaVJNVBTocijCXRJF+yRvrxSG/BWyuZsKtAP3xTltLufJwTXNtqGStuqBmOPGTkbk4; 24:g+lYZQwJw75OX7tqpKgdka1e+R7Eka+IMsTXmg6/MVYSTBWVWVrxKqdx8PN1AoFi0NU/e57ews3Sa4CUJJPalVNm5TkMHCIzgi8hJvc4O1s= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 7:at0wIgaOMvRJpp5SWGtfjYp9vDISzKWLLT2tdrN6KcgiQofrw/rRUsuX6fC4d0G2BbMN3LGTn9Dg38K+WDTY0DsO6BSFp21o+lemdkEpIf4SJlYqSxH/fYGU+w4BH8UTlpeb6yvUw9EQirmNtefnT30c71+EkrRDmLg6QZ/YIJGDVbeDsu5ntYtFNE2PUUBB8d+dFlUGzQH6SlPi86ZjIAmPDk7fNrwfXsFIpc2e769136etftfeFWnmZsPmkt06gJynyTFBC1aVlWmZyLtbcMN8ssm+5Y/N3XgSgy1ycOaLosO3BkAtFJgk3R9JBMsOoy4cWUBKvCo758wyVYTHjQ== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2017 04:58:01.0147 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: [dpdk-dev] [PATCH 1/2] eventdev: introduce burst mode capabality 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Introducing the burst mode capability flag to express the event device is capable of operating in burst mode for enqueue(forward, release) and dequeue operation. If the device is not capable, then the application still uses the rte_event_dequeue_burst() and rte_event_enqueue_burst() but PMD accepts only one event at a time which is any way transparent with the current rte_event_*_burst API semantics. It solves two purposes: 1) Fix performance regression on the PMD which supports only nonburst mode, and this issue is two-fold. Typically the burst_worker main loop consists of following pseudo code: while(1) { uint16_t nb_rx = rte_event_dequeue_burst(ev,..); for (i=0; i < nb_rx; i++) { process(ev[i]); if (is_release_required(ev[i])) release_the_event(ev); } uint16_t nb_tx = rte_event_enqueue_burst(dev_id, port_id, events, nb_rx); while (nb_tx < nb_rx) nb_tx += rte_event_enqueue_burst(dev_id, port_id, events + nb_tx, nb_rx - nb_tx); } Typically the non_burst_worker main loop consists of following pseudo code: while(1) { uint16_t nb_rx = rte_event_dequeue_burst(&ev, , 1); if (!nb_rx) continue; process(ev); while (rte_event_enqueue_burst(dev, port, &ev, 1) != 1); } Following overhead has been seen on nonburst mode capable PMDs with burst mode version - Extra explicit release(PMD does release on implicitly on next dequeue) and thus avoids the cost additional driver function overhead. - Extra "for" loop for event processing which compiler cannot detect at runtime 2) Simplify the application configuration by avoiding the application to find the correct enqueue and dequeue depth across different PMD. If burst mode is not supported then, PMD can ignore depth field. This will enable to write portable applications and makes RFC eventdev_pipeline application works on OCTEONTX PMD http://dpdk.org/dev/patchwork/patch/23799/ If an application wishes to get the maximum performance on nonburst capable PMD then the application can write the code in a way that by keeping packet processing function as inline functions and launch the workers based on the capability. The generic burst based worker still work on those PMDs without any code change but this scheme needed only when the application wants to gets the maximum performance out of nonburst capable PMDs. This patch is based the on the real world test cases http://dpdk.org/dev/patchwork/patch/24832/, Where without this scheme 20.9% performance drop observed per core. See worker_wrapper(), perf_queue_worker(), perf_queue_worker_burst() functions to use this scheme in a portable way without losing performance on both sets of PMDs and achieving the portability. http://dpdk.org/dev/patchwork/patch/24832/ Signed-off-by: Jerin Jacob Acked-by: Harry van Haaren --- lib/librte_eventdev/rte_eventdev.c | 10 ++++++---- lib/librte_eventdev/rte_eventdev.h | 20 ++++++++++++++++---- 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/lib/librte_eventdev/rte_eventdev.c b/lib/librte_eventdev/rte_eventdev.c index 20afc3f0e..d7f858980 100644 --- a/lib/librte_eventdev/rte_eventdev.c +++ b/lib/librte_eventdev/rte_eventdev.c @@ -429,8 +429,9 @@ rte_event_dev_configure(uint8_t dev_id, dev_id); return -EINVAL; } - if (dev_conf->nb_event_port_dequeue_depth > - info.max_event_port_dequeue_depth) { + if ((info.event_dev_cap & RTE_EVENT_DEV_CAP_BURST_MODE) && + (dev_conf->nb_event_port_dequeue_depth > + info.max_event_port_dequeue_depth)) { RTE_EDEV_LOG_ERR("dev%d nb_dq_depth=%d > max_dq_depth=%d", dev_id, dev_conf->nb_event_port_dequeue_depth, info.max_event_port_dequeue_depth); @@ -443,8 +444,9 @@ rte_event_dev_configure(uint8_t dev_id, dev_id); return -EINVAL; } - if (dev_conf->nb_event_port_enqueue_depth > - info.max_event_port_enqueue_depth) { + if ((info.event_dev_cap & RTE_EVENT_DEV_CAP_BURST_MODE) && + (dev_conf->nb_event_port_enqueue_depth > + info.max_event_port_enqueue_depth)) { RTE_EDEV_LOG_ERR("dev%d nb_enq_depth=%d > max_enq_depth=%d", dev_id, dev_conf->nb_event_port_enqueue_depth, info.max_event_port_enqueue_depth); diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h index a248fe90e..5c12a9113 100644 --- a/lib/librte_eventdev/rte_eventdev.h +++ b/lib/librte_eventdev/rte_eventdev.h @@ -274,6 +274,14 @@ struct rte_mbuf; /* we just use mbuf pointers; no need to include rte_mbuf.h */ * * @see RTE_EVENT_QUEUE_CFG_* values */ +#define RTE_EVENT_DEV_CAP_BURST_MODE (1ULL << 4) +/**< Event device is capable of operating in burst mode for enqueue(forward, + * release) and dequeue operation. If this capability is not set, application + * still uses the rte_event_dequeue_burst() and rte_event_enqueue_burst() but + * PMD accepts only one event at a time. + * + * @see rte_event_dequeue_burst() rte_event_enqueue_burst() + */ /* Event device priority levels */ #define RTE_EVENT_DEV_PRIORITY_HIGHEST 0 @@ -433,14 +441,16 @@ struct rte_event_dev_config { /**< Maximum number of events can be dequeued at a time from an * event port by this device. * This value cannot exceed the *max_event_port_dequeue_depth* - * which previously provided in rte_event_dev_info_get() + * which previously provided in rte_event_dev_info_get(). + * Ignored when device is not RTE_EVENT_DEV_CAP_BURST_MODE capable. * @see rte_event_port_setup() */ uint32_t nb_event_port_enqueue_depth; /**< Maximum number of events can be enqueued at a time from an * event port by this device. * This value cannot exceed the *max_event_port_enqueue_depth* - * which previously provided in rte_event_dev_info_get() + * which previously provided in rte_event_dev_info_get(). + * Ignored when device is not RTE_EVENT_DEV_CAP_BURST_MODE capable. * @see rte_event_port_setup() */ uint32_t event_dev_cfg; @@ -642,12 +652,14 @@ struct rte_event_port_conf { uint16_t dequeue_depth; /**< Configure number of bulk dequeues for this event port. * This value cannot exceed the *nb_event_port_dequeue_depth* - * which previously supplied to rte_event_dev_configure() + * which previously supplied to rte_event_dev_configure(). + * Ignored when device is not RTE_EVENT_DEV_CAP_BURST_MODE capable. */ uint16_t enqueue_depth; /**< Configure number of bulk enqueues for this event port. * This value cannot exceed the *nb_event_port_enqueue_depth* - * which previously supplied to rte_event_dev_configure() + * which previously supplied to rte_event_dev_configure(). + * Ignored when device is not RTE_EVENT_DEV_CAP_BURST_MODE capable. */ };