[systemd-devel] Reduce unit-loading time

cee1 fykcee1 at gmail.com
Wed May 13 02:51:07 PDT 2015


Hi all,

We're trying systemd to boot up an ARM board, and find systemd uses
more than one second to load units.

Comparing with the init of Android on the same board, it manages to
boot the system very fast.

We guess following factors are involved:
1. systemd has a much bigger footprint than the init of Android: the
latter is static linked, and is about 1xxKB (systemd is about 1.4MB,
and is linked with libc/libcap/libpthread, etc)

2. systemd spends quiet a while to read/parse unit files.


Any idea to reduce the unit-loading time?
e.g. one-single file contains all units descriptions, or a "compiled
version"(containing resolved dependencies, or even the boot up
sequence)



-- 
Regards,

- cee1


More information about the systemd-devel mailing list