I am using a Dual-boot laptop (Windows10 and Ubuntu18.04 LTS), and I am trying to using the Intel RAPL interface for power measurement in Ubuntu. When I want to use sudo modprobe intel_rapl_common
to load the kernel module, the error messages returns "No such device". Also, the following two folders "/sys/devices/virtual/powercap/" and "/sys/class/powercap/" are empty which should be the place where intel_rapl is located. To the best of my knowledge, RAPL has been integrated into Intel's Sandy Bridge and I have seen power measurement on 11th i7, can anyone help with this issue?
Additional information:
tried
sudo depmod
thenmodprobe
, same error.uname -r
: 5.4.0-107-genericfind /lib/modules/$(uname -r) -name *rapl*
output:
/lib/modules/5.4.0-107-generic/kernel/arch/x86/events/rapl.ko
/lib/modules/5.4.0-107-generic/kernel/drivers/powercap/intel_rapl_msr.ko
/lib/modules/5.4.0-107-generic/kernel/drivers/powercap/intel_rapl_common.ko```
sudo dmesg | grep -i rapl
? – Doug Smythies Apr 11 '22 at 14:22