You are not logged in.

#1 2020-09-03 20:42:09

nstgc
Member
Registered: 2014-03-17
Posts: 393

CPU frequency seems stuck at 1.2Ghz

$ sudo cpupower frequency-info
analyzing CPU 0:
  driver: intel_cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 20.0 us
  hardware limits: 1.20 GHz - 3.90 GHz
  available cpufreq governors: userspace ondemand powersave performance schedutil
  current policy: frequency should be within 1.20 GHz and 1.20 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 1.20 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes
    3900 MHz max turbo 4 active cores
    3900 MHz max turbo 3 active cores
    3900 MHz max turbo 2 active cores
    3900 MHz max turbo 1 active cores

I've tried both ondemand and performance govenors. I've also tried `$ sudo cpupower frequency-set -f 3.4`, but as you can guess from `current policy: frequency should be within 1.20 GHz and 1.20 GHz.`, that did nothing.

I'm not sure what's going on, but I noticed this when I was compiling.

`watch grep \"cpu MHz\" /proc/cpuinfo` Shows similiar numbers.

I'm not sure when this started, but it sure is annoying.

edit: Rebooting seems to have fixed this, but I have no idea what caused it in the first place.

Last edited by nstgc (2020-09-03 21:02:42)

Offline

#2 2020-09-03 21:33:14

fistrosan
Member
Registered: 2020-04-01
Posts: 171

Re: CPU frequency seems stuck at 1.2Ghz

Is this a desktop or a laptop ? If laptop, where you running on battery and perhaps your tlp or upower services were limiting the CPU frequency ?

Offline

#3 2020-09-05 11:58:03

nstgc
Member
Registered: 2014-03-17
Posts: 393

Re: CPU frequency seems stuck at 1.2Ghz

fistrosan wrote:

Is this a desktop or a laptop ? If laptop, where you running on battery and perhaps your tlp or upower services were limiting the CPU frequency ?

No, this was on a desktop.

Offline

#4 2020-09-05 18:42:56

fistrosan
Member
Registered: 2020-04-01
Posts: 171

Re: CPU frequency seems stuck at 1.2Ghz

Still happening ? If so, perhaps a good starting point is to have a look at what systemd services do you have running. Maybe something is limiting your performance. What is the output of

systemctl list-units --type=service

Offline

#5 2020-09-06 13:21:07

nstgc
Member
Registered: 2014-03-17
Posts: 393

Re: CPU frequency seems stuck at 1.2Ghz

fistrosan wrote:

Still happening ? If so, perhaps a good starting point is to have a look at what systemd services do you have running. Maybe something is limiting your performance. What is the output of

systemctl list-units --type=service

No, a reboot helped, however I have noticed that in both Gnome extension CPUFreq and cpupower I only have two govonors now: Performance (which is what it's set on) and Schedutil.

$ systemctl list-units --type=service
  UNIT                               LOAD   ACTIVE SUB     DESCRIPTION                                              
  accounts-daemon.service            loaded active running Accounts Service                                         
  alsa-restore.service               loaded active exited  Save/Restore Sound Card State                            
  colord.service                     loaded active running Manage, Install and Generate Color Profiles              
  dbus.service                       loaded active running D-Bus System Message Bus                                 
  dhcpcd.service                     loaded active running dhcpcd on all interfaces                                 
  getty@tty1.service                 loaded active running Getty on tty1                                            
  haveged.service                    loaded active running Entropy Daemon based on the HAVEGE algorithm             
  kmod-static-nodes.service          loaded active exited  Create list of static device nodes for the current kernel
  lm_sensors.service                 loaded active exited  Initialize hardware monitoring sensors                   
  org.cups.cupsd.service             loaded active running CUPS Scheduler                                           
  polkit.service                     loaded active running Authorization Manager                                    
  rtkit-daemon.service               loaded active running RealtimeKit Scheduling Policy Service                    
● shadow.service                     loaded failed failed  Verify integrity of password and group files             
  systemd-binfmt.service             loaded active exited  Set Up Additional Binary Formats                         
  systemd-journal-flush.service      loaded active exited  Flush Journal to Persistent Storage                      
  systemd-journald.service           loaded active running Journal Service                                          
  systemd-logind.service             loaded active running User Login Management                                    
  systemd-modules-load.service       loaded active exited  Load Kernel Modules                                      
  systemd-networkd.service           loaded active running Network Service                                          
  systemd-random-seed.service        loaded active exited  Load/Save Random Seed                                    
  systemd-remount-fs.service         loaded active exited  Remount Root and Kernel File Systems                     
  systemd-sysctl.service             loaded active exited  Apply Kernel Variables                                   
  systemd-timesyncd.service          loaded active running Network Time Synchronization                             
  systemd-tmpfiles-setup-dev.service loaded active exited  Create Static Device Nodes in /dev                       
  systemd-tmpfiles-setup.service     loaded active exited  Create Volatile Files and Directories                    
  systemd-udev-trigger.service       loaded active exited  Coldplug All udev Devices                                
  systemd-udevd.service              loaded active running Rule-based Manager for Device Events and Files           
  systemd-update-utmp.service        loaded active exited  Update UTMP about System Boot/Shutdown                   
  systemd-user-sessions.service      loaded active exited  Permit User Sessions                                     
  udisks2.service                    loaded active running Disk Manager                                             
  upower.service                     loaded active running Daemon for power management                              
  user-runtime-dir@1000.service      loaded active exited  User Runtime Directory /run/user/1000                    
  user@1000.service                  loaded active running User Manager for UID 1000                                
  wpa_supplicant.service             loaded active running WPA supplicant

I know shadow is broken. It's been broken for over a year and I can't figure out how to fix it, but it doesn't seem to be causing any problems.

Offline

#6 2020-09-06 15:22:46

fistrosan
Member
Registered: 2020-04-01
Posts: 171

Re: CPU frequency seems stuck at 1.2Ghz

If it happens again you could try disabling upower.service. Maybe some setting there are limiting your CPU (?) ...

Offline

Board footer

Powered by FluxBB