Parallel Booting
Harald Hoyer
harald at redhat.com
Fri Jul 6 16:18:04 UTC 2007
Bill Nottingham schrieb:
> Bill Nottingham (notting at redhat.com) said:
>> - where are the benchmarks? What's the actual gain?
>
> Not seeing any other benchmarks, I decided to test this.
>
> Fairly standard box - P4, ata_piix, 1G memory. Stock desktop install, fully
> up to date with updates and updates-testing as of this afternoon.
>
> A 'normal' boot to gdm is about 56.9 seconds. I installed
> prcsys, and edited the startup scripts to add LSB dependencies
> as attached.
>
> I then booted with prcsys and parallel init. The new boot time was...
> 56.3 and 56.6 seconds.
With:
S12syslog
S13ip6tables
S13iptables
S14network
S25netfs
S26auditd
S26messagebus
S27setroubleshoot
S55sshd
S98haldaemon
S99local
/etc/rc.d/rc takes:
8.5s in normal mode
6s in parallel startup
>
> So, for all this work, we get a 0.6%-1.1% speedup.
so for me thats 140% speedup :)
> Oh, and we get
> 62 AVCs from SELinux in the process. What's the point of this again?
for that, I now have a fix.
>
>> - how would this be useful for the case where facilities that are provided
>> are determined at runtime (say, NetworkManager providing $network instead
>> of /etc/init.d/network, or $remote_fs being provided by either rc.sysinit
>> or /etc/init.d/netfs, depending on configuration).
yep, tbd
>> Similarly, you may
>> want a meta-dependency for 'authorization available', which would be
>> at different times depending on whether or not you're using local
>> passwords, KRB5, etc.
yep, tbd
>> - does this work with dbus system activation?
yep, tbd
>
> I also don't see how it handles either of these.
>
> Bill
>
Which system does fullfill all of these requirements yet?
Harald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3623 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070706/e7141df1/attachment.bin>
More information about the fedora-devel-list
mailing list