From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=cS5Q65qlu38jhR/Y+yls4qSSX2f3INK2eMoXvLkqc/U=; b=Mzao+PLRLPDy1d6nhd1ncUbXHO2m4FMHlaALTplTQq4ZYTKf0vnijsn2jZMmdK4S2n4mE4fS0v5hQvO9lxj/o7zWprgVz+mrKJU8e1AVKYxX9etu4Qcf2WkL2gedJzH3PTbFCyntEo2Po5WN5lYga2h6nHsXX+jqkza7WqxoXxc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from Pavan-LT (111.93.218.67) by BN6PR07MB3457.namprd07.prod.outlook.com (10.161.153.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Thu, 11 Jan 2018 12:18:42 +0000 Date: Thu, 11 Jan 2018 17:48:32 +0530 From: Pavan Nikhilesh To: Erik Gabriel Carrillo , jerin.jacob@caviumnetworks.com, nipun.gupta@nxp.com, hemant.agrawal@nxp.com Cc: dev@dpdk.org 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 Content-Disposition: inline In-Reply-To: <1515630074-29020-16-git-send-email-erik.g.carrillo@intel.com> User-Agent: NeoMutt/20170609 (1.8.3) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: DM5PR13CA0067.namprd13.prod.outlook.com (10.175.103.157) To BN6PR07MB3457.namprd07.prod.outlook.com (10.161.153.20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b55ab452-e7d7-43fd-bac9-08d558ed75e5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:BN6PR07MB3457; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3457; 3:fSrmkGusf2b/hvy/POzmabeN9Gxl0mVX+AhbocUkgXHZhEHHU1MEuDLejAM+C4Gl+h5y3cqkdNwsR8SeVGFjeUGjde96bjHUVIPztGsfuMod9BuhjXNCpzAeNSvrYop9/vZ92U+XmO4acDx8j7CAQtiI1KLQWDypw/ZehiLuK2YfYVl2cDmGyR4KEjXIJXOIuhyTNGV4hRsebbUz2YMg4I1G0qmTNq9IrlDkYNV83JnSSWr1dR9Qpbt7cLvplD9n; 25:cWQNj1FKn4I8O6lvcWKGyczWvGm64b+K1byskxlPeJ0vt7+3mVXWp8h3T52fThOi5K/i3HIHWyPZGqMpX2cvUlUXJGTfKMlCQJY7UatHVrYOmhlJs9SAGONJSt4bdZwsGEAm56TgcH36HeYgy5SICIF+paI7jf7MLQqhAxwXgMrgtkEmNxV+xOqrKY8HrHTV+0dorXoxQgfb7ptkn07ZkdFWyyXKusL0AAecZJrd172sMXd+DCKSUPIsUpeiCxr/dGtQdOh5m+rroeedIY94wAHTe7U1bfTCMFXxA3ShdAMDi6i93mX9weh7C6Q/x50h1ZXnPOXlISvFRB7d2KX8pg==; 31:UZL49XX49gMHFYh3hqdzkqPs2mpspFUNff+nrvHQ6OHu5EqGJEC+bWTXXKakUfwrfdAJcJ4zQUKkCTi4aGIBOR1DcsDR5pXf6hxQN9YbVHzC3hHorA3oIldY0cy8xCfbiwMA+MuPbxWFkOiDB2Y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n3z+05mh3Uyp5rg7GY31KzBNq3l X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(3002001)(93006095)(3231023)(944501075)(10201501046)(6041268)(20161123562045)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011); SRVR:BN6PR07MB3457; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BN6PR07MB3457; X-Forefront-PRVS: 0549E6FD50 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39380400002)(366004)(376002)(39860400002)(346002)(189003)(199004)(24454002)(58126008)(229853002)(66066001)(6496006)(81156014)(2906002)(8676002)(305945005)(8936002)(7736002)(52116002)(6666003)(6246003)(50466002)(81166006)(33716001)(2950100002)(5009440100003)(5660300001)(42882006)(316002)(47776003)(23726003)(8656006)(4326008)(68736007)(478600001)(16526018)(6116002)(83506002)(59450400001)(72206003)(386003)(16586007)(33896004)(25786009)(3846002)(9686003)(106356001)(105586002)(76176011)(55016002)(53936002)(1076002)(97736004)(107986001)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3457; H:Pavan-LT; 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; BN6PR07MB3457; 23:vY2/ImCHFlNMExb8tlfFYEy2jTXCAmIDncfITgRGK?= =?us-ascii?Q?TiMhuxY35FZUf2R4pelRyGHAlknZ1r8emLYLHeHPYvm1cTof7N/Cw6R/mdqf?= =?us-ascii?Q?Ll1fe9bwl4ffiSjubHUQ1Ouej8PgQyVCQvDr+UhmXt1JpElcVO+12sJOR5WO?= =?us-ascii?Q?TKWRzyNHgRmTILt88H1iwlgOTLgZQf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ijmCICSl8ytMUgFnXhuQlvmP5wOfa1cOgZl57jpQG0428nifN1xNrpic0PFLl53483QGELaOAAUXw6aDzz7kOqMMBsZrc1G4CnYgCkbGckyUVjpkvI6poiwZuQfXjOZ9uS53RaBeYBz3LxtLLaKdzQov72bf SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2018 12:18:42.7669 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b55ab452-e7d7-43fd-bac9-08d558ed75e5 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3457 Subject: Re: [dpdk-dev] [PATCH v6 15/23] eventtimer: add buffering of timer expiry events 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: Thu, 11 Jan 2018 12:18:48 -0000 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(-) >