Kernel 如何解决cpufreqset错误
我想改变cpu的频率。我已经安装了cpufrequtils。 命令“Kernel 如何解决cpufreqset错误,kernel,driver,frequency,cpu-speed,Kernel,Driver,Frequency,Cpu Speed,我想改变cpu的频率。我已经安装了cpufrequtils。 命令“cpufreq info”提供信息 cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009 Report errors and bugs to cpufreq@vger.kernel.org, please. analyzing CPU 0: driver: intel_pstate CPUs which run at the same hardwar
cpufreq info
”提供信息
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 0.97 ms.
hardware limits: 1.20 GHz - 2.40 GHz
available cpufreq governors: performance, powersave
current policy: frequency should be within 1.20 GHz and 2.40 GHz.
The governor "performance" may decide which speed to use
within this range.
当我尝试运行命令时:“sudo cpufreq set-f 1500000
”。我得到一个错误:
Error setting new values. Common errors:
- Do you have proper administration rights? (super-user?)
- Is the governor you requested available and modprobed?
- Trying to set an invalid policy?
- Trying to set a specific frequency, but userspace governor is not available,
for example because of hardware which cannot be set to a specific frequency
or because the userspace governor isn't loaded?
你能告诉我如何解决这个问题吗?试试sudo cpufreq set-g performance直接回答方法
$ sudo vi /etc/default/grub
在GRUB_CMDLINE_LINUX=选项中附加“英特尔pstate=disable”$ sudo update-grub
对于软呢帽:
$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
$ sudo reboot
$ sudo cpupower frequency-set --governor userspace
$ sudo cpupower --cpu all frequency-set --freq 1.5GHz
$ cpupower frequency-info
你们应该看到一行:“当前的CPU频率是1.50GHz。”这个问题似乎离题了,因为它是关于在Linux下配置CPU调控器的。应该移动到unix.se