From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EBA91A00C4; Fri, 5 Jun 2020 04:20:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8079A1D608; Fri, 5 Jun 2020 04:20:37 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id EB8841D603 for ; Fri, 5 Jun 2020 04:20:35 +0200 (CEST) IronPort-SDR: fJcHS3CJERURS3OZH593wuaNMmYobM7cV6NW5526K4uieUTm0mwJeEwbz0IydPqtDfNfJnLJgJ GQqZSAsn3pIw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jun 2020 19:20:34 -0700 IronPort-SDR: pO7SxWIYP4qYFu6ggFBmDvM1/cFwGk3+l6gk/6jchdobrCB0GYG8gLfe3tPeZGZOnYQPFb0nDm pC2b4AL7JjEQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,474,1583222400"; d="scan'208";a="417123015" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.208]) by orsmga004.jf.intel.com with ESMTP; 04 Jun 2020 19:20:33 -0700 From: yufengmx To: dts@dpdk.org, lei.a.yao@intel.com Cc: yufengmx Date: Fri, 5 Jun 2020 10:21:45 +0800 Message-Id: <20200605022146.12015-2-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200605022146.12015-1-yufengx.mo@intel.com> References: <20200605022146.12015-1-yufengx.mo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1 1/2] tests/power_pbf: add Jansson installation description X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" add description to install the Jansson development package in test plan. Signed-off-by: yufengmx --- test_plans/power_pbf_test_plan.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test_plans/power_pbf_test_plan.rst b/test_plans/power_pbf_test_plan.rst index 2ec3e56..a804624 100644 --- a/test_plans/power_pbf_test_plan.rst +++ b/test_plans/power_pbf_test_plan.rst @@ -30,9 +30,9 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -================================================= +=============== Power PBF Tests -================================================= +=============== PBF(Priority Base Frequency) is new power feature on some Intel CPU SKU. This feature can support some core in core list have garenteed higher base frequency DPDK start support this feature from 19.05 @@ -48,6 +48,8 @@ Check the SKU of Processor: 6230N, 6252N and 5218N can support this feature 7. Modprobe msr module 8. DON'T set intel_pstate to disable in grub 9. Turn on the debug log for DPDK power lib, CONFIG_RTE_LIBRTE_POWER_DEBUG=y +10. Install the Jansson development package, ``apt-get install libjansson-dev`` or ``dnf -y install jansson-devel``. + Test Case1 : Check High Priority Core Can Be Recognized By Power Lib ==================================================================== @@ -120,7 +122,7 @@ Step 4: Send different command to power sample, then check the frequency:: :"DISABLE_TURBO": Disable Turbo Boost for this core Test Case3 : Check "DISABLE_TURBO" Action When Core is In Turbo Status for High Priority Core -============================================================================================== +============================================================================================= Step 1. Create powermonitor fold for:: Create monitor channel folder, /tmp/powermonitor, give permission 777 @@ -149,7 +151,7 @@ Step 4. Check the CPU frequency will be set to No turbo max frequency when turbo Test Case4: Check Distributor Sample Use High Priority Core as Distribute Core -====================================================================================== +=============================================================================== Step 1. Get the Priority core list on DUT in test case 1:: For example: -- 2.21.0