Fedora 24 boot idő

 ( makgab | 2016. augusztus 13., szombat - 15:26 )

Üdv!
Frissítettem F24-re (x64) a gépemen, de kicsit lassú a boot (korábban is lassú volt). Elég sok service-t indít.
Mit tudok leállítani? Néztem a neten, hogy a "systemd-analyze" segíthet:

# sudo systemd-analyze blame
31.281s dovecot.service
25.444s httpd.service
22.134s firewalld.service
18.268s webmin.service
14.956s postfix.service
14.278s systemd-journal-flush.service
12.443s dev-sda2.device
12.131s NetworkManager-wait-online.service
11.847s systemd-fsck-root.service
11.140s accounts-daemon.service
31.281s dovecot.service
25.444s httpd.service
22.134s firewalld.service
18.268s webmin.service
14.956s postfix.service
14.278s systemd-journal-flush.service
12.443s dev-sda2.device
12.131s NetworkManager-wait-online.service
11.847s systemd-fsck-root.service
11.140s accounts-daemon.service
10.354s systemd-udev-settle.service
10.016s libvirtd.service
7.589s NetworkManager.service
6.847s dnf-makecache.service
5.849s abrtd.service
5.830s vboxdrv.service
4.728s ModemManager.service
4.280s gssproxy.service
3.646s proc-fs-nfsd.mount
3.241s systemd-tmpfiles-setup-dev.service
3.102s lm_sensors.service
2.893s lvm2-monitor.service
2.799s abrt-ccpp.service
2.742s systemd-udevd.service
2.722s gpm.service
2.470s lightdm.service
2.377s upower.service
2.241s systemd-udev-trigger.service
2.177s chronyd.service
2.121s systemd-logind.service
2.119s iio-sensor-proxy.service
1.936s sshd.service
1.897s polkit.service
1.815s avahi-daemon.service
1.578s fedora-readonly.service
1.372s rpcbind.service
1.335s rtkit-daemon.service
1.271s netcf-transaction.service
1.237s kmod-static-nodes.service
1.173s plymouth-start.service
1.167s udisks2.service
1.116s systemd-remount-fs.service
1.030s systemd-journald.service
940ms tmp.mount
862ms wpa_supplicant.service
844ms systemd-sysctl.service
701ms dev-mqueue.mount
698ms sys-kernel-debug.mount
697ms dev-hugepages.mount
577ms fedora-import-state.service
570ms auditd.service
528ms systemd-random-seed.service
473ms systemd-user-sessions.service
471ms systemd-tmpfiles-setup.service
446ms rc-local.service
422ms systemd-rfkill.service
415ms user @ 1000.service
401ms rpc-statd-notify.service
399ms plymouth-quit.service
335ms nfs-config.service
242ms plymouth-read-write.service
239ms systemd-backlight@backlight:acpi_video0.service
239ms vboxautostart-service.service
188ms dmraid-activation.service
171ms plymouth-quit-wait.service
155ms vboxballoonctrl-service.service
154ms vboxweb-service.service
138ms dracut-shutdown.service
91ms systemd-vconsole-setup.service
87ms dev-disk-by\x2duuid-bfbbd3b6\x2d0fc2\x2d4dcc\x2da81d\x2da28b1be67e5f.swap
69ms systemd-update-utmp.service
57ms blk-availability.service
36ms systemd-backlight@backlight:intel_backlight.service
9ms var-lib-nfs-rpc_pipefs.mount
8ms sys-fs-fuse-connections.mount
7ms systemd-update-utmp-runlevel.service
3ms sys-kernel-config.mount

Régen (F18?) nagyon tetszett, hogy egy lassabb gépen is 15-20mp alatt bebootolt.

Hozzászólás megjelenítési lehetőségek

A választott hozzászólás megjelenítési mód a „Beállítás” gombbal rögzíthető.

Ez egy szerver? Vagy mindek fut httpd, dovecot, webmin pl?
libvirtd?
Amúgy: tegyél alá ssd-t.
--
The Community ENTerprise Operating System

Nem, ez munkagépem (fejlesztői). A httpd/dovecot/webmin csak átmenetileg volt bekapcsolva.
A libvirtd a virtualizáció miatt fut.

A httpd/dovecot/webmin nélkül is hosszú a bootidő.

Ha a felét kilövöd, akkor is 15percig boot-ol? Ez furcsa nekem. HTTPD restart boot után is 25mp?


