F9 parallel vs. serial bootscript

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux