Boot Time

Booting up a device involves numerous steps and sequences of events. Boot time includes measurement, analysis, human factors, initialization techniques, and reduction techniques. In other words, Boot time is the time from power on to user start.

Build Procedure – To enable systemd boot measurement tools

Generating boot-chart in rpi4

If the systemd-bootchart.service disabled,  enable and start the service with the systemctl commands

$ systemctl enable systemd-bootchart

$ systemctl start systemd-bootchart
root@RaspberryPi-Gateway:~# systemctl status systemd-bootchart
● systemd-bootchart.service - Boot Process Profiler
     Loaded: loaded (/lib/systemd/system/systemd-bootchart.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2021-11-23 10:53:08 UTC; 2s ago
       Docs: man:systemd-bootchart.service(1)
             man:bootchart.conf(5)
   Main PID: 8672 (systemd-bootcha)
      Tasks: 1 (limit: 4915)
     CGroup: /system.slice/systemd-bootchart.service
             └─8672 @lib/systemd/systemd-bootchart -r

Nov 23 10:53:08 RaspberryPi-Gateway systemd[1]: Started Boot Process Profiler.

systemd-analyze

systemd-bootchart

Graph Location: graph is generated and stored in /run/log by default

root@RaspberryPi-Gateway:/run/log# ls
bootchart-20211123-1053.svg  journal


Graph Format : SVG format