Personal tools
You are here: Home Linux Bootchart Comparison of popular Linux Distributions

Bootchart Comparison of popular Linux Distributions

by Harald Hoyer last modified Apr 17, 2009 16:31

This article shows the boot time of some of the most popular Linux distributions.

These bootcharts were taken one the same machine (smolt hardware profile).

Note: All distributions were measured after their default installation and after a quick optimization. You may gain less boot time by doing further optimization, but I did not want to get into detail for every distribution. I just turned off all unneeded services, to basically have a networked workstation, with which you can browse the internet.

To compare the distributions, the time measured until the X-Server is starting is displayed in the table. In parantheses, you see a manual measured time from grub prompt to gdm login prompt, which basically defines the user experience.

Name Boot Time, default Boot time, less services Comments
Ubuntu 9.04
20s (24s login prompt)
  profiled with readahead, some daemons started after X start
Fedora 11 Snap1 i686 Live [1]
22s (28s login prompt)   Snap1 updated to rawhide 2009-04-17
Ubuntu 7.10
21.5s (29s login prompt)
18.2s 80 modules loaded, no sendmail/sshd, bootchartd started in initrd
openSUSE 10.3
28.5s (32s login prompt)
28s 88 modules loaded, early gdm, services started during gdm-login
Ubuntu 8.10
27s (34s login prompt)    
Ubuntu 8.10 updated
29s   updated on 2009-04-17 and profiled for readahead
Fedora 10 i686 Live [1] updated 29.2s (40s login prompt)   updated on 2009-04-17 + installed readahead
Fedora 10 i686 Live [1] updated 33.5s (45s login prompt)   updated on 2009-04-17
Fedora 10 i686 Live [1]
40.8s/30.8s   10s wait in nash (scsi settle down "bug")
Fedora 9 Final 38.5s (48s login prompt) tbd
Fedora 9 Preview i686 Live [1] 26s (39s login prompt) selinux off, rhgb off
Fedora 9 Preview i686 Live [1] 33s (45s login prompt) rhgb off
Fedora 9 Preview i686 Live [1] 37.2s (47s login prompt) 34s (45s login prompt) 72 modules loaded, selinux enforcing
Fedora 8 i686 Live [1] 18s (27s login prompt) selinux off, rhgb off
Fedora 8 i686 Live [1] 33.8s (40s login prompt) 25.5s (33s login prompt)
69 modules loaded, selinux enforcing
Fedora 7 i386 DVD
51s (58s login prompt)
33.2s (42s login prompt)
selinux enforcing
PCLinuxOs 2007 kicker crashed, install crashed, maybe bad medium, will retry later... maybe
SimplyMepis 7.0
35.1s  (46s login prompt)
not much to learn from
LinuxMint 4.0 same as Ubuntu 7.10
same as Ubuntu 7.10
same as Ubuntu 7.10

 [1] Live CD installed on HD

 

Conclusions

  • kernel+nash boot time has a good potential to be optimized in Fedora (pre F10)
  • a good readahead can improve service starting vastly (see Ubuntu), Fedora's readahead (pre F10) slows down.
  • early, parallel login can fool the users perception of boot time
  • rhgb is slow for Fedore <= 8
  • the less services started, the faster it boots (so obvious :-)

See also

Document Actions
  • Print this
  • Hits: 017320

I've been meaning...

Posted by Mike McGrath at Apr 15, 2008 20:28
Mostly just out of curiosity I've been meaning to do this very thing and now I won't have to! Thanks for putting that together.

Thanks for the numbers

Posted by Marland Pittman at Apr 15, 2008 20:47
Thanks for the numbers! It's nice to have some kind of reference.

They are all bad

Posted by baddog at Apr 16, 2008 19:46
All the results are horrible. I have a Windows XP here booting in 11 seconds flat (to logon screen, hdd stopped working completely, services up) on 2.8G P4 with one Raptor as HDD and 1 gigabyte of DDR400. And it's 3 years old OS installation. (Btw, it has been on and networked without any firewalls and anti-virus applications on a solid copper connection for the whole time. Not one single problem there either. It's rock solid and insanely secure.)

A second insight: There is no one single technical reason why the booting of Linux distribution should take more than 3 seconds from the very beginning to the GDM screen and being stable. It's all just lack of integration, bad architectures, starting unnecessary (at bootup time) services, and pain retardness of the developers. All it would take is a little bit of that thinking outside of the box, but I understand it is not very much practiced in the floss world.

