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:06:41 +0200 Message-ID: <2066148.uFblHQ0ktz@xps> References: <20190401153044.39273-1-david.hunt@intel.com> <20190401161441.29328-1-david.hunt@intel.com> <20190401161441.29328-2-david.hunt@intel.com> 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 185D637A8 for ; Tue, 2 Apr 2019 02:06:47 +0200 (CEST) In-Reply-To: <20190401161441.29328-2-david.hunt@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" 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