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 22989A0588; Mon, 20 Apr 2020 03:17:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0AB611C43B; Mon, 20 Apr 2020 03:17:56 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 873DB1C43A for ; Mon, 20 Apr 2020 03:17:53 +0200 (CEST) IronPort-SDR: zbGl89G2AmwW2aPWCYuhwz2aNDtFgtVxmA1i9UQRCNIzoC67j3OUlzs+Tp4xHTJ9F3CeGeo48p bK5F7xwSnNQw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2020 18:17:53 -0700 IronPort-SDR: diRrNTJKBSI/4nty/IhdfwpRlcGTdJJnb/9fftsQpfbrZqW3Htqrj440tF9JotWBLy/91BtD6o 7/0VdlDiP0iQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,405,1580803200"; d="scan'208";a="279080700" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.222]) by fmsmga004.fm.intel.com with ESMTP; 19 Apr 2020 18:17:52 -0700 From: yufengmx To: dts@dpdk.org, lei.a.yao@intel.com Cc: yufengmx Date: Mon, 20 Apr 2020 09:20:36 +0800 Message-Id: <20200420012036.3630-3-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200420012036.3630-1-yufengx.mo@intel.com> References: <20200420012036.3630-1-yufengx.mo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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" #. add missing hyper threading setting. #. update traffic framesize usage. Signed-off-by: yufengmx --- test_plans/power_empty_poll_test_plan.rst | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) 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 will apply the default value of Preparation Work for Settings ============================= -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 sys_min=/sys/devices/system/cpu/cpu{}/cpufreq/cpuinfo_min_freq sys_max=/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 Step 2. Check the log also when changing the inject packet rate as following: - Injected Rate(64B, dst_ip=1.1.1.1): 10G -> 0.1G -> 10G -> 0.1G -> 10G -> + Injected Rate(1024B, dst_ip=1.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(core 2) When traffic is 10G: cur_min=cur_max=no_turbo_max -- 2.21.0