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 27584A0561; Mon, 20 Apr 2020 07:24:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 193131D170; Mon, 20 Apr 2020 07:24:37 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 4DF2F1C293 for ; Mon, 20 Apr 2020 07:24:35 +0200 (CEST) IronPort-SDR: vpSrLJ5MTpG3sHk7eaZkpJmJiVRpPcxBaT/CU78m3Pd9jgcLk/tR1e5aAQ2aE2E2gMq7Zba/q+ GYnVzsitfS3A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2020 22:24:34 -0700 IronPort-SDR: XLYV3KfOf+Cm/qDIy3b81Z+JFdan0jaFRa+v0B7M7G+Ln8OQXMtJX/UjDi2Wbz7rguCPGDslMu 0sbEmZF/T3+Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,405,1580803200"; d="scan'208";a="243696886" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga007.jf.intel.com with ESMTP; 19 Apr 2020 22:24:33 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Apr 2020 22:24:33 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 19 Apr 2020 22:24:33 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by shsmsx102.ccr.corp.intel.com ([169.254.2.138]) with mapi id 14.03.0439.000; Mon, 20 Apr 2020 13:24:31 +0800 From: "Tu, Lijuan" To: "Mo, YufengX" , "dts@dpdk.org" , "Yao, Lei A" CC: "Mo, YufengX" Thread-Topic: [dts] [PATCH V1 2/2] tests/power_empty_poll: update test plan Thread-Index: AQHWFrGOE4aX0IOaAk2dEwIs9n+Si6iBeoWg Date: Mon, 20 Apr 2020 05:24:30 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC0D342@SHSMSX101.ccr.corp.intel.com> References: <20200420012036.3630-1-yufengx.mo@intel.com> <20200420012036.3630-3-yufengx.mo@intel.com> In-Reply-To: <20200420012036.3630-3-yufengx.mo@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1 2/2] tests/power_empty_poll: update test plan 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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yufengmx > Sent: Monday, April 20, 2020 9:21 AM > To: dts@dpdk.org; Yao, Lei A > Cc: Mo, YufengX > Subject: [dts] [PATCH V1 2/2] tests/power_empty_poll: update test plan >=20 >=20 > #. add missing hyper threading setting. > #. update traffic framesize usage. >=20 > Signed-off-by: yufengmx > --- > test_plans/power_empty_poll_test_plan.rst | 16 +++++++++++----- > 1 file changed, 11 insertions(+), 5 deletions(-) >=20 > diff --git a/test_plans/power_empty_poll_test_plan.rst > b/test_plans/power_empty_poll_test_plan.rst > index 61c698c..4472830 100644 > --- a/test_plans/power_empty_poll_test_plan.rst > +++ b/test_plans/power_empty_poll_test_plan.rst > @@ -101,10 +101,16 @@ state. If this is not supplied, the application wil= l > apply the default value of >=20 > Preparation Work for Settings > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > -1. Turn on Speedstep option in BIOS > -2. Turn on Turbo in BIOS > -3. Use intel_pstate driver for CPU frequency control -4. modprobe msr > +BIOS setting:: > + > + 1. Turn on Speedstep option in BIOS > + 2. Turn on Turbo in BIOS > + 3. Turn off Hyper Threading > + > +Linux setting:: > + > + 1. Use intel_pstate driver for CPU frequency control > + 2. modprobe msr >=20 > sys_min=3D/sys/devices/system/cpu/cpu{}/cpufreq/cpuinfo_min_freq > sys_max=3D/sys/devices/system/cpu/cpu{}/cpufreq/cpuinfo_max_freq > @@ -122,7 +128,7 @@ Step 1. Bind One NIC to DPDK driver, launch l3fwd- > power with empty-poll enabled >=20 > Step 2. Check the log also when changing the inject packet rate as follo= wing: >=20 > - Injected Rate(64B, dst_ip=3D1.1.1.1): 10G -> 0.1G -> 10G -> 0.1G -> = 10G -> > + Injected Rate(1024B, dst_ip=3D1.1.1.1): 10G -> 0.1G -> 10G -> 0.1G -= > > + 10G -> > 0.1G The frequency will be set to MED when we inject 0.1G and return= to > HGH > when inject 10G Rate, check the frequency of the forwarding core(cor= e 2) > When traffic is 10G: cur_min=3Dcur_max=3Dno_turbo_max > -- > 2.21.0