[systemd-devel] Exploring Minimal Systemd in Initramfs for Faster Boot

serenissi serenissi at inventati.org
Tue Sep 24 09:28:14 UTC 2024


du -sh /usr/lib/systemd/
13M     /usr/lib/systemd/

du -sh /usr/lib64/systemd
6.4M    /usr/lib64/systemd

i.e. about 20M with most stuffs of systemd package installed. Is it too 
large for initrd? Idk about your setup, might be embedded flash..

On 9/23/24 12:03, Dharma.B at microchip.com wrote:
> Hi Team,
>
> I'm exploring the possibility of splitting the systemd binary to
> optimize boot time before and after switching to the root filesystem.
>
> I’m aware that the systemd binary is quite large and may not fit in the
> initramfs, but is it feasible to have a minimal version of systemd that
> can invoke essential services and continue tracking them after
> transitioning to the main root filesystem?
>
> This approach is aimed at speeding up the boot process. I’m unsure if
> this is possible, which is why I’m seeking guidance from the systemd
> mailing list.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240924/248ffb04/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x20257A7131FFF28B.asc
Type: application/pgp-keys
Size: 652 bytes
Desc: OpenPGP public key
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240924/248ffb04/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240924/248ffb04/attachment.sig>


More information about the systemd-devel mailing list