From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hunt, David" Subject: Re: [PATCH v3] examples/distributor: detect high frequency cores Date: Mon, 1 Apr 2019 10:07:35 +0100 Message-ID: <6a75f0f6-cabd-93af-ae74-838c36548402@intel.com> References: <20190328131354.25222-1-david.hunt@intel.com> <20190329131520.10653-1-david.hunt@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: liang.j.ma@intel.com, anatoly.burakov@intel.com To: dev@dpdk.org Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 07D14316B for ; Mon, 1 Apr 2019 11:07:38 +0200 (CEST) In-Reply-To: <20190329131520.10653-1-david.hunt@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Thomas On 29/3/2019 1:15 PM, David Hunt wrote: > 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 > --- Please wait for v4, I'm working on a change for later today. Thanks, Dave.