F9 parallel vs. serial bootscript

Mark markg85 at gmail.com
Tue Apr 1 01:19:16 UTC 2008


2008/3/31, Optimization Kit <optimizationkit at gmail.com>:
> Hi,
>
>  I wrote a simple script
>  http://www.stardust.webpages.pl/files/fedora-upstart/bootscriptconv.py
>
>  It creates an upstart wrappers for classic Fedora scripts

Just made those from your script as well but where do i need to place them?

>
>  Example
>
>  start on started rsyslog
>  start on runlevel 2
>  start on runlevel 3
>  start on runlevel 4
>  start on runlevel 5
>
>  stop on runlevel 0
>  stop on runlevel 1
>  stop on runlevel 6
>
>  console output
>
>  script
>         /etc/init.d/atd start
>  end script
>
>  pre-stop script
>         /etc/init.d/atd stop
>  end script
>
>
>  Comparison
>
>  71 seconds - default
>  http://www.stardust.webpages.pl/files/fedora-upstart/bootchart-serial.png
>
>  54 seconds after parallelization
>  http://www.stardust.webpages.pl/files/fedora-upstart/bootchart-parallel.png
>
>  TODO:
>  - A better dependency handling
>
>  Your comments and suggestions are welcome.
>
>  Regards,
>  Michal
>

For the rest: a very interesting read!
Btw.. your default system boots kinda slow without paralellisation..
My default boot is 56 seconds and that's with a fully updated Fedora 9 rawhide.
Breaking out the services that i don't need saves 5 seconds: 51 seconds boot.
And i expect to get atleast 10 seconds time boost with your script :)
(once i know where to place the files)




More information about the fedora-devel-list mailing list