From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Apr 2019 02:07:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,296,1549958400"; d="scan'208";a="145526536" Received: from dhunt5-mobl2.ger.corp.intel.com (HELO [10.237.210.26]) ([10.237.210.26]) by FMSMGA003.fm.intel.com with ESMTP; 01 Apr 2019 02:07:36 -0700 To: dev@dpdk.org Cc: liang.j.ma@intel.com, anatoly.burakov@intel.com References: <20190328131354.25222-1-david.hunt@intel.com> <20190329131520.10653-1-david.hunt@intel.com> From: "Hunt, David" Message-ID: <6a75f0f6-cabd-93af-ae74-838c36548402@intel.com> Date: Mon, 1 Apr 2019 10:07:35 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 In-Reply-To: <20190329131520.10653-1-david.hunt@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH v3] examples/distributor: detect high frequency cores 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: Mon, 01 Apr 2019 09:07:39 -0000 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 5A85FA068B for ; Mon, 1 Apr 2019 11:07:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 50DA8343C; Mon, 1 Apr 2019 11:07:40 +0200 (CEST) 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Apr 2019 02:07:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,296,1549958400"; d="scan'208";a="145526536" Received: from dhunt5-mobl2.ger.corp.intel.com (HELO [10.237.210.26]) ([10.237.210.26]) by FMSMGA003.fm.intel.com with ESMTP; 01 Apr 2019 02:07:36 -0700 To: dev@dpdk.org Cc: liang.j.ma@intel.com, anatoly.burakov@intel.com References: <20190328131354.25222-1-david.hunt@intel.com> <20190329131520.10653-1-david.hunt@intel.com> From: "Hunt, David" Message-ID: <6a75f0f6-cabd-93af-ae74-838c36548402@intel.com> Date: Mon, 1 Apr 2019 10:07:35 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 In-Reply-To: <20190329131520.10653-1-david.hunt@intel.com> Content-Type: text/plain; charset="UTF-8"; format="flowed" Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH v3] examples/distributor: detect high frequency cores 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190401090735.kmRruX42Ul-uHGQksXIUYOQidV9OuqeqaX_M9ik4vlA@z> 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.