Files
oam/knowledge base/set the ondemand cpu governor to not rise the frequencies for niced loads.md
2024-01-12 20:53:50 +01:00

817 B

Set the ondemand CPU governor to not rise the frequencies for niced loads

Table of contents

  1. TL;DR
  2. Further readings

TL;DR

sudo cpupower frequency-set --governor 'ondemand'
echo 1 | sudo tee '/sys/devices/system/cpu/cpufreq/ondemand/ignore_nice_load'

# set this on boot
echo "w /sys/devices/system/cpu/cpufreq/ondemand/ignore_nice_load - - - - 1" | sudo tee '/etc/tmpfiles.d/ondemand-ignore-nice.conf'

Further readings