Comment

Comment by cyberax

> With care, though, a minimal installation of systemd does run on a low-resource ARM board like the Pi 3. In fact, it will run on a board with 1Gb RAM, perhaps even lower.

Come fucking on. I ran systemd on a 32Mb MIPS board (RouterBoard from Mikrotik) just fine.

The RES column is incredibly misleading in this case, because systemd is the first app in the system. So it gets charged for loading the entire glibc and the supporting cast of libraries.

If you want to look at the true usage, check the RssAnon value:

> root@kmipsrv:/proc/1# cat /proc/1/status | grep RssAnon

> RssAnon: 3220 kB

You can also pare this down a bit.

Similarly for journald:

> root@kmipsrv:/proc/1# cat /proc/231/status | grep RssAnon

> RssAnon: 640 kB

So in reality, systemd works just fine for the vast majority of embedded platforms. If you can spare 3Mb of RAM, then you can run a full-blown dependency management system with reliable recovery, logging integration, and event-driven device management. Soon with support for verified boot with hardware root-of-trust.

parent cyberax 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton