test suite reviews and discussions
 help / color / mirror / Atom feed
From: Reshma Pattan <reshma.pattan@intel.com>
To: dts@dpdk.org
Cc: Reshma Pattan <reshma.pattan@intel.com>
Subject: [dts] [PATCH 3/4] tests/power_pbf: change core mask
Date: Wed,  7 Apr 2021 09:18:06 +0100	[thread overview]
Message-ID: <20210407081807.29110-3-reshma.pattan@intel.com> (raw)
In-Reply-To: <20210407081807.29110-1-reshma.pattan@intel.com>

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 <reshma.pattan@intel.com>
---
 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


  parent reply	other threads:[~2021-04-07  8:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-07  8:18 [dts] [PATCH 1/4] conf/power_pstate: change core Reshma Pattan
2021-04-07  8:18 ` [dts] [PATCH 2/4] tests/power_bidirection_channel: change core masks Reshma Pattan
2021-04-07  8:18 ` Reshma Pattan [this message]
2021-04-07  8:18 ` [dts] [PATCH 4/4] tests/TestSuite_vm_pw_mgmt_policy: change core_mask Reshma Pattan
2021-04-08  8:55   ` Tu, Lijuan
2021-04-08  9:14     ` Pattan, Reshma
2021-04-12  5:16       ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210407081807.29110-3-reshma.pattan@intel.com \
    --to=reshma.pattan@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).