From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 4C8C4324A for ; Tue, 29 Aug 2017 17:49:00 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id F1BD320F01; Tue, 29 Aug 2017 11:48:59 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 29 Aug 2017 11:49:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=MkZxpKCyPKxm3Mn Ywvg1shOi3SvuXed5uoSzxFf86Kc=; b=CMXhclUhBY2DwYu720/BOklZ8qeNWv/ veK6EIKMg6jy2Ei3z64OcutbEbH2s15e+QnkroprAtkosSNaohgldWgdbxMrfQ/f IUlMJ96OC/TYHldQnEPyQ+QOObtTFo0JqsJFCxHCzyMR24y3CQulY67mfAKEYfHY /AB7J5xreyqU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=MkZxpKCyPKxm3MnYwvg1shOi3SvuXed5uoSzxFf86Kc=; b=eIj4OpJE sdH44LwNjmNuqpf/TM8HoktrW8k+Bu6X0swj8168IWfJEgU+9d+j7x02VnCl+po2 hi6mFlh2sBxsNZL89qHhYZaBK+4dZEY+YJyzOzWMinxlTUdSx8mAxXpszN4j2UY+ EpFsCCKADYV/u1moZ2cDoehKI47pEZmX/sK+nvlynbPAOiMoCeugOs5Q8PEaNbRO HlQWE6zQEQTXm8ZwNPa0mYRrZqM4TTt0EkXakMM1wuYIlCBF/z5rz/uwZvYCIeuZ xOmS368C2XYpx3OAZCTPdGxvY/RRIsLOIpX+6uKcDanI14uIyL8XqwVQ2CkGHO6+ OY+p+XRGeV2dlA== X-ME-Sender: X-Sasl-enc: lT+1O9psgjnfrBMddLODkZ6LZtPXmjZWSPiEELzMJAmD 1504021739 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 9CE7924810; Tue, 29 Aug 2017 11:48:59 -0400 (EDT) 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" Date: Tue, 29 Aug 2017 17:48:58 +0200 Message-ID: <17506826.eAYivCQaQA@xps> In-Reply-To: <20170829154128.GB13020@jerin> References: <20170817161104.24293-1-jerin.jacob@caviumnetworks.com> <31351930.ptpEdNRZ9E@xps> <20170829154128.GB13020@jerin> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 15:49:00 -0000 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. If using event model, is it as much efficient for generic CPU?