[dts] [PATCH V1 2/2] tests/power_empty_poll: update test plan

Tu, Lijuan lijuan.tu at intel.com
Mon Apr 20 07:24:30 CEST 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of yufengmx
> Sent: Monday, April 20, 2020 9:21 AM
> To: dts at dpdk.org; Yao, Lei A <lei.a.yao at intel.com>
> Cc: Mo, YufengX <yufengx.mo at intel.com>
> Subject: [dts] [PATCH V1 2/2] tests/power_empty_poll: update test plan
> 
> 
> #. add missing hyper threading setting.
> #. update traffic framesize usage.
> 
> Signed-off-by: yufengmx <yufengx.mo at intel.com>
> ---
>  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



More information about the dts mailing list