systemd-analyze blame
4.812s plymouth-quit-wait.service
1.811s plymouth-start.service
1.739s systemd-udev-settle.service
1.227s firewalld.service
485ms dnf-makecache.service
470ms dev-sda6.device
395ms udisks2.service
363ms lvm2-monitor.service
334ms vboxdrv.service
256ms libvirtd.service
237ms accounts-daemon.service
188ms teamviewerd.service
181ms unbound-anchor.service
172ms user @1000.service
170ms user @42.service
158ms systemd-journald.service
153ms proc-fs-nfsd.mount
147ms polkit.service
131ms ModemManager.service
122ms upower.service
122ms systemd-udev-trigger.service
121ms packagekit.service
105ms systemd-logind.service
103ms abrtd.service
101ms avahi-daemon.service
100ms systemd-udevd.service
88ms rtkit-daemon.service
87ms NetworkManager-wait-online.service
85ms systemd-vconsole-setup.service
80ms abrt-ccpp.service
71ms NetworkManager.service
70ms fedora-readonly.service
64ms systemd-binfmt.service
61ms livesys.service
58ms systemd-journal-flush.service
52ms systemd-tmpfiles-setup-dev.service
51ms gssproxy.service
51ms systemd-fsck@dev-disk-by\x2duuid-FD17\x2d053B.service
51ms cups.service
51ms lm_sensors.service
51ms chronyd.service
45ms iio-sensor-proxy.service
41ms gdm.service
41ms colord.service
38ms systemd-tmpfiles-setup.service
32ms livesys-late.service
31ms dev-hugepages.mount
30ms systemd-tmpfiles-clean.service
30ms dev-mqueue.mount
27ms bluetooth.service
26ms dmraid-activation.service
26ms fedora-import-state.service
25ms systemd-remount-fs.service
24ms auditd.service
24ms wpa_supplicant.service
23ms sys-kernel-debug.mount
22ms systemd-fsck-root.service
20ms systemd-rfkill.service
19ms systemd-sysctl.service
18ms boot-efi.mount
17ms dev-sda3.swap
16ms plymouth-read-write.service
16ms rpc-statd-notify.service
15ms vboxweb-service.service
14ms systemd-backlight@backlight:intel_backlight.service
14ms proc-sys-fs-binfmt_misc.mount
14ms kmod-static-nodes.service
12ms blk-availability.service
11ms vboxautostart-service.service
11ms systemd-user-sessions.service
10ms vboxballoonctrl-service.service
10ms sys-fs-fuse-connections.mount
10ms nfs-config.service
10ms systemd-update-utmp-runlevel.service
8ms tmp.mount
6ms systemd-update-utmp.service
6ms var-lib-nfs-rpc_pipefs.mount
5ms systemd-backlight@leds:dell::kbd_backlight.service
5ms systemd-random-seed.service
4ms dracut-shutdown.service
3ms sys-kernel-config.mount

F24, gyengusz i3-4005U CPU @ 1.70GHz, KINGSTON SV300S3 SSD

~12k HUF-tól indul kb. egy hasonló 120-as SSD, ha tényleg munkagép ennyit megéri rászánni ha türelmetlen vagy :D

+1, már a 250-esek is a megfizethető árban vannak.

Erről egyszer már írtam, csak nem figyelsz! ;)

Különben meg:

systemd-analize plot >a.svg

Látni fogod, mi az, amire sokan várnak, de a critical-chain is súg ebben.


tr '[:lower:]' '[:upper:]' <<<locsemege
LOCSEMEGE

Egy kicsit le kellett vennem a felbontást a "plot" képhez. :)
HW: Acer Aspire noti i3 CPU, 8Gb RAM, 500GB SATA HDD.


$ sudo systemd-analyze
Startup finished in 5.708s (kernel) + 4.954s (initrd) + 1min 8.784s (userspace) = 1min 19.447s

A pirossal jelöltek a nagy indulási idők gondolom:
dev-sda2.device ~10s
systemd-journal-flush.service ~18s
systemd-udev-settle.service ~10s
firewalld.service ~22s

A firewalld-nek sincs semmi extra megadva (ssh,www).

A /var/log/journal 3.5GB volt. :)

Az /etc/systemd/journald.conf:
SystemMaxUse=50M
SystemMaxFileSize=10M

A firewalld kikapcs (iptables ok), valamivel jobb:

14.013s systemd-journal-flush.service
12.589s accounts-daemon.service
12.077s dev-sda2.device
11.622s postfix.service
10.383s systemd-udev-settle.service
9.898s libvirtd.service
9.316s dnf-makecache.service
7.254s ModemManager.service
5.301s gssproxy.service
5.117s rpcbind.service
5.041s gpm.service
4.968s abrtd.service
4.714s chronyd.service
4.638s systemd-logind.service
4.628s netcf-transaction.service
4.354s proc-fs-nfsd.mount
4.336s vboxdrv.service
4.290s rtkit-daemon.service
3.830s systemd-tmpfiles-setup-dev.service
3.290s NetworkManager.service
3.050s upower.service
2.999s systemd-udevd.service
2.978s sshd.service
2.907s polkit.service
2.374s abrt-ccpp.service
2.113s systemd-rfkill.service
1.839s lightdm.service
1.711s lvm2-monitor.service
1.586s lm_sensors.service
1.389s systemd-udev-trigger.service
1.297s fedora-readonly.service
1.278s systemd-sysctl.service
1.208s plymouth-start.service
1.131s dev-hugepages.mount
1.127s avahi-daemon.service
1.048s systemd-random-seed.service
986ms tmp.mount
957ms fedora-import-state.service
903ms systemd-remount-fs.service
814ms auditd.service
730ms dev-mqueue.mount
729ms sys-kernel-debug.mount
716ms dev-disk-by\x2duuid-bfbbd3b6\x2d0fc2\x2d4dcc\x2da81d\x2da28b1be67e5f.swap
711ms systemd-journald.service
666ms systemd-fsck-root.service
646ms rc-local.service
595ms rpc-statd-notify.service
528ms kmod-static-nodes.service
492ms dmraid-activation.service
458ms systemd-tmpfiles-setup.service
448ms plymouth-read-write.service
387ms vboxautostart-service.service
386ms systemd-user-sessions.service
372ms wpa_supplicant.service
369ms vboxballoonctrl-service.service
356ms iio-sensor-proxy.service
342ms vboxweb-service.service
320ms systemd-backlight@backlight:acpi_video0.service
320ms udisks2.service
267ms nfs-config.service
187ms systemd-backlight@backlight:intel_backlight.service
184ms plymouth-quit.service
183ms user @ 1000.service
182ms plymouth-quit-wait.service
115ms systemd-vconsole-setup.service
98ms dracut-shutdown.service
58ms systemd-update-utmp.service
7ms sys-fs-fuse-connections.mount
7ms var-lib-nfs-rpc_pipefs.mount
6ms systemd-update-utmp-runlevel.service
3ms blk-availability.service
2ms sys-kernel-config.mount