From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0061.outbound.protection.outlook.com [104.47.34.61]) by dpdk.org (Postfix) with ESMTP id 317A5325C for ; Tue, 29 Aug 2017 18:07:36 +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=uT1agNq9fGw7aBDMUBXwdPYPhAAVkCUHMXHeTr/RfPo=; b=UGirYX7Al3HNUVEZFObo/qLtw7cV5Hp0CLAvJaQYzExL1zz3ryMZoojLCI6kS9pIm/TffdupcdU71fRkwdKrqrgmkgspfkMo4LI7mJd1HZhJfFLxyNRqbI4EbbGzuPZfvWgrUTPWxubCXAjkMFZ8WpWchydHIxIlA7p70J8a5+0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (111.93.218.67) by SN2PR07MB2528.namprd07.prod.outlook.com (2603:10b6:804:7::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1385.9; Tue, 29 Aug 2017 16:07:29 +0000 Date: Tue, 29 Aug 2017 21:37:06 +0530 From: Jerin Jacob To: Thomas Monjalon Cc: "Carrillo, Erik G" , dev@dpdk.org, "Richardson, Bruce" , "Van Haaren, Harry" , "hemant.agrawal@nxp.com" , "Eads, Gage" , "nipun.gupta@nxp.com" , "Vangati, Narender" , "Rao, Nikhil" , "pbhagavatula@caviumnetworks.com" , "jianbo.liu@linaro.org" , "rsanford@akamai.com" Message-ID: <20170829160705.GA14529@jerin> References: <20170817161104.24293-1-jerin.jacob@caviumnetworks.com> <31351930.ptpEdNRZ9E@xps> <20170829154128.GB13020@jerin> <17506826.eAYivCQaQA@xps> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17506826.eAYivCQaQA@xps> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0109.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00::25) To SN2PR07MB2528.namprd07.prod.outlook.com (2603:10b6:804:7::6) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b31e23e2-6b56-4cd9-058e-08d4eef80eea X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SN2PR07MB2528; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2528; 3:WBgnFhqdk07dIHExnEynSsQDmdPT/UGDGaqyWFcr4tGAq70kJ5QH5enDdLZAAwbS053cz2b89joifEr4SmQM3FFcdrFZg5oKsfODk1yG6hR7+buIkvrU3QbJ9GKRDvfkmbJ9di74Hz7VvUjDKVuL0gXLVMHfqXW1Q4rjBrboCxVJTjlTTYwhjiVa4U27FCrlGyeTOGnIXexHV0sX1nArE1itEJ6ehEVtpVGDt6j+oASnxDBnoClTqaAEHQV2jV6X; 25:yw0oWlyRzUfoOhOjFlU+heEqeOLs1DogDFqwkbiw9PpO+l6ogCiQLJ3hHExmYOzFjKJL5Y2vl7Ko3JHcl5eGLXT/OxQEdV4o7xg02ZsnVqQ1Ptt4T/gKi+BURHlb0aa8RAf+p8BBRNnvyrbLcnlATV8Zvmz32F1mtefY1eaDzNYj+TSh0dRKyDj+5Y6eSQsqHg1Ctv7XKlb6JgfiCEIe2XwW0qT7T3BbQBULSg87uA3DF/G3ObvKU8Cg2gH7GLs2xoBUdI1svjcQ/zzEnkIsqlGzkYV6jA7wy+20y3u3ZbDrbo4C2+G+Zyx1hw+d0BPXkQmYgoQaKi4KnmsCkjTWzQ==; 31:Z0UIVer0+HqKPMH4k3ttO8jyiKar0KFdB5Zna380wiJp3nDv29SjYO/7voC7UERhDfmdQEDb2IIulk4JC8GMj38H02PHp0R2YIAw5y/ALVOSsIwwMOeFcT0xT2NdW1QYN/n7ggr55UtHPkctZH0QixgaaC/5H8P17xffixJpvd1Ef6qVv2H0TL6Si9kOxK7p6ERsi3UhPV6Xz/rU76ZOBnDiXyEfZeKt4c3msL9eycI= X-MS-TrafficTypeDiagnostic: SN2PR07MB2528: X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2528; 20:pP4tY7ZaoDk5xZ8BoZ4/PqV/jTRnQXECc+41JY/ZtsrHrk9K9SWGHJQ3zHjgy+nAnuYQycjxI11SCOfPIkbZzmdudYHkSdOq030aaOtGm2J5ZY96+ODcpSNrNSIKsm0K5nFc+PRTYXGHzqnal3BEFOBHfcGS9S33X2z0/il5Tt2a4lJimKLXkavMB3bhKUv/mt2YpEnekSuHVkdq3aph0XVkxSqrAzfnBHdJGZclNH/M8dmSpPKXUneNxWlhAtRW7g81c5Ufka6hFIlX67Ww3F2Rf7+IIpHCCUw8UfGLXAfeRHV8Skd2Y/mwbfyACUCaD1BWi6igs23shCK1V25MZ6kmFATsXv6J2rjbrkI2MUKkk1nQTdI7lxTswFQRp1FLv72f9L5W33UIpb/mn/kJipTXvYZnrq6qySFaj7SyyfXj0J5DMgaXLnfafJtLvt1Mb9ejFljFTsVrH5ZUIRX9LMlDBUr9plSQwIRANpToI3d7KqI3VN70sRD1GZdbz7GDor8PU9w/nXLvfMUwPKpWLIoYjYEI605inlUNbiCadhWSi7LtZGD3qStoRaPeEQF2ItnI5PciYh7HMPlPHD6JC2NX9Hi3QTinw4osQECCsSM= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(10201501046)(3002001)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123560025)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN2PR07MB2528; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN2PR07MB2528; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2528; 4:ODpsOmRCc9q2Xajut44b0vpGXY0haLNhdPH5xUfutwGXDCanVMRc0I09C4ZTY90IpghZj1nRnZDBVAP7SLXNw7tsvUdMarMWHXYp2u646vJ9Q6BdRIrTfBZ0e25QmoS3dNLPYvO+lahMmuzaAQhJf170ObZO3K7d1l2FWEnOOxKx3V6i/R1430Q7MJb5QS1cb6uyQAXe1NAya095bNixHoF2AdAg09zRlS7sWx/0XE5VCjL7bhhItayJ9W0dJ1nYWCEbWdrn8rn6msZfT6NVBpB0vx8BR/ZTeLnwxSjLz6R1uomwYh7CHgIJ9soOlZLRLYqu7AF8mHwjM+ks//VYWg== X-Forefront-PRVS: 0414DF926F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6009001)(199003)(13464003)(189002)(33656002)(189998001)(81166006)(305945005)(7736002)(81156014)(8676002)(5660300001)(7416002)(2906002)(4001350100001)(101416001)(106356001)(42186005)(50466002)(105586002)(33716001)(55016002)(50986999)(97736004)(76176999)(54356999)(6496005)(3846002)(4326008)(6916009)(2950100002)(6116002)(42882006)(66066001)(6666003)(7350300001)(8656003)(83506001)(9686003)(68736007)(110136004)(5009440100003)(6246003)(72206003)(53936002)(54906002)(478600001)(229853002)(25786009)(1076002)(23726003)(47776003)(93886005)(18370500001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR07MB2528; 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; SN2PR07MB2528; 23:U1qq6LQLV57alwm1ameTJKBefCQRX17FnhJtkHlGR?= =?us-ascii?Q?05eE8cdlij2+6OWP+JWcu+3hwbKpXXreHw5kBkk46XCCunSUKM4q5xYuWei6?= =?us-ascii?Q?Zn6or45hcGdiB/+9AKsopkfa7yp8SL+4MWnRnysJAkoytV4CJYAXhqgmhlxa?= =?us-ascii?Q?0XGH5sqNO1HcxlShnbCCzW5uz1RVyd26spUNk+qPQdK+XIXtNmgkqAtzle7L?= =?us-ascii?Q?CJI24yUQgTGnS2gGAHLGXIHnw7/kzVtaoshs2YXNWg1TtiE1mCbAdp8krIPg?= =?us-ascii?Q?NyYzY5EL7CX9E4SS2Tmv+BUUefI0oVcxDqIxCq1LeaFe54KdF7Ccter7g5vq?= =?us-ascii?Q?tm0Z9gyug4+rXW1iMmBPHuV97KZDRZ867I8bPbQAuGJXdPk6xbB2FYN7mYfK?= =?us-ascii?Q?gHGG/EolzUZkmRmrSlYb+FgNcp/jruTnlrvMP/++hDuWj32/5OusxDlEFskj?= =?us-ascii?Q?xcyMTnmkMmmNBFPIDX721ji6VmMVSKkprb1BA8p5SylAaNduDlMHpd/NFNiX?= =?us-ascii?Q?WVQDXQfBEccp7M0oxRE5hSCP/HYDgI7/p4WQUYI65hp3w5RUJuiy4DuDmU3Y?= =?us-ascii?Q?POoD0tvEhgT4cWDBlgZzBGNXxbCXzg3m0t4E2REOi5041/6QpCRbxfletzDV?= =?us-ascii?Q?JEICCxjg6xGCDZ+yiaTIZqdosS++yMhHpfRxf7JGvtIih0BWxl3KXGYgrLRQ?= =?us-ascii?Q?pkHNGHCUTe2TvOh2CETdco5L92N683gOnTJZwhkJDnaS/W7nY0I2MZMcbZs0?= =?us-ascii?Q?lyXLp/23RRmVJj4vAIsfJQnQHlW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ZLJGpoDItQayG55r1RX1mDECLJlCOYA==; 5:pnnXrxjPSgVpvWECwRCJBz0U7vZ9U0rpgPzB/Vw6aFeWLQ3Hk7/COCth/PG+rW7ICK2kxiQtLxmQeDM6KGiiArGPdDXNeJQNy8aTCz3VD/FvsrEDF+7AMewKELzEP6BN4kF+r47/WqFw1wpIag+MLg==; 24:HUaHF3WnqBeriw26m5VYrHQLwFIl+cn+7KkHUY8HXmHb+ehZzdGiCe9dnnxiyREIJnhnH0urVP5fQdj1gl9hZGaRIFbLff8JjtbBgNrNSWY=; 7:ZJRLrBxJrVjLo4EAPxWVbza0clEQjPLzoRTwHgxpYrC38HpegGsm+MshYuVgZegQy9FRefnTlOZ/w9zeSwdvjtW7agK/3Cs87PYHPhgWk7nk3H0RglOh4eEfZxeAlkLFSjHIKgYETV7e1gVyKD0fx2x+l1i0YfV/syjXXu7WI0GIP2vi7r6mdEfOzHlsx3FkjykZiLMtTGoDKevD18ZlhRnMHHRMNYo7KlQ7XkKrBFg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Aug 2017 16:07:29.3725 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR07MB2528 Subject: Re: [dpdk-dev] [RFC PATCH 0/1] eventtimer: introduce event timer wheel 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: Tue, 29 Aug 2017 16:07:36 -0000 -----Original Message----- > Date: Tue, 29 Aug 2017 17:48:58 +0200 > From: Thomas Monjalon > To: Jerin Jacob > Cc: "Carrillo, Erik G" , dev@dpdk.org, > "Richardson, Bruce" , "Van Haaren, Harry" > , "hemant.agrawal@nxp.com" > , "Eads, Gage" , > "nipun.gupta@nxp.com" , "Vangati, Narender" > , "Rao, Nikhil" , > "pbhagavatula@caviumnetworks.com" , > "jianbo.liu@linaro.org" , "rsanford@akamai.com" > > Subject: Re: [dpdk-dev] [RFC PATCH 0/1] eventtimer: introduce event timer > wheel > > 29/08/2017 17:41, Jerin Jacob: > > From: Thomas Monjalon > > > 25/08/2017 12:25, Jerin Jacob: > > > > From: "Carrillo, Erik G" > > > [...] > > > > > In summary, it looks like our solutions align fairly well, and I propose that we take on the software implementation if there are no objections. > > > > > > > > Sure, no objection. > > > > > > Good to see such a basic function generalized for NPU and CPU. > > > > > > Are you going to use rte_timer for CPU implementation? > > > Does it mean that event_timer supersedes rte_timer? > > > > IMO, we don't need to supersedes the rte_timer. The eventdev or event_timer is > > an optional component. It is application decision to use poll mode vs event > > driver model or combination of two. > > Trying to make clear when using poll mode or event model, > regarding CPU/NPU differences: > If using poll mode + rte_timer, we cannot leverage NPU offloads. Yes. > If using event model, is it as much efficient for generic CPU? It is case by case. I think, ATOMIC queues and PARALLEL queues can be effectively implemented for the generic CPU. ORDERED queue(the reordering business) may not very effective. So it is boiled down to application requirements.