From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4ED38A0A02; Wed, 7 Apr 2021 10:18:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49B891410A7; Wed, 7 Apr 2021 10:18:23 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 4D547141083 for ; Wed, 7 Apr 2021 10:18:21 +0200 (CEST) IronPort-SDR: 47U67eiUn+Ub5R/RVz0Qlsj+eM2CPsEEdgflgtpinL3Nylh8+U579cm4DCV5OpWiRSu8LOY9tu KHcKtHyLWLzg== X-IronPort-AV: E=McAfee;i="6000,8403,9946"; a="173332561" X-IronPort-AV: E=Sophos;i="5.82,203,1613462400"; d="scan'208";a="173332561" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2021 01:18:20 -0700 IronPort-SDR: eXcGRIKV4aGNSc8SPifc9aGTUKwPS7qs/BQXXOCTIR9Hk9UcEODzyWELJADWL6trRLfuJ1A1zj 3H2bazKp3dMQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,203,1613462400"; d="scan'208";a="415165199" Received: from silpixa00400215.ir.intel.com (HELO silpixa00400215.ger.corp.intel.com) ([10.237.223.24]) by fmsmga008.fm.intel.com with ESMTP; 07 Apr 2021 01:18:19 -0700 From: Reshma Pattan To: dts@dpdk.org Cc: Reshma Pattan Date: Wed, 7 Apr 2021 09:18:06 +0100 Message-Id: <20210407081807.29110-3-reshma.pattan@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210407081807.29110-1-reshma.pattan@intel.com> References: <20210407081807.29110-1-reshma.pattan@intel.com> Subject: [dts] [PATCH 3/4] tests/power_pbf: change core mask X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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" Change the vm_power_manager core mask to accommodate maximum cores to allow the access to any core information requested by guest_cli application. Now with dpdk 20.11 the cores used for guest_cli should be enabled in vm_power_manager core mask. Otherwise vm_power_manager will not grant the access to fetch the information for those cores missing in the coremask. Relevant DPDK patch https://patchwork.dpdk.org/project/dpdk/patch/20210115125250.22416-1-david.hunt@intel.com/ Signed-off-by: Reshma Pattan --- test_plans/power_pbf_test_plan.rst | 6 +++--- tests/TestSuite_power_pbf.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test_plans/power_pbf_test_plan.rst b/test_plans/power_pbf_test_plan.rst index a8046244..6a38fc61 100644 --- a/test_plans/power_pbf_test_plan.rst +++ b/test_plans/power_pbf_test_plan.rst @@ -59,7 +59,7 @@ Step 1. Create powermonitor fold for:: Step 2. Compile DPDK with Power Lib debug info on, then Luanch VM power manager sample:: - ./examples/vm_power_manager/build/vm_power_mgr -l 1-4 -n 4 --file-prefix=power --no-pci + ./examples/vm_power_manager/build/vm_power_mgr -l 1-46 -n 4 --file-prefix=power --no-pci Check two different base_max frequency will be shown in log, for example on Intel 6230N Processor: The log will be like as following @@ -87,7 +87,7 @@ Step 1. Create powermonitor fold for:: Step 2. Compile DPDK with Power Lib debug info on, then aunch VM power manager sample:: - ./examples/vm_power_manager/build/vm_power_mgr -l 1-4 -n 4 --file-prefix=power --no-pci + ./examples/vm_power_manager/build/vm_power_mgr -l 1-46 -n 4 --file-prefix=power --no-pci Step 3. Prepare different command in JSON format:: @@ -129,7 +129,7 @@ Step 1. Create powermonitor fold for:: Step 2. Compile DPDK with Power Lib debug info on, then launch VM power manager sample:: - ./examples/vm_power_manager/build/vm_power_mgr -l 1-4 -n 4 --file-prefix=power --no-pci + ./examples/vm_power_manager/build/vm_power_mgr -l 1-46 -n 4 --file-prefix=power --no-pci Step 3. Prepare Several command in JSON format then send it to the fifo channel for the high priority core:: diff --git a/tests/TestSuite_power_pbf.py b/tests/TestSuite_power_pbf.py index 6109a3bf..c3e2075c 100644 --- a/tests/TestSuite_power_pbf.py +++ b/tests/TestSuite_power_pbf.py @@ -166,7 +166,7 @@ class TestPowerPbf(TestCase): if self.is_mgr_on: return bin_file = os.sep.join([self.target_dir, '']) - config = "1S/4C/1T" + config = "2S/23C/1T" option = '-v -c {0} -n {1} --file-prefix=vmpower --no-pci'.format( self.get_cores_mask(config), self.memory_channels) -- 2.17.1