DPDK usage discussions
 help / color / mirror / Atom feed
* dpdk-test power_autotest, power_caps_autotest
@ 2023-01-11 10:05 Antonio Di Bacco
  2023-01-11 11:52 ` Xiaoping Yan (NSB)
  0 siblings, 1 reply; 2+ messages in thread
From: Antonio Di Bacco @ 2023-01-11 10:05 UTC (permalink / raw)
  To: users

The dpdk-test is really a nice piece of software.
Today I tried to use it to "autotest" the power DPDK subsystem but I
fail to fully understand the feedback it gives (consider I've disable
intel_pstate driver):

For example:

RTE>>power_autotest
POWER: Invalid Power Management Environment(0) set


RTE>>power_caps_autotest
POWER: Env isn't set yet!
POWER: Attempting to initialise ACPI cpufreq power management...
POWER: Failed to write /sys/devices/system/cpu/cpu%u/cpufreq/scaling_governor
POWER: Cannot set governor of lcore 2 to userspace
POWER: Attempting to initialise PSTAT power management...
POWER: Initialized successfully for lcore 2 power management
POWER: Capabilities 1


How to fix the "Invalid Power Management Environment(0) set" and the
Failed to write /sys/devices/system/cpu/cpu%u/cpufreq/scaling_governor
?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: dpdk-test power_autotest, power_caps_autotest
  2023-01-11 10:05 dpdk-test power_autotest, power_caps_autotest Antonio Di Bacco
@ 2023-01-11 11:52 ` Xiaoping Yan (NSB)
  0 siblings, 0 replies; 2+ messages in thread
From: Xiaoping Yan (NSB) @ 2023-01-11 11:52 UTC (permalink / raw)
  To: Antonio Di Bacco, users

Hi,

Have you checked if the file exist in your system (replace the %u with a cpu index)
/sys/devices/system/cpu/cpu%u/cpufreq/scaling_governor

Also write to above file requires root user.

-----Original Message-----
From: Antonio Di Bacco <a.dibacco.ks@gmail.com> 
Sent: 2023年1月11日 18:06
To: users@dpdk.org
Subject: dpdk-test power_autotest, power_caps_autotest

The dpdk-test is really a nice piece of software.
Today I tried to use it to "autotest" the power DPDK subsystem but I fail to fully understand the feedback it gives (consider I've disable intel_pstate driver):

For example:

RTE>>power_autotest
POWER: Invalid Power Management Environment(0) set


RTE>>power_caps_autotest
POWER: Env isn't set yet!
POWER: Attempting to initialise ACPI cpufreq power management...
POWER: Failed to write /sys/devices/system/cpu/cpu%u/cpufreq/scaling_governor
POWER: Cannot set governor of lcore 2 to userspace
POWER: Attempting to initialise PSTAT power management...
POWER: Initialized successfully for lcore 2 power management
POWER: Capabilities 1


How to fix the "Invalid Power Management Environment(0) set" and the Failed to write /sys/devices/system/cpu/cpu%u/cpufreq/scaling_governor
?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-11 11:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-11 10:05 dpdk-test power_autotest, power_caps_autotest Antonio Di Bacco
2023-01-11 11:52 ` Xiaoping Yan (NSB)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).