I was running a 4.18 kernel with a Ryzen 7 1700 CPU, and I upgraded to another machine which sports a Ryzen 7 2700. I carried over the whole install on the SSD drive as it is, and as far as I recall it was snappy for a few days. But then I noticed when I started to use my developer tools (IDEs, DB and cache servers, So articles open in 25 tabs in browser, ...) that the system is very sluggish. It runs well, but has a high delay 1-2 second response time under load.
Since the Ryzen 7 1700 system was usually pretty warm (70C-72C) I tried thermald
. This time I uninstalled thermald
(it left it's init.d
script, but no thermald
daemon is running now) and installed cpufreq-tools
to try something for possibly enforcing different performance governors.
Right now cpufreq-info
lies that the CPU is at 3.2 GHz
when I set performance
governor for all 16 cores. However /proc/cpuinfo
tells the truth I think when it revels that the cores are running at 550 MHz (no joke, temperature is at 40C and fans are running on the lowest possible not surprisingly, I cannot hear them). When I fire up any of my IDE I want the CPU to turbo boost and I want to hear the fans spin up. Right now it's all just sluggishness.
I cannot figure out currently what holds the CPUs back. At some point I also installed https://wiki.archlinux.org/index.php/Laptop_Mode_Tools , but realized I don't want to complicate things more, it got uninstalled.
I also had some suspicion about the AMD GPU driver, but my HDMI connector had connection issues. SO I think it's most probably the CPU which causes the sluggishness with it's 550 MHz.
Also I noticed that if I leave the machine alone just for a minute or 2, the LCD dims a little bit. I have no idea which software does that dimming, but it could be the culprit, because that extremely low 1 minute threshold points towards some extreme power saving mode some daemon is trying to enforce.
Somehow the ACPI is not wired up well.
upowerd
/UPower
(https://en.wikipedia.org/wiki/UPower) and the GUI gadgets are misinformed as well, because they just probably feed from the info found in/sys/class/power_supply/*
. These sys entries show that the laptop is not plugged into the power adapter and the battery is discharging - both of these claims are obviously false.Follow up Questions: How can I make UPower and the power subsystem recognize that the power supply is plugged in?
Additional verification:
That's also the reason why my screen dims after 120 seconds of inactivity. I'll open another question specifically for the problem.