Actually I once made a detailed technical plan about it just to evaluate how plausible the super fast boot process would be to implement. It was very plausible, something roughly 5 good developers could achieve within month.

Just do it

Posted by Jonathan Roberts at Apr 18, 2008 19:32
Then find and persuade a group of people to join you and make it happen. That's one reason why FOSS is good, if you're not happy with something you can fix it yourself.

Not all are bad, just those.

Posted by Anonymous at Aug 12, 2008 15:18
First, test bootup time on your own system. Secondly, lightweight distros tend to boot quickly. You can't call Linux slow when there is a port (ELKS/linux-8086) to the 8086! And go and suggest your plan somewhere. Not all developers are dismissive.

Dude you are lying

Posted by Linux Expert at Aug 10, 2009 11:06
If you are going to make up numbers, atleast try to keep them 'somewhat' reasonable. A Brand new install of Windows XP on a quad-core system with 6 gigs of RAM will be 'lucky' to boot in under a minute.

What a load of crap.

Posted by Chris at Feb 09, 2010 12:18
Clearly you have only used crufty broken systems, or you run antivirus crap or something. XP Boot times well under a minute are perfectly reasonable on hardware *of the day*. On *current* hardware, you have to *actively* try to fail.

Delay service start

Posted by Mace Moneta at Apr 18, 2008 20:06
Starting without services is not really practical, but there is an alternative.

I usually delay starting all network based services until after GDM is started (or a user logs in, if only using network manager). This saves a considerable amount of time.

I believe Windows does something similar. By prioritizing the services needed to get to the desktop, and starting the remainder a few seconds later, the startup time impacts the time to a usable desktop less (even though the total time may be the same).

Windows Boot

Posted by Loic Faure-Lacroix at Oct 05, 2008 17:08
Yeah,
I can see a difference between linux boot and windows.
windows boot all necessary thing to get to the login screen then...load everything else.
linux boot everything to login screen.

When you log on windows, it might take like 1 or 2 min to get a usable desktop. On linux,its like 2-5 seconds.

One thing that could be done on linux, is too load everything needed for gdm/kdm/xdm to be usable (network or not if you have a thin client) then the boot sequence continue while you're in the login screen.
Seriously you don't really have to wait for mysql and apache to start or most of the service to get to gdm. Most device detection could be done while or after login.


Boot time comparisons

Posted by Sitsofe at Apr 18, 2008 20:12
Bah, yet another person does a nicer job than me on this : ). More bootcharts can be seen at the bottom of https://wiki.ubuntu.com/BootCharting . One thing you might want to add is the time it take to get to the applet clock when autologin is enabled and you are booting from cold. Why the clock? Because quite often until it appears the system will not respond to mouse clicks (it always seems to appear just before responsive occurs). Another thing that is interesting is just how quickly you can shutdown from a started system.

Single thing that sped up Ubuntu boot most

Posted by Sitsofe at Apr 19, 2008 00:10
The one thing that sped up the Ubuntu boot speed the most was doing a profile boot. You will never get the time that it takes to do a profile back again (unless you are booting 5 times a day every day for a year or something) but it caused the biggest reduction in boot up time. If only there was a way to do profiling that wasn't so slow... (perhaps http://www.mimuw.edu.pl/[…]/application.html will happen).

Fedora 9 final

Posted by Sitsofe at Jun 08, 2008 15:52
It may be worth redoing the bootcharts with Fedora 9 final as my results certainly changed between the beta (which was using a debug kernel) and the final release: https://wiki.ubuntu.com/Boo[…]90a9717ad0c72c9b400c236a581

Time for retest with current fedora ?

Posted by David Timms at Apr 07, 2009 17:44
Harald, if you still have the same hardware, it would be interesting to see the same results for F10, F10 + updates, and F11beta2, to show how reducing boot time is progressing.

Mandriva

Posted by Adam Williamson at Apr 17, 2009 18:22
You should really test Mandriva - especially 2009 Spring with speedboot enabled - as it's rather ahead of the curve when it comes to boot optimization in general-purpose distributions. In configurations where speedboot works it will be substantially faster than anything else.

http://blog.crozat.net/2009/02/speedboot-explained.html