|
以下是我的开机时间:
=======================================
pi@raspberrypi:~ $ systemd-analyze
Startup finished in 10.255s (kernel) + 36.864s (userspace) = 47.119s
graphical.target reached after 36.624s in userspace
pi@raspberrypi:~ $ systemd-analyze blame
15.127s dhcpcd.service
8.871s apt-daily.service
8.618s man-db.service
8.459s dev-mmcblk0p2.device
7.890s apt-daily-upgrade.service
6.464s hciuart.service
3.466s keyboard-setup.service
3.205s systemd-udev-trigger.service
2.778s dphys-swapfile.service
2.408s networking.service
2.225s systemd-journald.service
2.194s raspi-config.service
2.112s systemd-fsck@dev-disk-by\x2dpartuuid-6c586e13\x2d01.service
2.107s logrotate.service
1.741s systemd-logind.service
1.667s systemd-fsck-root.service
1.660s rng-tools.service
1.578s systemd-timesyncd.service
1.470s user@1000.service
1.442s rsyslog.service
1.310s rpi-eeprom-update.service
1.272s triggerhappy.service
1.108s wpa_supplicant.service
1.043s sys-kernel-debug.mount
1.019s ssh.service
1.006s systemd-tmpfiles-setup.service
999ms dev-mqueue.mount
983ms systemd-update-utmp.service
962ms systemd-remount-fs.service
940ms run-rpc_pipefs.mount
844ms systemd-modules-load.service
728ms systemd-sysctl.service
608ms fake-hwclock.service
593ms systemd-journal-flush.service
548ms kmod-static-nodes.service
503ms systemd-sysusers.service
472ms systemd-random-seed.service
462ms systemd-user-sessions.service
387ms systemd-udevd.service
372ms sys-kernel-config.mount
313ms console-setup.service
311ms boot.mount
283ms user-runtime-dir@1000.service
253ms nfs-config.service
229ms systemd-rfkill.service
216ms systemd-tmpfiles-clean.service
206ms systemd-tmpfiles-setup-dev.service
189ms rc-local.service
169ms systemd-update-utmp-runlevel.service
145ms ifupdown-pre.service
============================================
开机总共用了47秒,太长,如果优化到10秒左右呢?
|
|