[systemd-devel] experiments with 'minimal build'

Alison Chaiken alison at she-devel.com
Thu Mar 19 08:39:18 PDT 2015

I ran systemd 219 with most recent patches and


and, to compare, with


Checking memory RSS usage with 'sudo pmap -x -p 1' as suggested by
Mantas, the former case uses about 5 MB, while the later consumes
close to 9 MB.    I'm sure that with statically compiled kernel and
appropriate fstab that KMOD and BLKID are not needed either, but I
doubt that they affect memory usage much.

http://freedesktop.org/wiki/Software/systemd/MinimalBuilds/ says that
the minimum requirements are udev and journald.   I wonder if udev is
really needed if the kernel is completely statically compiled and
module loading is disabled?   That is a common use case for many
embedded devices.


Alison Chaiken                           alison at she-devel.com
One consumes a great deal of silence in the course of becoming
educated. -- Matthew B. Crawford

More information about the systemd-devel mailing list