Przeanalizowałem wydajność rozruchu za pomocą systemd i jak widać poniżej ciekawie nie jest :) Ale trochę się wyjaśniło przy okazji...
polecenie : systemd-analyze
Kopiuj
Startup finished in 5.849s (kernel) + 3min 22.666s (userspace) = 3min 28.515s
graphical.target reached after 3min 22.588s in userspace
polecenie: systemd-analyze critical-chain
Kopiuj
brak@brak:~$ systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.
graphical.target @3min 22.588s
└─multi-user.target @3min 22.588s
└─plymouth-quit-wait.service @1min 25.040s +1min 57.546s
└─systemd-user-sessions.service @1min 24.646s +379ms
└─network.target @1min 24.631s
└─NetworkManager.service @1min 4.290s +20.339s
└─dbus.service @1min 4.279s
└─dbus.socket @1min 3.394s
└─basic.target @1min 3.327s
└─sockets.target @1min 3.326s
└─cups.socket @1min 19.375s
└─sysinit.target @1min 2.745s
└─snapd.apparmor.service @22.259s +40.485s
└─apparmor.service @17.784s +4.471s
└─local-fs.target @17.781s
└─snap-zoom\x2dclient-167.mount @17.506s +274ms
└─dev-loop40.device @17.777s +51.442s
Polecenie: systemd-analyze blame
brak@brak:~$ systemd-analyze blame
1min 57.546s plymouth-quit-wait.service
1min 24.642s dev-sda1.device
1min 23.920s man-db.service
1min 10.604s udisks2.service
55.170s snapd.service
53.467s dev-loop39.device
52.299s dev-loop37.device
51.442s dev-loop40.device
49.218s dev-loop36.device
49.211s dev-loop38.device
44.903s dev-loop31.device
44.256s dev-loop35.device
44.218s dev-loop34.device
44.130s dev-loop29.device
44.019s dev-loop33.device
43.973s dev-loop30.device
43.104s dev-loop27.device
42.991s dev-loop28.device
42.610s dev-loop32.device
41.301s logrotate.service
40.610s dev-loop24.device
40.485s snapd.apparmor.service
40.398s networkd-dispatcher.service
lines 1-23...skipping...
1min 57.546s plymouth-quit-wait.service
1min 24.642s dev-sda1.device
1min 23.920s man-db.service
1min 10.604s udisks2.service
55.170s snapd.service
53.467s dev-loop39.device
52.299s dev-loop37.device
51.442s dev-loop40.device
49.218s dev-loop36.device
49.211s dev-loop38.device
44.903s dev-loop31.device
44.256s dev-loop35.device
44.218s dev-loop34.device
44.130s dev-loop29.device
44.019s dev-loop33.device
43.973s dev-loop30.device
43.104s dev-loop27.device
42.991s dev-loop28.device
42.610s dev-loop32.device
41.301s logrotate.service
40.610s dev-loop24.device
40.485s snapd.apparmor.service
40.398s networkd-dispatcher.service
40.372s dev-loop25.device
39.385s dev-loop22.device
39.003s dev-loop20.device
38.608s dev-loop17.device
37.450s dev-loop23.device
36.733s dev-loop16.device
36.674s dev-loop21.device
36.237s dev-loop19.device
36.173s dev-loop18.device
35.229s accounts-daemon.service
30.803s dev-loop15.device
30.531s dev-loop13.device
30.121s dev-loop14.device
29.104s dev-loop12.device
28.794s systemd-resolved.service
28.090s snapd.seeded.service
28.004s dev-loop4.device
24.810s dev-loop6.device
23.476s dev-loop5.device
22.431s dev-loop11.device
21.644s dev-loop3.device
21.454s dev-loop9.device
21.400s dev-loop8.device
20.630s avahi-daemon.service
20.353s polkit.service
20.339s NetworkManager.service
19.839s dev-loop10.device
19.584s power-profiles-daemon.service
18.691s switcheroo-control.service
18.677s thermald.service
18.670s systemd-logind.service
18.178s ModemManager.service
17.984s dev-loop7.device
17.898s wpa_supplicant.service
lines 1-57
1min 57.546s plymouth-quit-wait.service
1min 24.642s dev-sda1.device
1min 23.920s man-db.service
1min 10.604s udisks2.service
55.170s snapd.service
53.467s dev-loop39.device
52.299s dev-loop37.device
51.442s dev-loop40.device
49.218s dev-loop36.device
49.211s dev-loop38.device
44.903s dev-loop31.device
44.256s dev-loop35.device
44.218s dev-loop34.device
44.130s dev-loop29.device
44.019s dev-loop33.device
43.973s dev-loop30.device
43.104s dev-loop27.device
42.991s dev-loop28.device
42.610s dev-loop32.device
41.301s logrotate.service
40.610s dev-loop24.device
40.485s snapd.apparmor.service
40.398s networkd-dispatcher.service
40.372s dev-loop25.device
39.385s dev-loop22.device
39.003s dev-loop20.devicebrak@brak:brak@brak:$ systemd-analyze blame
1min 57.546s plymouth-quit-wait.service
1min 24.642s dev-sda1.device
1min 23.920s man-db.service
1min 10.604s udisks2.service
55.170s snapd.service
53.467s dev-loop39.device
52.299s dev-loop37.device
51.442s dev-loop40.device
49.218s dev-loop36.device
49.211s dev-loop38.device
44.903s dev-loop31.device
44.256s dev-loop35.device
44.218s dev-loop34.device
44.130s dev-loop29.device
44.019s dev-loop33.device
43.973s dev-loop30.device
43.104s dev-loop27.device
42.991s dev-loop28.device
42.610s dev-loop32.device
41.301s logrotate.service
40.610s dev-loop24.device
40.485s snapd.apparmor.service
40.398s networkd-dispatcher.service
lines 1-23...skipping...
1min 57.546s plymouth-quit-wait.service
1min 24.642s dev-sda1.device
1min 23.920s man-db.service
1min 10.604s udisks2.service
55.170s snapd.service
53.467s dev-loop39.device
52.299s dev-loop37.device
51.442s dev-loop40.device
49.218s dev-loop36.device
49.211s dev-loop38.device
44.903s dev-loop31.device
44.256s dev-loop35.device
44.218s dev-loop34.device
44.130s dev-loop29.device
44.019s dev-loop33.device
43.973s dev-loop30.device
43.104s dev-loop27.device
42.991s dev-loop28.device$ systemd-analyze blame
1min 57.546s plymouth-quit-wait.service
1min 24.642s dev-sda1.device
1min 23.920s man-db.service
1min 10.604s udisks2.service
55.170s snapd.service
53.467s dev-loop39.device
52.299s dev-loop37.device
51.442s dev-loop40.device
49.218s dev-loop36.device
49.211s dev-loop38.device
44.903s dev-loop31.device
44.256s dev-loop35.device
44.218s dev-loop34.device
44.130s dev-loop29.device
44.019s dev-loop33.device
43.973s dev-loop30.device
43.104s dev-loop27.device
42.991s dev-loop28.device
42.610s dev-loop32.device
41.301s logrotate.service
40.610s dev-loop24.device
40.485s snapd.apparmor.service
40.398s networkd-dispatcher.service
lines 1-23...skipping...
1min 57.546s plymouth-quit-wait.service
1min 24.642s dev-sda1.device
1min 23.920s man-db.service
1min 10.604s udisks2.service
55.170s snapd.service
53.467s dev-loop39.device
52.299s dev-loop37.device
51.442s dev-loop40.device
49.218s dev-loop36.device
49.211s dev-loop38.device
44.903s dev-loop31.device
44.256s dev-loop35.device
44.218s dev-loop34.device
44.130s dev-loop29.device
44.019s dev-loop33.device
43.973s dev-loop30.device
43.104s dev-loop27.device
42.991s dev-loop28.device
42.610s dev-loop32.device
41.301s logrotate.service
40.610s dev-loop24.device
40.485s snapd.apparmor.service
40.398s networkd-dispatcher.service
40.372s dev-loop25.device
39.385s dev-loop22.device
39.003s dev-loop20.device
38.608s dev-loop17.device
37.450s dev-loop23.device
36.733s dev-loop16.device
36.674s dev-loop21.device
36.237s dev-loop19.device
36.173s dev-loop18.device
35.229s accounts-daemon.service
30.803s dev-loop15.device
30.531s dev-loop13.device
30.121s dev-loop14.device
29.104s dev-loop12.device
28.794s systemd-resolved.service
28.090s snapd.seeded.service
28.004s dev-loop4.device
24.810s dev-loop6.device
23.476s dev-loop5.device
22.431s dev-loop11.device
21.644s dev-loop3.device
21.454s dev-loop9.device
21.400s dev-loop8.device
20.630s avahi-daemon.service
20.353s polkit.service
20.339s NetworkManager.service
19.839s dev-loop10.device
19.584s power-profiles-daemon.service
18.691s switcheroo-control.service
18.677s thermald.service
18.670s systemd-logind.service
18.178s ModemManager.service
17.984s dev-loop7.device
17.898s wpa_supplicant.service
lines 1-57
1min 57.546s plymouth-quit-wait.service
1min 24.642s dev-sda1.device
1min 23.920s man-db.service
1min 10.604s udisks2.service
55.170s snapd.service
53.467s dev-loop39.device
52.299s dev-loop37.device
51.442s dev-loop40.device
49.218s dev-loop36.device
49.211s dev-loop38.device
44.903s dev-loop31.device
44.256s dev-loop35.device
44.218s dev-loop34.device
44.130s dev-loop29.device
44.019s dev-loop33.device
21.644s dev-loop3.device
21.454s dev-loop9.device
21.400s dev-loop8.device
20.630s avahi-daemon.service
20.353s polkit.service
20.339s NetworkManager.service
19.839s dev-loop10.device
19.584s power-profiles-daemon.service
18.691s switcheroo-control.service
18.677s thermald.service
18.670s systemd-logind.service
18.178s ModemManager.service
17.984s dev-loop7.device
17.898s wpa_supplicant.service
lines 1
1min 57.546s plymouth-quit-wait.service
1min 24.642s dev-sda1.device
1min 23.920s man-db.service
1min 10.604s udisks2.service
55.170s snapd.service
53.467s dev-loop39.device
52.299s dev-loop37.device
51s networkd-dispatcher.service
40.372s dev-loop25.device
39.385s dev-loop22.device
39.003s dev-loop20.device
38.608s dev-loop17.device
37.450s dev-loop23.device
36.733s dev-loop16.device
36.674s dev-loop21.device
36.237s dev-loop19.device
36.173s dev-loop18.device
35.229s accounts-daemon.service
30.803s dev-loop15.device
30.531s dev-loop13.device
30.121s dev-loop14.device
29.104s dev-loop12.device
28.794s systemd-resolved.service
28.090s snapd.seeded.service
28.004s dev-loop4.device
24.810s dev-loop6.device
23.476s dev-loop5.device
22.431s dev-loop11.device
21.644s dev-loop3.device
21.454s dev-loop9.device
21.400s dev-loop8.device
20.630s avahi-daemon.service
20.353s polkit.service
20.339s NetworkManager.service
19.839s dev-loop10.device
19.584s power-profiles-daemon.service
18.691s switcheroo-control.service
18.677s thermald.service
18.670s systemd-logind.service
lines 1-54 43.973s dev-loop30.device
43.104s dev-loop27.device
42.991s dev-loop28.device
42.610s dev-loop32.device
41.301s logrotate.service
40.610s dev-loop24.device
40.485s snapd.apparmor.service
40.398s networkd-dispatcher.service
40.372s dev-loop25.device
39.385s dev-loop22.device
39.003s dev-loop20.device
38.608s dev-loop17.device
37.450s dev-loop23.device
36.733s dev-loop16.device
36.674s dev-loop21.device
36.237s dev-loop19.device
36.173s dev-loop18.device
35.229s accounts-daemon.service
30.803s dev-loop15.device
30.531s dev-loop13.device
30.121s dev-loop14.device
29.104s dev-loop12.device
28.794s systemd-resolved.service
28.090s snapd.seeded.service
28.004s dev-loop4.device
24.810s dev-loop6.device
23.476s dev-loop5.device
22.431s dev-loop11.device
21.644s dev-loop3.device
21.454s dev-loop9.device
21.400s dev-loop8.device
20.630s avahi-daemon.service
20.353s polkit.service
20.339s NetworkManager.service
19.839s dev-loop10.device
19.584s power-profiles-daemon.service
18.691s switcheroo-control.service
18.677s thermald.service
18.670s systemd-logind.service
lines 1-54
1min 57.546s plymouth-quit-wait.service
1min 24.642s dev-sda1.device
1min 23.920s man-db.service
1min 10.604s udisks2.service
55.170s snapd.service
53.467s dev-loop39.device
52.299s dev-loop37.device
51.442s dev-loop40.device
49.218s dev-loop36.device
49.211s dev-loop38.device
44.903s dev-loop31.device
44.256s dev-loop35.device
44.218s dev-loop34.device
44.130s dev-loop29.device
44.019s dev-loop33.device
43.973s dev-loop30.device
43.104s dev-loop27.device
42.991s dev-loop28.device
42.610s dev-loop32.device
41.301s logrotate.service
lines 1-20
1min 57.546s plymouth-quit-wait.service
1min 24.642s dev-sda1.device
1min 23.920s man-db.service
1min 10.604s udisks2.service
55.170s snapd.service
53.467s dev-loop39.device
52.299s dev-loop37.device
51.442s dev-loop40.device
49.218s dev-loop36.device
49.211s dev-loop38.device
44.903s dev-loop31.device
44.256s dev-loop35.device
44.218s dev-loop34.device
44.130s dev-loop29.device
44.019s dev-loop33.device
43.973s dev-loop30.device
43.104s dev-loop27.device
42.991s dev-loop28.device
42.610s dev-loop32.device
41.301s logrotate.service
40.610s dev-loop24.device
40.485s snapd.apparmor.service
40.398s networkd-dispatcher.service
lines 1-23
1min 57.546s plymouth-quit-wait.service
1min 24.642s dev-sda1.device
1min 23.920s man-db.service
1min 10.604s udisks2.service
55.170s snapd.service
53.467s dev-loop39.device
52.299s dev-loop37.device
51.442s dev-loop40.device
49.218s dev-loop36.device
49.211s dev-loop38.device
44.903s dev-loop31.device
44.256s dev-loop35.device
44.218s dev-loop34.device
44.130s dev-loop29.device
44.019s dev-loop33.device
43.973s dev-loop30.device
43.104s dev-loop27.device
42.991s dev-loop28.device
42.610s dev-loop32.device
41.301s logrotate.service
40.610s dev-loop24.device
40.485s snapd.apparmor.service
40.398s networkd-dispatcher.service
40.372s dev-loop25.device
39.385s dev-loop22.device
39.003s dev-loop20.device
38.608s dev-loop17.device
37.450s dev-loop23.device
36.733s dev-loop16.device
36.674s dev-loop21.device
36.237s dev-loop19.device
36.173s dev-loop18.device
35.229s accounts-daemon.service
30.803s dev-loop15.device
30.531s dev-loop13.device
30.121s dev-loop14.device
29.104s dev-loop12.device
28.794s systemd-resolved.service
28.090s snapd.seeded.service
28.004s dev-loop4.device
24.810s dev-loop6.device
23.476s dev-loop5.device
22.431s dev-loop11.device
21.644s dev-loop3.device
21.454s dev-loop9.device
21.400s dev-loop8.device
20.630s avahi-daemon.service
20.353s polkit.service
20.339s NetworkManager.service
19.839s dev-loop10.device
19.584s power-profiles-daemon.service
18.691s switcheroo-control.service
18.677s thermald.service
18.670s systemd-logind.service
18.178s ModemManager.service
17.984s dev-loop7.device
17.898s wpa_supplicant.service
lines 1
1min 57.546s plymouth-quit-wait.service
1min 24.642s dev-sda1.device
1min 23.920s man-db.service
1min 10.604s udisks2.service
55.170s snapd.service
53.467s dev-loop39.device
52.299s dev-loop37.device
51s networkd-dispatcher.service
40.372s dev-loop25.device
39.385s dev-loop22.device
39.003s dev-loop20.device
38.608s dev-loop17.device
37.450s dev-loop23.device
36.733s dev-loop16.device
36.674s dev-loop21.device
36.237s dev-loop19.device
36.173s dev-loop18.device
35.229s accounts-daemon.service
30.803s dev-loop15.device
30.531s dev-loop13.device
30.121s dev-loop14.device
29.104s dev-loop12.device
28.794s systemd-resolved.service
28.090s snapd.seeded.service
28.004s dev-loop4.device
24.810s dev-loop6.device
23.476s dev-loop5.device
22.431s dev-loop11.device
21.644s dev-loop3.device
21.454s dev-loop9.device
21.400s dev-loop8.device
20.630s avahi-daemon.service
20.353s polkit.service
20.339s NetworkManager.service
19.839s dev-loop10.device
19.584s power-profiles-daemon.service
18.691s switcheroo-control.service
18.677s thermald.service
18.670s systemd-logind.service
lines 1-54`