|
|
Log in / Subscribe / Register

MontaVista Achieves Ultra-Fast One Second Linux Boot Time in Embedded Industrial Applications

MontaVista Software has announced the achievement of ultra-fast boot times on MontaVista Linux for embedded industrial applications. "At the Virtual Freescale Technology Forum this week, MontaVista will be demonstrating a sample dashboard application fully operational in one second from cold boot, achieving a level of previously unmatched performance on any embedded Linux."

to post comments

Wrong goal

Posted Jul 14, 2009 20:36 UTC (Tue) by BrucePerens (guest, #2510) [Link] (15 responses)

It works this way for everyone if you replace init with your application. At least if you aren't using udev and don't need to bring up many services. It would be a lot more credible if they demonstrated a versatile, capable, and then fast start-up service than just getting in to an application quickly.

Wrong goal

Posted Jul 14, 2009 21:05 UTC (Tue) by arjan (subscriber, #36785) [Link] (7 responses)

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 ;)

cold boot?

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

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] (5 responses)

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] (3 responses)

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 (guest, #313) [Link] (1 responses)

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?

Why?

Posted Jul 14, 2009 21:07 UTC (Tue) by JoeBuck (subscriber, #2330) [Link]

They are selling to designers of embedded systems, which (at least in many cases) really have one application to run.

Wrong goal

Posted Jul 14, 2009 21:10 UTC (Tue) by dmk (guest, #50141) [Link] (1 responses)

of course this is with some special purpose embedded hardware. but why is my laptop taking 20 seconds to grub? why? why? why?

is there some comprehensive overview of bios-boot-time for laptops?

Wrong goal

Posted Jul 15, 2009 0:14 UTC (Wed) by drag (guest, #31333) [Link]

> of course this is with some special purpose embedded hardware. but why is my laptop taking 20 seconds to grub? why? why? why?

'cause BIOS is teh suxor.

Blame it on technical requirements needed to be compatible with Windows XP.

Wrong "stack"

Posted Jul 14, 2009 21:10 UTC (Tue) by jeff@uclinux.org (guest, #8024) [Link] (2 responses)

"achieving a level of previously unmatched performance on any embedded Linux."

Wrong Goal and also factually incorrect. uClinux has been booting on industrial controllers in
under 1 second to functional, completely running state for 10 years. And on processors running
very low double digit MHz clock speeds (and yes, from Motorola, now Freescale too). The key is not
so much replacing init with a single purpose application (that can help), but making a proper tiny
stack that does just what you need, of which init is a part. Thankfully, just what you need is not so
different as one might initially think from application to application.

If you need to do "tuning of the entire software stack" then you're using the wrong stack.

J.

Wrong "stack"

Posted Jul 14, 2009 21:29 UTC (Tue) by BrucePerens (guest, #2510) [Link] (1 responses)

Busybox got to the prompt really quickly back when I wrote it in '96. Most of the time spent in booting back then was waiting for the kernel to not detect devices.

Wrong "stack"

Posted Jul 14, 2009 21:37 UTC (Tue) by arjan (subscriber, #36785) [Link]

the kernel has been fixed since; typical is around 0.6 seconds for a kernel boot with all drivers in there....

Wrong goal

Posted Jul 21, 2009 22:25 UTC (Tue) by tkitch (guest, #58222) [Link]

See demo here for more clarification on the demo: http://www.youtube.com/watch?v=-l_DSZe8_F8


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