On 02/06/2014 08:58 PM, Mike Frysinger wrote:
> there aren't any resources currently allocated to the effort that i'm
> aware of. that isn't to say we think it's a dumb idea or never plan
> on looking at it, just that it's low priority as it's not
> known/guaranteed to be better than what we have currently. what we
> have currently is (1) a known value and (2) fast [enough] and (3)
> working in production (trial by fire).
> basically it needs someone to:
> - prototype the entire system (convert all existing upstart scripts
> to systemd units)
Should not be a problem.
If you point me to the repo containing those initscript I probably can
have them migrated within a day no more then a weekend.
> - gather boot timing statistics (we have support for this already
> integrated in our firmware/kernel/upstart init scripts)
Systemd already comes with an boot analyzer  and I will need to know
what hardware you are using for you testing for real comparison.
On my Thinkpad T420
LENOVO 4180WPD/4180WPD, BIOS 83ET76WW (1.46 ) 07/05/2013
Intel(R) Core(TM) i5-2540M CPU
Samsung SSD 840 Series 250GB disk
Startup finished in 1.604s (kernel) + 310ms (initrd) + 1.690s
(userspace) = 3.606s
That's firmware time + 3.6 seconds booting into full blown F20 Gnome
without losing desktop functionality bluetooth,networking etc but with
all the "generic" Fedora has enable by default out of the box turned off.
> - show that the end result is indeed "better" as defined largely by
> speed (other metrics are important too like ease of debugging and ease
> of use/implementation and size, but if a systemd implementation is
> slower than what we have, then we really don't care)
Debugging and ease of use over sys V script is a given but I will need
to know the target size as well as the boot time you are achieving.
I can also provide you with "sales pitch" outside the distro's if you
want one but in reality seeing is believing right ;)
* Aggressive parallelization systemd boot.
* Monitoring of every process it starts.
* Flexible application restart mechanisms.
* Centralized place to look for logs.
* Support for watchdog chaining.
* Very flexible dependency mechanism.
* Provides the tools to debug and diagnose the init process:
systemd-analyze, systemd-cgls, systemd-cgtop, bootchart, pybootchargui, etc.
* On demand launch of services can improve boot time and conserve resources.
* Extremly flexible timer-based activation.
So fourth and so on and few sample where embedded already using systemd
Ångström you know the distribution tailored for embedded devices and is
shipped with the BeagleBone Black, BeagleBoard-xM and BeagleBone it runs
Yocto Project which is an open source collaboration project that
provides templates, tools and methods to help you create custom
Linux-based systems for embedded products regardless of the hardware
architecture yup it runs systemd.
Sailfish which is a Linux-based mobile operating system developed and
run on smartphones by Jolla hello systemd
*Any* GENIVI specification-compliant Linux®- based open source
infotainment (IVI) product on the market runs systemd and let's see what
GENIVI says about systemd...
"'Systemd' is an emerging technology for improving startup efficiency
and control. In-vehicle infotainment users (drivers and passengers)
expect the system to be functioning within seconds after turning the
key, unlike well-known mobile devices such as smartphones that may take
minutes to start up from full power-off. Unlike phones and PCs, cars
cannot leave the infotainment system in a suspended state because the
vehicle battery will run down potentially preventing the car from
starting." By enforcing systemd, drivers can be assured that their
GENIVI-based infotainment head unit, though packed with features more
like an Android- or iOS-based smartphone, will be no more burden on the
battery than an AM/FM radio with built-in digital clock. And it'll turn
on just as quickly, too."
Tizen an open source, standards-based software platform supported by
leading mobile operators, device manufacturers, and silicon suppliers
for multiple device categories such as smartphones, tablets, netbooks,
in-vehicle infotainment devices, and smart TVs.