Re: Disk is cheap?

Pavel Machek (pavel@suse.cz)
Sat, 3 Feb 2001 13:55:18 +0100


Hi!

> > I built a embedded dvd/cdda/mp3 player based on linux, using a p200mmx
> > with 24mb with a bus of 75mhx, but it still takes about 20 seconds to boot,
> > I think that an embedded device (for home use) should boot in less than
> > 5 seconds, how could be possible with a slow p133? (I've also tried a p133
> > on 66mhz of bus and it takes almost 35 seconds to boot)
>
> Usually most of the startup time is spent by the BIOS doing
> extensive self-test stuff and for firing up services (http,
> inetd, sendmail, ...) that many embedded systems have little use
> for.

Actually, most of that time is spent running bash/sleep 1. Startup
scripts tend to be poorly designed.

> I have a 25MHz 386EX (~2.2 Bogomips) here that boots Linux out of ROM
> in roughly 30 seconds. Most of _that_ time however is spent decompressing
> the kernel.

You might want to set up XIP and run kernel directly off the ROM...

Pavel

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/