From patchwork Thu May 2 11:18:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Hunt, David" X-Patchwork-Id: 53210 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7D3873772; Thu, 2 May 2019 13:18:48 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id D2EDF34F3 for ; Thu, 2 May 2019 13:18:46 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 May 2019 04:18:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,421,1549958400"; d="scan'208";a="296353369" Received: from silpixa00399952.ir.intel.com (HELO silpixa00399952.ger.corp.intel.com) ([10.237.223.64]) by orsmga004.jf.intel.com with ESMTP; 02 May 2019 04:18:44 -0700 From: David Hunt To: dev@dpdk.org Cc: david.hunt@intel.com Date: Thu, 2 May 2019 12:18:13 +0100 Message-Id: <20190502111815.29343-1-david.hunt@intel.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v1 1/3] doc/distributor: add SST-BF enhancement info 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" The distributor sample application has been enhanced to be aware of Intel SST-BF high frequency cores. Docs also contain a link to the Intel SST-BF application note. Signed-off-by: David Hunt Acked-by: John McNamara --- doc/guides/sample_app_ug/dist_app.rst | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/doc/guides/sample_app_ug/dist_app.rst b/doc/guides/sample_app_ug/dist_app.rst index abfdd2c5e..90270e3a5 100644 --- a/doc/guides/sample_app_ug/dist_app.rst +++ b/doc/guides/sample_app_ug/dist_app.rst @@ -5,7 +5,9 @@ Distributor Sample Application ============================== The distributor sample application is a simple example of packet distribution -to cores using the Data Plane Development Kit (DPDK). +to cores using the Data Plane Development Kit (DPDK). It also makes use of +Intel Speed Select Technology - Base Frequency (Intel SST-BF) to pin the +distributor to the higher frequency core if available. Overview -------- @@ -101,6 +103,22 @@ final statistics to the user. Distributor Sample Application Layout +Intel SST-BF Support +-------------------- + +In DPDK 19.05, support was added to the power management library for +Intel-SST-BF, a technology that allows some cores to run at a higher +frequency than others. An application note for Intel SST-BF is available, +and is entitled +`Intel Speed Select Technology – Base Frequency - Enhancing Performance `_ + +The distributor application was also enhanced to be aware of these higher +frequency SST-BF cores, and when starting the application, if high frequency +SST-BF cores are present in the core mask, the application will identify these +cores and pin the workloads appropriately. The distributor core is usually +the bottleneck, so this is given first choice of the high frequency SST-BF +cores, followed by the rx core and the tx core. + Debug Logging Support --------------------- From patchwork Thu May 2 11:18:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hunt, David" X-Patchwork-Id: 53211 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 48FC34C94; Thu, 2 May 2019 13:18:54 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 2824E34F3 for ; Thu, 2 May 2019 13:18:53 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 May 2019 04:18:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,421,1549958400"; d="scan'208";a="296353394" Received: from silpixa00399952.ir.intel.com (HELO silpixa00399952.ger.corp.intel.com) ([10.237.223.64]) by orsmga004.jf.intel.com with ESMTP; 02 May 2019 04:18:51 -0700 From: David Hunt To: dev@dpdk.org Cc: david.hunt@intel.com Date: Thu, 2 May 2019 12:18:14 +0100 Message-Id: <20190502111815.29343-2-david.hunt@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190502111815.29343-1-david.hunt@intel.com> References: <20190502111815.29343-1-david.hunt@intel.com> Subject: [dpdk-dev] [PATCH v1 2/3] doc: add release note for power changes 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" In the Power Library, a new bit has been added to the mask returned by rte_power_get_capabilities which indicates whether the core is an Intel SST-BF high frequency core. The Distributor sample app has also been enhanced to make use of SST-BF cores, and pin relevant workloads to the higher frequency cores, if available in the core mask provided to the application. Signed-off-by: David Hunt Acked-by: John McNamara --- doc/guides/rel_notes/release_19_05.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/guides/rel_notes/release_19_05.rst b/doc/guides/rel_notes/release_19_05.rst index d5ed564ab..b0b71dc7b 100644 --- a/doc/guides/rel_notes/release_19_05.rst +++ b/doc/guides/rel_notes/release_19_05.rst @@ -187,6 +187,17 @@ New Features Improved testpmd application performance on ARM platform. For ``macswap`` forwarding mode, NEON intrinsics were used to do swap to save CPU cycles. +* **Updated power management library.** + + Added support for Intel Speed Select Technology - Base Frequency (SST-BF). + ``rte_power_get_capabilities`` now has a bit in it's returned mask + indicating it's a high frequency core. + +* **Updated distributor sample application.** + + Added support for Intel SST-BF feature so that the distributor core is + pinned to a high frequency core if available. + Removed Items ------------- From patchwork Thu May 2 11:18:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hunt, David" X-Patchwork-Id: 53212 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0CB924C77; Thu, 2 May 2019 13:18:57 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id B8DE14CA7 for ; Thu, 2 May 2019 13:18:54 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 May 2019 04:18:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,421,1549958400"; d="scan'208";a="296353402" Received: from silpixa00399952.ir.intel.com (HELO silpixa00399952.ger.corp.intel.com) ([10.237.223.64]) by orsmga004.jf.intel.com with ESMTP; 02 May 2019 04:18:53 -0700 From: David Hunt To: dev@dpdk.org Cc: david.hunt@intel.com Date: Thu, 2 May 2019 12:18:15 +0100 Message-Id: <20190502111815.29343-3-david.hunt@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190502111815.29343-1-david.hunt@intel.com> References: <20190502111815.29343-1-david.hunt@intel.com> Subject: [dpdk-dev] [PATCH v1 3/3] lib/power: clarify comment on priority core 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" As part of the documentation update on the changes made to the power library for 19.05, information on SST-BF was added. This patch updates the comment to clarify that a priority core is an SST-BF high frequency core. Signed-off-by: David Hunt Acked-by: John McNamara --- lib/librte_power/rte_power.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_power/rte_power.h b/lib/librte_power/rte_power.h index 0650112ad..01f88588b 100644 --- a/lib/librte_power/rte_power.h +++ b/lib/librte_power/rte_power.h @@ -259,7 +259,7 @@ struct rte_power_core_capabilities { RTE_STD_C11 struct { uint64_t turbo:1; /**< Turbo can be enabled. */ - uint64_t priority:1; /**< Priority core */ + uint64_t priority:1; /**< SST-BF high freq core */ }; }; };