Finally, Grub to Gnome in under a minute

Edit: Unfortunately, the images originally included in this post are gone, because of hosting problems in late 2009. My apologies.

It took me a long time, but I finally managed to get a default Ubuntu 8.04 system to boot in under a minute on a 1Ghz Pentium III, with an accelerated desktop and all the frills.

Generally speaking, my Ubuntu systems are among the slowest I tolerate. I installed the full 8.04 suite this time because I wanted to playtest VICE 2.0 against Hardy, which works fine as you can see. After that, it was a long and arduous wrestling match to get a sparse 2.6.26 kernel in place, as well as the packaged Nvidia driver. But as you can see, it works.

Really the only “tweaks” in place there are the customized kernel — a spitting image of my regular Crux kernels, with hardware allowances of course — and the 96xx proprietary driver from Nvidia, compiled fresh from the installation script. Nothing yet in place from my world-famous Hardy tweak collection. :roll:

My only suggestions right now: If you do try this stunt, don’t disable inotify or dnotify, since it makes HAL go crazy (pun intended). Since removing HAL will play havoc with the entire Gnome confabulation, it might be easier timewise to just compile those features, rather than play games with Ubuntu’s dependencies. :shock:

A minute, of course, is still a sluggish toad compared to an Openbox Crux system on this machine, which goes from 0 to 60 in 14 seconds for me (in this case, 0 to 60 is Grub to desktop ;) ) and I don’t have to play games with dependencies.

I think when I have another 20 minutes or so to spare (like tonight, after work), I’ll add a few more little tweaks and see what bootchart says when it’s all said and done. It’s an interesting experiment, even if it’s so far behind what I usually use that I wouldn’t ever consider it.

Edit: After a few of the applicable tweaks I know were in place, bootchart put the start timeat 24 seconds, at least to gdm and X.

Of course, it’s another 30 seconds (sometimes more) before gdm and the rest of Gnome gets itself up and working. And it seems that inotify/dnotify also screws with readahead and a few other processes, so I think for Ubuntu systems it’s probably a good idea to keep it in your kernel.

After that though, Ubuntu can, and probably is, just as fast as most other Linux system when the guts are stripped. Gnome will probably never be a winner in my book, but at least you can carve away at its innards and make it something usable. :twisted:

About these ads

4 Responses to “Finally, Grub to Gnome in under a minute”


  1. 1 alexandru 2008/07/30 at 3:39 AM

    may I ask why is boot time so important? i usually open my laptop when I come home, and usually it boots while i’m doing other things so boot time is not so important (except maybe if it takes more than a few minutes). however i believe the overall functionality/responsiveness is much more important. you should concentrate more on how to improve them.

    on more thing: though i’ve been using a linux desktop for more the 4 years now compiling packages from repositories and manualy dealing with dependencies are still out of the question. so i said bye bye to gentoo & crux. tweaking your system for the last bit per second is simply not worthing because more often than not time invested is greater than time gained.

  2. 2 entitychan 2008/07/31 at 1:24 AM

    @ Alexandru

    But it sure is fun. :)


  1. 1 Why bother? « Motho ke motho ka botho Trackback on 2008/07/31 at 7:22 AM
  2. 2 Flabbergasted « Motho ke motho ka botho Trackback on 2009/04/29 at 7:56 AM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,958,871 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: