我尝试在 powertop 中执行 --auto-tune,但是出现以下错误
无法从文件 /var/cache/powertop/saved_parameters.powertop 加载
如果我浏览到该目录,该文件确实存在。
我首先运行--calibrate,一切顺利完成。
这是完整的打印版;
~ $ sudo powertop --auto-tune
modprobe cpufreq_stats failedLoaded 48 prior measurements
Cannot load from file /var/cache/powertop/saved_parameters.powertop
File will be loaded after taking minimum number of measurement(s) with battery only
RAPL device for cpu 0
RAPL Using PowerCap Sysfs : Domain Mask f
RAPL device for cpu 0
RAPL Using PowerCap Sysfs : Domain Mask f
Devfreq not enabled
glob returned GLOB_ABORTED
Cannot load from file /var/cache/powertop/saved_parameters.powertop
File will be loaded after taking minimum number of measurement(s) with battery only
To show power estimates do 333 measurement(s) connected to battery only
Leaving PowerTOP
答案1
这是正常的。你看解释吧File will be loaded after taking minimum number of measurement(s) with battery only
。
一段时间后,此警告将会消失。
答案2
运行sudo powertop
一段时间,计数器将达到 0