Hi all,
最近明显感觉到系统启动速度变慢了,表现在启动某个程序时卡住很久才继续。几
天前又听说某 3u 在普通硬盘上过了 grub 后可以 3 秒启动,更加不甘心(=
=|||),于是上网搜索了一下找到了一些分析命令。
$ systemd-analyze time
Startup finished in 2594ms (kernel) + 1812ms (initrd) + 33264ms
(userspace) = 37671ms
$ systemd-analyze blame
11872ms udev-settle.service
8019ms bootchart.service
6769ms systemd-vconsole-setup.service
4360ms media.mount
4138ms systemd-binfmt.service
4120ms udev.service
3886ms systemd-remount-api-vfs.service
3884ms remount-rootfs.service
3445ms systemd-sysctl.service
3343ms fedora-readonly.service
2968ms cups.service
1495ms sendmail.service
1307ms fedora-sysinit-hack.service
633ms udev-trigger.service
587ms fedora-storage-init.service
549ms sandbox.service
533ms vboxdrv.service
469ms hwclock-load.service
373ms systemd-readahead-replay.service
366ms systemd-readahead-collect.service
266ms dkms_autoinstaller.service
232ms rpcidmapd.service
219ms hddtemp.service
216ms nfslock.service
191ms NetworkManager.service
187ms rsyslog.service
174ms rpcgssd.service
172ms bluetooth.service
171ms ip6tables.service
166ms netfs.service
160ms sshd.service
149ms avahi-daemon.service
142ms console-kit-log-system-start.service
141ms fedora-sysinit-unhack.service
134ms portreserve.service
122ms cpuspeed.service
118ms auditd.service
96ms iptables.service
93ms systemd-tmpfiles-setup.service
89ms acpid.service
76ms mcelog.service
74ms gpm.service
70ms mdmonitor.service
69ms irqbalance.service
59ms console-kit-daemon.service
44ms rpcbind.service
43ms dbus.service
42ms pcscd.service
26ms rc-local.service
24ms fedora-wait-storage.service
24ms fedora-autoswap.service
23ms vboxballoonctrl-service.service
22ms vboxweb-service.service
18ms fedora-storage-init-late.service
17ms proc-sys-fs-binfmt_misc.mount
16ms smolt.service
15ms home.mount
12ms systemd-user-sessions.service
4ms accounts-daemon.service
2ms rtkit-daemon.service
1ms dev-hugepages.mount
1ms sys-kernel-security.mount
1ms sys-kernel-debug.mount
1ms dev-mqueue.mount
$ systemd-analyze plot > systemd.svg
图片见[1]
由于我对系统了解不深,十分不能理解某些输出结果,所以恳请大牛帮忙分析一
下,谢谢!
[1]
https://hexchain.org/pub/tmp/systemd.svg
--
Hexchain Tong