0

I'm currently having an issue with my notebook where sometimes CPU usage reaches 100% and CPU frequency keep in the low end (200Mhz) for a long period of time. It doesn't happen all the time, but it happens frequently enough and it stays like that longer than I would like.

I have tried a couple different governors already userspace, performance and ondemand. They all have this issue.

htop showing CPU at 100% of usage at 200Mhz:

Image of htop showing CPU at 100% of usage at 200Mhz

I decided to set the minimum frequency but it is not being respected. I have already disabled intel_pstate driver and have already run cpupower commands.

I will add a couple outputs from some commands that may help to debug this issue, but keep in mind that these were not taken when the above screenshot was taken.

cpupower frequency-info: You can see here that current policy shows 2.3Ghz as minimum. These were set after I ran a cpupower script I found in a thread.

$ sudo cpupower frequency-info
analyzing CPU 7:
  driver: intel_cpufreq
  CPUs which run at the same hardware frequency: 7
  CPUs which need to have their frequency coordinated by software: 7
  maximum transition latency: 20.0 us
  hardware limits: 400 MHz - 4.70 GHz
  available cpufreq governors: conservative ondemand userspace powersave performance schedutil
  current policy: frequency should be within 2.30 GHz and 4.20 GHz.
                  The governor "userspace" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 3.88 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes

/etc/init.d/cpufrequtils: Here the minimum is 1.5Ghz

ENABLE="true"
GOVERNOR="performance"
MAX_SPEED="4000000"
MIN_SPEED="1500000"

I also added intel_pstate=passive cpufreq.default_governor=schedutil to /etc/default/grub too and I made sure to load it by running sudo update-grub.

I wonder if there is a way that I set the minimum frequency in CPU and that gets respected.

karel
  • 122,292
  • 133
  • 301
  • 332

0 Answers0