I’m using Leap15.2 now for a few weaks and it starts running really slow after some time. Also the startup time is really slow.
I’m using a Thinkpad x230 with 8GB RAM and a 1TB WD Blue SSD. During install I encrypted the drive.
Thanks for your help!
**1) Slow KDE
The symptom is that the system is often unresponsive or very laggy. E.g. running krunner might take a few seconds to start, then there is another few second lag when typing.
I feel that there are multiple issues with my system. E.g. having firefox open for a while with lots of tabs put the system to its knees. It is typically getting better once firefox is closed, however the system is even then still far from what I’m used to running Linux on this and other laptops. Currently the memory is as follows, and I do experience some lag:
>>> free -mh total used free shared buff/cache available Mem: 7.5Gi 3.3Gi 2.1Gi 646Mi 2.1Gi 3.2Gi Swap: 7.5Gi 950Mi 6.5Gi
There might be also issues with the SSD, with disk reads seeming very slow
>>> sudo hdparm -Tt /dev/sda /dev/sda: Timing cached reads: 14646 MB in 1.99 seconds = 7346.54 MB/sec Timing buffered disk reads: 126 MB in 3.04 seconds = 41.47 MB/sec
When the system gets really slow, there seem to be a lot of audible writing happening.
I looked through journalctl and could find the following popping up very frequently:
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 21483, resource id: 75497482, major code: 19 (DeleteProperty), minor code: 0
The following error also occured every now and then:
pam_kwallet5(su:session): pam_kwallet5: Couldn't fork to execv kwalletd
Not sure how to analyse this issue… I used the same laptop with Debian and XFCE before and it was flying…
**2) Slow startup
I think some of it might be caused by the slow decryption, which is ok I guess. But there are definitely other issues too. systemd-analyze blame shows output below. What is dracut and unbound anchor? How can I speed up the rest of the top 10 or so?
>>> sudo systemd-analyze blame 23.343s mandb.service 16.025s unbound-anchor.service 15.301s backup-rpmdb.service 14.050s docker.service 12.173s backup-sysconfig.service 10.554s dracut-initqueue.service 8.724s systemd-cryptsetup@cr_ata\x2dWDC_WD10SPZX\x2d08Z10_WD\x2dWX92AA01FZ9D\x2dpart2.service 8.446s logrotate.service 5.340s btrfsmaintenance-refresh.service 5.111s display-manager.service 4.937s systemd-tmpfiles-clean.service 4.229s initrd-switch-root.service 3.614s postfix.service 3.309s plymouth-quit-wait.service 3.035s apparmor.service 2.974s polkit.service 2.972s rsyslog.service 2.905s udisks2.service 2.659s mcelog.service 2.566s firewalld.service 2.544s smartd.service 2.537s kbdsettings.service 2.534s nscd.service 2.530s vboxdrv.service 2.498s check-battery.service 2.457s avahi-daemon.service 1.576s lvm2-pvscan@254:0.service 1.362s tmp.mount 1.140s home.mount