Programming/Linux

라즈베리파이 부팅 속도 관련 정보

빠릿베짱이 2018. 9. 20. 13:30
반응형

 Remove boot message 


sudo nano /boot/cmdline.txt
quiet splash loglevel=0 logo.nologo vt.global_cursor_default=0
sudo nano /etc/rc.local
#Suppress Kernel Messages
dmesg --console-off


  부팅 속도 확인


$ systemd-analyze  
Startup finished in 1.653s (kernel) + 1min 31.345s (userspace) = 1min 32.999s

$ systemd-analyze critical-chain 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. multi-user.target @1min 31.250s └─getty.target @11.659s └─autologin@tty1.service @11.658s └─rc-local.service @8.212s +80ms └─network-online.target @8.196s └─network.target @8.165s └─networking.service @3.291s +4.871s └─local-fs.target @3.249s └─run-user-1000.mount @16.903s └─local-fs-pre.target @1.907s └─keyboard-setup.service @1.062s +843ms └─systemd-journald.socket @1.057s └─-.mount @872ms └─system.slice @1.022s 
└─-.slice @872ms

$ systemd-analyze blame 4.871s networking.service 4.634s dhcpcd.service 4.551s busybox-syslogd.service 4.393s raspi-config.service 3.304s plymouth-quit-wait.service 3.289s plymouth-quit.service 1.999s dev-mmcblk0p2.device 1.883s nmbd.service 1.336s lighttpd.service 972ms smbd.service 843ms keyboard-setup.service 738ms systemd-logind.service 685ms ssh.service 
...



반응형