2

My AMD FX 8320 has a bad habit of crashing down the OS when it is doing CPU intensive work, like CG rendering or program compilation.

On Windows, to overcome this issue, what I used to do was limit it's execution in Power Options to 90%. Somewhat as shown in this question.

enter image description here


Is there a way to limit CPU execution cap to 90% in Linux?

I have researched on the internet about this, most of the question talk about limiting it on the process basis or core basis. I want it to be global. Can anyone guide me on this?

Santosh Kumar
  • 1,002
  • 4
  • 14
  • 35
  • This Windows setting controls your CPU frequency. On Linux, this functionality is called “Frequency scaling governors”. – Daniel B Aug 03 '18 at 07:46
  • 4
    You're looking for `/sys/devices/system/cpu/cpu*/cpufreq/{scaling_governor,scaling_max_freq}` – Attie Aug 03 '18 at 07:54
  • 2
    Arch Linux has a guide on setting maximum clock speeds: https://wiki.archlinux.org/index.php/CPU_frequency_scaling and RedHat also has a guide: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/power_management_guide/cpufreq_governors. In RedHat it looks like the p-state can be configured to a maximum power percentage similarly to Windows. FYI my Google search was "fedora cpu power state limit" just to get you running in the right direction. – Mokubai Aug 03 '18 at 08:06
  • 2
    Have you looked at increasing your cooling/airflow instead? – mattdm Aug 03 '18 at 08:58

0 Answers0