Closed CarstenGrohmann closed 7 years ago
Thanks for reporting, I'll take a look.
I fear that the kernel you are using was before the boost file was added for acpi-cpufreq.
Please try the latest master branch and let me know if you get the same error.
I have added a patch which makes pstate-frequency log a warning when it cannot write to the boost file, but it should not cause an error.
Unfortunately, the fact that older kernels do not have this file prevents pstate-frequency from accurately reporting the state of Turbo Boost when running the acpi-cpufreq schedulers on these older kernels.
Accurate reporting is possible using msr-tools, but may be out of the scope of this project.
I've tested the current version. The bug is fixed now:
# ./pstate-frequency -G -c
pstate-frequency version 3.7.3
pstate::CPU_DRIVER -> pcc-cpufreq
pstate::CPU_GOVERNOR -> performance
pstate::TURBO -> 0 [OFF]
pstate::CPU_MIN -> 36% [1200000KHz]
pstate::CPU_MAX -> 100% [3300000KHz]
Thank you, Carsten
Hi,
the script throws an error message on a current RHEL7:
Error message
Used kernel
Content of /sys/devices/system/cpu
It would be really great if you could fix this error.
BTW: What do you think about adding the GitHub URL to the script header?
Regards, Carsten