LWN.net Logo

Wrong goal

Wrong goal

Posted Jul 14, 2009 21:05 UTC (Tue) by arjan (subscriber, #36785)
In reply to: Wrong goal by BrucePerens
Parent article: MontaVista Achieves Ultra-Fast One Second Linux Boot Time in Embedded Industrial Applications

Doing a full boot including starting X on a single core netbook (eg slow box) is somewhere between 2 and 3 seconds (which includes udev/consolekit/etc).

It's not all that special to get that to sub-2-seconds I suppose; but to get that to 1 second will take some effort still ;)


(Log in to post comments)

cold boot?

Posted Jul 15, 2009 12:07 UTC (Wed) by pjm (subscriber, #2080) [Link]

Arjan, are you measuring from cold boot or from when Linux has loaded? I was under the impression that most netbooks take several seconds from cold boot to when Linux starts to be read. The article is quite explicit that it's measuring “from cold boot”, “from cold power”.

I believe the fact that it's measured from cold boot also goes some way to addressing Bruce's point above: it's not at all true that “everyone gets [init started] in one second”.

(Coreboot is somewhat relevant here, though I've conflicting evidence on how fast it is, ranging from “milliseconds” to “0.5 seconds” to “3 seconds is the current fastest”; possibly those are each measuring different things.)

cold boot?

Posted Jul 15, 2009 13:13 UTC (Wed) by arjan (subscriber, #36785) [Link]

I'm measuring from bios handoff.
A modern bios takes between 1 and 2 seconds (if yours takes more, talk to your hw vendor...).

I'm personally not convinced that coreboot is fundamentally faster than a decent bios; the long time taking tasks are shared (bringing up/discovering memory etc etc)....

cold boot?

Posted Jul 15, 2009 13:56 UTC (Wed) by nye (guest, #51576) [Link]

I've never had a BIOS that fast :-(

Actually I think most of my BIOS time is spent enumerating SATA devices, which takes *bloody ages*.

Do you have any recommendations on what (consumer-level) hardware to get which is known to have a decently fast BIOS - or know of anywhere that bothers to document that sort of thing?

cold boot?

Posted Jul 15, 2009 14:27 UTC (Wed) by tzafrir (subscriber, #11501) [Link]

How about replacing the BIOS?

cold boot?

Posted Jul 15, 2009 19:09 UTC (Wed) by dlang (✭ supporter ✭, #313) [Link]

you can configure most BIOS to not do autodetection of drives, that can drasticly speed up the system.

cold boot?

Posted Jul 16, 2009 11:04 UTC (Thu) by nye (guest, #51576) [Link]

Sadly this board has two SATA controllers, and one of them doesn't seem to be controllable via the main BIOS except to disable it, plus it seems that the only way to disable autodetection is to enable PATA emulation mode.

This is all the sort of thing that doesn't tend to get mentioned in motherboard reviews, which is why I'm interested in any resources that do check and give that information.

cold boot?

Posted Jul 17, 2009 9:44 UTC (Fri) by yaneti (subscriber, #641) [Link]

> A modern bios takes between 1 and 2 seconds (if yours takes more, talk to your hw vendor...).

Hmm, then how about this DG945GCLF that I have here, that with absolutely nothing attached takes 10 seconds to tell me there is no boot device.
With a single SATA drive grub shows up in 13.
You know a modern bios, from Intel, on a hardware somewhat related to the same netbooks that you are booting moblin on in 5?

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds