From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavan Nikhilesh Subject: Re: [PATCH v6 15/23] eventtimer: add buffering of timer expiry events Date: Thu, 11 Jan 2018 17:48:32 +0530 Message-ID: <20180111121831.j2ea6urzhf5zkoup@Pavan-LT> References: <1512158458-22661-1-git-send-email-erik.g.carrillo@intel.com> <1515630074-29020-1-git-send-email-erik.g.carrillo@intel.com> <1515630074-29020-16-git-send-email-erik.g.carrillo@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Erik Gabriel Carrillo , jerin.jacob@caviumnetworks.com, nipun.gupta@nxp.com, hemant.agrawal@nxp.com Return-path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0060.outbound.protection.outlook.com [104.47.41.60]) by dpdk.org (Postfix) with ESMTP id 7AD452BE1 for ; Thu, 11 Jan 2018 13:18:47 +0100 (CET) Content-Disposition: inline In-Reply-To: <1515630074-29020-16-git-send-email-erik.g.carrillo@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Jan 10, 2018 at 06:21:06PM -0600, Erik Gabriel Carrillo wrote: > Buffer timer expiry events generated while walking a "run list" > in rte_timer_manage, and burst enqueue them to an event device > to the extent possible. > IMO in some cases this adds a lot of delay between expiries and events being published to event dev. For example, having long expiry interval (default 300 seconds for mac expiry) the expired entries would remain in the buffer till 32 other entries expire. > Signed-off-by: Erik Gabriel Carrillo > --- > lib/librte_eventdev/rte_event_timer_adapter.c | 118 +++++++++++++++++++++++--- > 1 file changed, 108 insertions(+), 10 deletions(-) >