Am 11.08.2014 um 17:27 schrieb Cristian Rodríguez:
El 11/08/14 a las #4, Stefan Seyfried escribió:
Apart from that systemd has the problem that it just boots much too slow on embedded systems that are not from 2014 due to its huge memory and CPU footprint.
What kind of boards are we talking about .. ? last thing I tried was a raspberry PI with archlinux and it booted in a reasonable amount of seconds considering the hardware in question.
Well, but it boots much faster with a simple init system like busybox init plus simple init scripts which I'm using on all embedded boards. Yocto's sysvinit also boots faster than systemd on my embedded systems. I'm talking about digital STB boards where the latest kernel I can use (because of drivers) is 2.6.26 and I cannot enable cgroups (because the drivers won't load anymore), and so systemd is not an option to even try. There's also 10 year old PPC405 STBs, but I never tried to run openSUSE userspace on them, but with kernel 2.6.12 being the last available one, you won't get lucky with systemd on them :-)
Maybe the problem is related to the amount of parallelism ..do you have the graphs generated by systemd-bootchartd to give an idea what may need to be tuned ?
No, because there is no need to tune it. Simple init scripts work just fine and faster. Note I'm not starting much crap on those boxes: mounting/checking rootfs, setting up network, then starting inetd for telnet/ftp and dropbear, while the main application (GUI for TV) is already starting. It looks like systemd is totally busy deciding what to do and figuring out how to do it, while simple scripts already do it. My second guess would be journald which until today is an example of ineffectivity, even on fast x86_64 systems. It made me buy SSDs for old systems, just to make them boot in a bearable time. But I have not gone through the pain of debugging it all. Fortunately the yocto folks are not too keen of systemd and will probably keep it off the "must have" list for quite some time :-) -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org