209. Power Lib Telemetry Test Plan¶
Three types of data will be reported by DPDK telemetry lib in l3fwd-power sample. + {“empty_poll”}, + {“full_poll”}, + {“busy_percent”}
209.1. Preparation Work for Settings¶
Turn on Speedstep option in BIOS
Turn on CPU C3 and C6
Turn on Turbo in BIOS
Disable intel_pstate in Linux kernel command:
intel_pstate=disable
Let user space can control the CPU frequency:
cpupower frequency-set -g userspace
209.3. Test Case 2 : Check busy_percent with different injected throughput¶
- Using step1~3 in test case 1.
- Inject packets with line rate with 64 bit frame size, check the busy_percent returned, it should be no-zero number.
- Stop the injected packet stream, check the busy_percent returned, it should be 0.