[yocto] Changing over to systemd (no dhcp)

Michael Gloff mgloff at emacinc.com
Thu Jan 19 22:15:33 PST 2017


Mike,

On Thu, Jan 19, 2017 at 3:18 AM, Mike Looijmans <mike.looijmans at topic.nl>
wrote:

> On 18-01-17 16:10, colin.helliwell at ln-systems.com wrote:
>
>> We have a configuration for our embedded system which is working via
>> SysV, but
>> we’re investigating moving over to systemd.
>>
>> Not sure if this is ‘wise’ – if anyone has technological arguments
>> for/against
>> then I’d be interested – but I wanted to investigate it anyway.
>>
>
> Just one. systemd is a bit larger. So it will increase the boot time if
> your platform is I/O limited (many embedded systems are).
>
> The good thing I noticed is that it shuts down a lot faster than
> initscripts. (I don't understand why I can boot my system in 2 seconds, but
> shutdown takes over 5 seconds...)
>

The 5+ seconds may be from sendsigs on shutdown or reboot:
     echo "Sending all processes the TERM signal..."
     killall5 -15
     sleep 5
     echo "Sending all processes the KILL signal..."
     killall5 -9

Reducing to 1 or 2 seconds should be sufficient.

Michael Gloff



>
>
> Kind regards,
>
> Mike Looijmans
> System Expert
>
> TOPIC Products
> Materiaalweg 4, NL-5681 RJ Best
> Postbus 440, NL-5680 AK Best
> Telefoon: +31 (0) 499 33 69 79
> E-mail: mike.looijmans at topicproducts.com
> Website: www.topicproducts.com
>
> Please consider the environment before printing this e-mail
>
>
>
>

> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170120/422fd579/attachment.html>


More information about the yocto mailing list