264. Power managerment throughput test plan¶
This test plan test cpu frequence changed according io workloads with l3fwd-power sample. The cpu frequency status depends on NIC and CPU type.
Add "intel_pstate=disable" in kernel options.
BIOS configuration as below:
CPU mode : "Power" Workload configuratuion："IO sensitive" Hardware Power : "Disabled" Speedstep : "Enabled" Turbo : "Enabled" C-stats：C0/C1 C6 : "Enabled"
264.2. Test Case1: Check the CPU frequency can change according differernt packet speed¶
Check that you are using the “acpi-cpufreq” driver by command “cpufreq-info”.
CPU frequency controlled by userspace by command “cpupower frequency-set -g userspace”.
Bind one nic port to igb_uio, launch l3fwd-power sample, one core used for one port:
./l3fwd-power -c 0xc000000 -n 4 -- -P -p 0x01 --config '(0,0,27)'
Send packets by packet generator with high speed, check the used cpu frequency is almost 100%:
Send packets by packet generator with low speed, the CPU frequency will reduce about 50%: