我正在尝试在 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
这是正常的。你看解释
File will be loaded after taking minimum number of measurement(s) with battery only
。此警告会在一段时间后消失。
运行
sudo powertop
一段时间,计数器将达到 0