High CPU usage and lagging after resuming from suspend

Sometimes after resuming from suspend the whole desktop is lagging for 15-20 seconds. After that period of time framerate stabilizes. I didn’t experience this in f38 iirc.

System Details Report


Report details

  • Date generated: 2023-12-19 13:22:05

Hardware Information:

  • Hardware Model: Dell Inc. Vostro 3500
  • Memory: 16.0 GiB
  • Processor: 11th Gen Intel® Core™ i3-1115G4 × 4
  • Graphics: Intel® UHD Graphics (TGL GT2)
  • Disk Capacity: 256.1 GB

Software Information:

  • Firmware Version: 1.23.0
  • OS Name: Fedora Linux 39 (Workstation Edition)
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 45.2
  • Windowing System: Wayland
  • Kernel Version: Linux 6.6.3-200.fc39.x86_64

your CPU cores are all at 100%, which may cause the system to lag. Question is what process is eating all your CPU time.

I also have issues. My screen not turning on and system fans go wild. I disabled sleep and suspend.

use top, htop, or iotop to find out which process is CPU intensive.

thanks, i will try next time when i encounter this bug.

i left laptop to suspend over night. After resuming i got this bug again.
htop:


sudo iotop:

I see
fwupd
updatedb
packagekitd
geary
p11-kit-remote
in the output from htop

Load average is 5.56 instantaneous, but only 0.85 average.

updatedb
kworker*
in the output from iotop

Iotop shows a significant amount of IO at the time of that snapshot which can slow the system down

To me those seem normal and are usually transient and should settle down quickly when updates are finished.

Having the system up for more than 14 days seems to mean you are not running the latest updates so I would suggest doing a dnf update --refresh followed by a reboot first, then test again to see if anything changes with updated software.

Updating and rebooting probably helped: system wasn’t lagging this time. Also waking is almost instant now, laptop resumes while I opening the lid.
I will continue testing to see how it behaves after 2 weeks of uptime.

It settles down, but for some period of time pc becomes unusable, I can’t call normal

Am still able to reproduce this bug.

EDIT: I forgot to capture iotop. it has around 0 B/S Disk Read/Write. Sometimes peaking at 1000 K/s