cpupower frequency 无法设置userspace的问题

  1. Disable intel_pstate in grub configure file:

    $ sudo vi /etc/default/grub
    

    Append "intel_pstate=disable" to GRUB_CMDLINE_LINUX= option

  2. Refresh grub boot configuration file:

    For Ubuntu:

    $ sudo update-grub
    

    For Fedora:

    $ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
    
  3. Reboot.

    $ sudo reboot
    
  4. Set CPU power governor to userspace:

    $ sudo cpupower frequency-set --governor userspace
    
  5. Set CPU frequency:

    $ sudo cpupower --cpu all frequency-set --freq 1.5GHz
    
  6. Verify:

    $ cpupower frequency-info
    

    You should see line: "current CPU frequency is 1.50 GHz."

如果上述方法没有作用,再进入/boot/grub2/grub.cfg中查看,是否有intel_pstate=disable。如果没有,添加上。

如果还是没有用

 For BIOS install:

Code: grub2-mkconfig -o /boot/grub2/grub.cfg

For UEFI install: Code: grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg 

在linuxefi之后添加intel_pstate=disable。

原文地址:https://www.cnblogs.com/meierbao/p/6084431.html