You are not logged in.

#26 2022-05-18 05:58:14

seth
Member
Registered: 2012-09-03
Posts: 49,957

Re: SDDM greeter is slow to appear

https://wiki.archlinux.org/title/Benchmarking#hdparm
You're spending enormous time (>10s) in loading libraries, fonts, icons…  but there's no obvious stall anyway (bit polling the X11 server, but that's normal)
If it's not the disk, it might be the filesystem/tuning (anything exotic there?)

Offline

#27 2022-05-18 11:15:52

backay1
Member
Registered: 2022-05-08
Posts: 24

Re: SDDM greeter is slow to appear

Runned hdparm 4 times:

Timing cached reads:   28736 MB in  1.99 seconds = 14456.16 MB/sec
Timing buffered disk reads: 140 MB in  3.01 seconds =  46.50 MB/sec

Timing cached reads:   27100 MB in  1.99 seconds = 13628.25 MB/sec
Timing buffered disk reads: 206 MB in  3.02 seconds =  68.12 MB/sec

Timing cached reads:   29034 MB in  1.99 seconds = 14608.02 MB/sec
Timing buffered disk reads: 216 MB in  3.02 seconds =  71.41 MB/sec

Timing cached reads:   27826 MB in  1.99 seconds = 13996.64 MB/sec
Timing buffered disk reads: 214 MB in  3.00 seconds =  71.26 MB/sec

(anything exotic there?)

It's ext4, so I think no

Offline

#28 2022-05-18 14:12:06

seth
Member
Registered: 2012-09-03
Posts: 49,957

Re: SDDM greeter is slow to appear

That's not slow enough to explain the delays.
I'd say "SDDM is too fat", but it's also affecting lightdm, so that's maybe true, but unlikely the cause.

Still, it takes 0.5 seconds from execv Xorg to the server starting to write a log and ~ 1s until the config is read…
Do you get fsck errors in the journal?

Offline

#29 2022-05-18 15:50:35

backay1
Member
Registered: 2022-05-08
Posts: 24

Re: SDDM greeter is slow to appear

journalctl -b | grep fsck

mag 18 17:42:37 ideapad330-archlinux systemd[1]: Created slice Slice /system/systemd-fsck.
mag 18 17:42:37 ideapad330-archlinux systemd-fsck[281]: /dev/sda8: clean, 529896/5242880 files, 4724379/20971264 blocks
mag 18 17:42:37 ideapad330-archlinux audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-fsck-root comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
mag 18 17:42:44 ideapad330-archlinux systemd-fsck[433]: fsck.fat 4.2 (2021-01-31)
mag 18 17:42:44 ideapad330-archlinux systemd-fsck[433]: /dev/sda1: 690 files, 29777/65536 clusters
mag 18 17:42:44 ideapad330-archlinux audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-fsck@dev-disk-by\x2duuid-30A6\x2d2EEA comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
mag 18 17:42:44 ideapad330-archlinux kernel: audit: type=1130 audit(1652888564.913:106): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-fsck@dev-disk-by\x2duuid-30A6\x2d2EEA comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
mag 18 17:42:45 ideapad330-archlinux systemd-fsck[467]: /dev/sda5: clean, 812913/25247744 files, 9189486/100960693 blocks
mag 18 17:42:45 ideapad330-archlinux audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-fsck@dev-disk-by\x2duuid-ef7a4798\x2d6994\x2d447d\x2d9f8d\x2d375792447a4e comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
mag 18 17:42:45 ideapad330-archlinux kernel: audit: type=1130 audit(1652888565.329:107): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-fsck@dev-disk-by\x2duuid-ef7a4798\x2d6994\x2d447d\x2d9f8d\x2d375792447a4e comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

sda8 is the root partition, sda5 is the home partition. No errors

Offline

Board footer

Powered by FluxBB