Video: 25-second boot on 450Mhz K6-2

I finally set up an autologin on the ugly little laptop, so I could properly time the boot from Grub to the desktop.

CRUX Linux with a minimal setup of Openbox 3.4.4 on a 4200rpm hard drive using only ext2 partitions starts in 25 seconds, and that includes Internet access, 1024×768 video at 16-bit color depth (the video card can’t do 24-bit), sound, USB mouse and touchpad support and most other amenities. That’s a custom compilation, with everything stripped out and only the essentials built directly into the kernel. Kernel size is 1.4Mb, and the leftover modules take up only 412Kb.

Now, since I don’t expect anyone to believe a 25-second boot on a K6-2, I made a video of it. 😯 I had planned on posting it on YouTube, but it stretched to bizarre dimensions, and looks quite ridiculous. Instead, I’ve put the rotated clip here on Mediafire.

(YouTube junkies will still get their fix though. Click freely:

This is really my first shot at making a movie and embedding it, so this was quite an effort. And I don’t know much about YouTube: Why was the video stretched to such stupid proportions? Or is that just on my screen? Is there a way to correct that?)

In any case you can time it yourself: The Grub menu drops away at 24 seconds, and X is up at 49 seconds. The cellphone in the picture is there just so you don’t think there’s any trick photography involved. I didn’t bump up the frame rate or feed the output from a dual core into the LCD — it’s real.

Even more real is that hideous whine in the background — that’s the siren song of a 4200rpm hard drive. They can put a man on the moon, but they can’t shut up a hard drive.

Firefox is still a disappointment though. The bloated toad takes 15 or 16 seconds to finally appear, which is miserable for any program. I’ll give it one tiny sliver of leeway, though: I think it was a little faster when I didn’t have extensions installed.

Technically, yes, this is cheating. Just about every piece of software on that machine is compiled specifically for the K6-2, and what little isn’t comes off the i586 version of CRUX 2.3. So even the precompiled libraries and other software are tuned closer to the K6-2.

There are two lessons I learned here: First, recompilation is simply the best solution for out-of-date hardware for me. I could tweak and pull Ubuntu until I was blue in the face and I never would get a 25-second Grub-to-X … unless I recompiled it all, and then it probably still wouldn’t be as fast. Even Lowarch wasn’t this fast. Nothing beats carving out the guts at the lowest level, and rebuilding from scratch.

And second, you don’t need a $2000 dual core laptop to surf the Internet and send e-mail, if you can decipher CRUX. 😈 😯 Ah, but that’s the catch. …

12 thoughts on “Video: 25-second boot on 450Mhz K6-2

  1. James

    Speaking from experience with a similar machine, you should try Opera. I know it’s not open source and all that, but it scales down to older computers really extremely well.

  2. nathangrubb

    wow.I got this PC (an Emachines W3118 if you’re interested, but the RAM is upgraded to 512MB) down to 30 seconds (that’s pretty much as far as it would go). But that must’ve taken some work
    PS: I suggest you don’t use firefox on that

  3. Pingback: I blame it on Crux « Motho ke motho ka botho

  4. K.Mandla Post author

    Yes and no. Yabbadabbadont explained it in brief on the forums, here:

    If it sounds like something you want to try, let me know how it goes. To be honest, without a test machine I’m not very interested in trying it, and since this K6-2 is pretty much anti-Arch, I may end up waiting for a while. And if I’m going to avoid udev, part of me thinks I’d do just as well to go without it altogether, and use a different distro.

  5. Pingback: Whee! Crux at 1Ghz « Motho ke motho ka botho

  6. Pingback: CRUX Linux 2.4 on OLPC XO-1 « Motho ke motho ka botho

  7. Pingback: Some system suggestions « Motho ke motho ka botho

  8. Pingback: Some system suggestions « Motho ke motho ka botho

  9. Pingback: Hardy beta on a diet « Motho ke motho ka botho

  10. Pingback: Why bother? « Motho ke motho ka botho

Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s