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 29EEAA00C4; Fri, 5 Jun 2020 04:22:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0CC701D60A; Fri, 5 Jun 2020 04:22:44 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A97D51D608 for ; Fri, 5 Jun 2020 04:22:41 +0200 (CEST) IronPort-SDR: W+vkiAl+I2H8vKdA8EV8l/jMWYK0fOdkSX6nMLCMQVucQWAqL64+nx+ctyntXdZz1nH0qLJtJQ h54ePd17SL8A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jun 2020 19:22:40 -0700 IronPort-SDR: L+uuejyMjgroGh6H8zLhFgYVQ/zyfxBsDEJIUCWa5eHZFkzvpRJ0NcthGq5zn1uy8ZET58ODzt FuqLu9eKz0+g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,474,1583222400"; d="scan'208";a="258551674" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga007.jf.intel.com with ESMTP; 04 Jun 2020 19:22:39 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 4 Jun 2020 19:22:39 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by SHSMSX606.ccr.corp.intel.com (10.109.6.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 5 Jun 2020 10:22:37 +0800 Received: from shsmsx602.ccr.corp.intel.com ([10.109.6.142]) by SHSMSX602.ccr.corp.intel.com ([10.109.6.142]) with mapi id 15.01.1713.004; Fri, 5 Jun 2020 10:22:37 +0800 From: "Yao, Lei A" To: "Mo, YufengX" , "dts@dpdk.org" Thread-Topic: [dts][PATCH V1 1/2] tests/power_pbf: add Jansson installation description Thread-Index: AQHWOt/saVKN210CCEORriM6OaOY1KjJSoSQ Date: Fri, 5 Jun 2020 02:22:37 +0000 Message-ID: <64c1edee033f4703910f125ca7594118@intel.com> References: <20200605022146.12015-1-yufengx.mo@intel.com> <20200605022146.12015-2-yufengx.mo@intel.com> In-Reply-To: <20200605022146.12015-2-yufengx.mo@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-reaction: no-action dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" > -----Original Message----- > From: Mo, YufengX > Sent: Friday, June 5, 2020 10:22 AM > To: dts@dpdk.org; Yao, Lei A > Cc: Mo, YufengX > Subject: [dts][PATCH V1 1/2] tests/power_pbf: add Jansson installation > description >=20 >=20 > add description to install the Jansson development package in test plan. >=20 > Signed-off-by: yufengmx Acked-by: Lei Yao > --- > test_plans/power_pbf_test_plan.rst | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) >=20 > 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. >=20 > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Power PBF Tests > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 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 >=20 > @@ -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=3Dy > +10. Install the Jansson development package, ``apt-get install libjansso= n- > dev`` or ``dnf -y install jansson-devel``. > + >=20 > Test Case1 : Check High Priority Core Can Be Recognized By Power Lib >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > @@ -120,7 +122,7 @@ Step 4: Send different command to power sample, > then check the frequency:: > :"DISABLE_TURBO": Disable Turbo Boost for this core >=20 > Test Case3 : Check "DISABLE_TURBO" Action When Core is In Turbo Status > for High Priority Core > - > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Step 1. Create powermonitor fold for:: >=20 > 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 >=20 >=20 > Test Case4: Check Distributor Sample Use High Priority Core as Distribu= te > Core > - > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Step 1. Get the Priority core list on DUT in test case 1:: >=20 > For example: > -- > 2.21.0