AnsweredAssumed Answered

Optimise systemd service in root file system

Question asked by vinothkumar s on Feb 23, 2019
Latest reply on Dec 23, 2019 by vinothkumar s

Hi All,


I am working on imx6solo + orion linux. I want to disable the systemd services for reduce the boot time and I analyse following systemd service by using the systemd-analyze blame command.


48.909s systemd-journald.service
36.501s dev-mmcblk0p1.device
16.426s systemd-journal-flush.service
10.382s udev-trigger.service
9.470s systemd-tmpfiles-setup.service
9.398s systemd-timesyncd.service
8.495s systemd-udevd.service
6.603s systemd-update-utmp.service
3.911s systemd-logind.service
3.527s remount-rfs-rw.service
3.448s systemd-tmpfiles-setup-dev.service
3.303s sys-fs-fuse-connections.mount
3.139s systemd-sysctl.service
2.358s systemd-remount-fs.service
2.175s udev.service
1.590s sys-kernel-debug.mount
1.369s systemd-random-seed.service
1.210s tmp.mount
1.113s systemd-update-utmp-runlevel.service
193ms systemd-networkd.service
191ms systemd-resolved.service



These services takes almost 1 minute 30 seconds to complete. 


Is there any possible way to disable these service when boot ? and I really want to disable in code side. 


Or I want to reduce the time.