Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

AM62P: Systemd optimization in SDK 11.2

Part Number: AM62P

Hi TI team, 

Please, find the attached systemd plot from SDK 11.2

systemd_plot_develop.svg.html 

We want to reduce the boot time in the user space i.e.  to optimize the systemd launch and udev trigger event. 

Below mentioned link for boot time optimizaation seems to be applicable tiny ramfs. 

https://software-dl.ti.com/processor-sdk-linux/esd/AM62PX/latest/exports/docs/linux/How_to_Guides/Target/How_to_boot_quickly.html#optimizing-the-filesystem

Let us if there are any possibilities for boot time optimization for systemd and udev trigger event for regular rootfs in sdk 11.2 

Regards,

Prabhu

  • Hi Prabhu,

    Couple of things that could help you optimize the systemd.

    - systemd-analyzer critical-chain and systemd-blame should probably give you an idea on what services are taking time on your system and probably then be able to optimize them.

    - udevadm control --log-level=debug, then journalctl -u systemd-udevd, to see which devices or rules take longest.

    - Delete unused rules from /lib/udev/rules.d

    Best Regards

    Suren