From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5 2/2] examples/distributor: detect high frequency cores Date: Tue, 02 Apr 2019 02:20:28 +0200 Message-ID: <3122998.i2pmggpM1V@xps> References: <20190401153044.39273-1-david.hunt@intel.com> <20190401161441.29328-2-david.hunt@intel.com> <2066148.uFblHQ0ktz@xps> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, anatoly.burakov@intel.com, liang.j.ma@intel.com To: David Hunt Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 20F7F3576 for ; Tue, 2 Apr 2019 02:20:31 +0200 (CEST) In-Reply-To: <2066148.uFblHQ0ktz@xps> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 02/04/2019 02:06, Thomas Monjalon: > 01/04/2019 18:14, David Hunt: > > The distributor application is bottlenecked by the distributor core, > > so if we can give more frequency to this core, then the overall > > performance of the application may increase. > > > > This patch uses the rte_power_get_capabilities() API to query the > > cores provided in the core mask, and if any high frequency cores are > > found (e.g. Turbo Boost is enabled), we will pin the distributor > > workload to that core. > > > > Signed-off-by: Liang Ma > > Signed-off-by: David Hunt > > Reviewed-by: Anatoly Burakov > > Series applied, thanks Just amended the commit with this fix: --- a/examples/Makefile +++ b/examples/Makefile +ifeq ($(CONFIG_RTE_LIBRTE_POWER),y) DIRS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += distributor +endif