Моя система (Ubuntu 16.04, установленная на SSD) имеет необычайную длительную загрузку, и большинство запросов ведут к проблеме, вызванной тем, что раздел подкачки не был правильно описан в /etc/fstab. В моем случае длительное время загрузки, похоже, не вызвано этим (я проверил его несколько раз).
Здесь я не буду копировать содержимое systemd-analyze plot, но между time-sync.target / [2] есть две длинные паузы, f10] и после udisks2.service.
systemd-анализ:
Startup finished in 6.554s (kernel) + 3min 461ms (userspace) = 3min 7.016s
systemd-анализ:
1.128s snapd.service
994ms dev-sda6.device
822ms NetworkManager.service
647ms systemd-fsck@dev-disk-by\x2duuid-0b326e89\x2daf15\x2d4a73\x2dbb16\x2d15e6afaa7339.service
529ms NetworkManager-wait-online.service
525ms thermald.service
523ms ModemManager.service
516ms accounts-daemon.service
480ms systemd-fsck@dev-disk-by\x2duuid-015b46f0\x2d5829\x2d4ffc\x2dabe5\x2de629c74085f5.service
405ms systemd-rfkill.service
303ms lightdm.service
302ms boot.mount
283ms home.mount
248ms gpu-manager.service
206ms colord.service
175ms apparmor.service
167ms upower.service
161ms grub-common.service
141ms systemd-tmpfiles-setup.service
128ms udisks2.service
125ms virtualbox.service
117ms console-setup.service
104ms systemd-logind.service
104ms dev-disk-by\x2duuid-9c2d1380\x2d804e\x2d4fe4\x2db9ba\x2d45ff97a4d225.swap
94ms avahi-daemon.service
92ms ondemand.service
90ms sysstat.service
89ms speech-dispatcher.service
81ms polkitd.service
81ms alsa-restore.service
75ms irqbalance.service
69ms systemd-udev-trigger.service
66ms keyboard-setup.service
61ms networking.service
56ms bluetooth.service
51ms systemd-tmpfiles-clean.service
50ms apport.service
49ms ebtables.service
44ms systemd-journald.service
37ms systemd-tmpfiles-setup-dev.service
37ms binfmt-support.service
32ms user@1000.service
32ms systemd-update-utmp.service
32ms systemd-udevd.service
28ms systemd-modules-load.service
28ms systemd-timesyncd.service
18ms wpa_supplicant.service
17ms pppd-dns.service
16ms plymouth-read-write.service
14ms plymouth-start.service
13ms rsyslog.service
12ms ufw.service
10ms systemd-sysctl.service
10ms sys-kernel-debug.mount
9ms dev-hugepages.mount
9ms rtkit-daemon.service
9ms dev-mqueue.mount
8ms kmod-static-nodes.service
7ms setvtrgb.service
5ms systemd-random-seed.service
5ms systemd-journal-flush.service
5ms sys-fs-fuse-connections.mount
5ms systemd-remount-fs.service
5ms dns-clean.service
4ms resolvconf.service
4ms proc-sys-fs-binfmt_misc.mount
3ms ureadahead-stop.service
3ms systemd-backlight@leds:dell::kbd_backlight.service
3ms systemd-update-utmp-runlevel.service
2ms systemd-backlight@backlight:intel_backlight.service
2ms plymouth-quit-wait.service
2ms systemd-user-sessions.service
1ms snapd.socket
1ms rc-local.service
systemd-анализ критической цепочки:
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.
graphical.target @1min 31.766s
└─multi-user.target @1min 31.766s
└─virtualbox.service @1min 31.640s +125ms
└─network-online.target @1min 31.638s
└─NetworkManager-wait-online.service @1min 31.108s +529ms
└─NetworkManager.service @1min 30.284s +822ms
└─dbus.service @1min 30.220s
└─basic.target @1min 30.215s
└─sockets.target @1min 30.215s
└─snapd.socket @1min 30.213s +1ms
└─sysinit.target @1min 30.212s
└─systemd-update-utmp.service @2.246s +32ms
└─systemd-tmpfiles-setup.service @2.072s +141ms
└─local-fs.target @2.070s
└─run-user-1000-gvfs.mount @1min 40.571s
└─run-user-1000.mount @1min 39.716s
└─local-fs-pre.target @197ms
└─systemd-remount-fs.service @191ms +5ms
└─systemd-journald.socket @108ms
└─-.slice @95ms
systemd-анализ критической цепи
/dev/sda1: UUID="015b46f0-5829-4ffc-abe5-e629c74085f5" TYPE="ext4" PTTYPE="dos" PARTUUID="ffc52ea3-01"
/dev/sda3: UUID="9c2d1380-804e-4fe4-b9ba-45ff97a4d225" TYPE="swap" PARTUUID="ffc52ea3-03"
/dev/sda5: UUID="0b326e89-af15-4a73-bb16-15e6afaa7339" TYPE="ext4" PARTUUID="ffc52ea3-05"
/dev/sda6: UUID="d0750a04-fc25-4f42-b64d-60aecd355fae" TYPE="ext4" PARTUUID="ffc52ea3-06"
cat / etc / fstab:
[F5]