You are here: Home Linux Booting Fedora 8 Test 3 vs openSUSE 10.3

Booting Fedora 8 Test 3 vs openSUSE 10.3

by Harald Hoyer last modified Mar 12, 2008 02:44 PM
Every month the discussion about faster booting of Fedora appears on the mailing lists. Here is a comparison of Fedora to openSUSE with some suggestions and improvements.

openSUSE 10.3

Bootchart

Boot time: 35s

Incredible speed, I must admit. Time to look at Fedora.

Fedora 8 Test 3 - Default Installation - SELinux off

Bootchart

Boot time: 73s

Default Installtion, SELinux turned off. Wow, that's disappointing for the average Desktop user. Let see, why it is so slow.

Fedora 8 Test 3 - Same Services - SELinux off

Bootchart

Boot time: 46s

Turning off all the services, which are not started by default on the openSUSE, the boot time is nearly comparable now.

The following services are only started:

  • iptables
  • network
  • irqbalance
  • rsyslog
  • auditd
  • cpuspeed
  • messagebus
  • rpcbind
  • rpcidmapd
  • nscd
  • sshd
  • ConsoleKit
  • crond
  • atd
  • avahi-daemon
  • cups
  • haldaemon
  • anacron
  • NetworkManager
  • NetworkManagerDispatcher

Fedora 8 Test 3 - Same Services - SELinux off - No rhgb

Bootchart

Boot time: 38s

Switching off rhgb saves 8s. Wow, that is much, compared to the whole boot process without the kernel time.

Fedora 8 Test 3 - Same Services - SELinux off - No rhgb - prcsys

Bootchart

Boot time: 34s

By installing prcsys, adding missing LSB Headers to the services, it is now less boot time than openSUSE. Hurray! :-)

Fedora 8 Test 3 - Same Services - SELinux off - No rhgb - prcsys - No Floppy module

Bootchart

Boot time: 32s

Removing /etc/sysconfig/modules/udev-stw.modules, which basically only loads the floppy module, because floppies are not autoloaded just saved me 2 seconds. I have no floppy on my machine, so that was only probing on my machine. Time to think of another mechanism of loading this module or not.

Update:

alias pnp:dPNP0700 floppy

This may do the trick in modprobe.conf. Maybe that should be a modalias in the floppy module.

Fedora 8 Test 3 - Same Services - SELinux on - No rhgb - prcsys - No Floppy module

Bootchart

Boot time: 37s

To see how much SELinux would slow down, I turned selinux on, relabled and rebooted.

 

For the reference, I uploaded the Machine Profile to Smolt