Hello ollie,

>>Hello,
>>
>>I have the m810lmr (SiS) board and it needs about 12 seconds
>>to exec init process with a Duron 950 MHz and 512MB ram.
>>
>>Do you reach the 3 seconds with actual boards, or was it
>>with the good old small 2.2.x kernel, some time ago ?
>>
>>Even the linuxbios startup is about 3 seconds (with serial
>>console activated), than the kernel needs its time (IDE
>>timeout (about 2 seconds), the rest is 6-7 seconds), and
>>the init process needs only 1-2 seconds (with network, ssh,
>>http, squid, ... ) .
>>
>>How can I speed up my booting time ?
>>
>>Is something wrong with my config (linuxbios, kernel) or
>>hardware (CPU too slow ?) ?
>>
>>Can you give some general tips about optimizing the bootup
>>time ?
>>
o> This 3 sec to init is on DoC with module-as-possible kernel. The boot 
o> time certainly depends on
o> you media to store kernel image, how large your kernel image is and 
o> finally, the IDE spin up.

I have disabled most of the kernel drivers. All needed
drivers for this board are compiled into the kernel (NOT as
modules). I think the only needed thing is the DoC and
filesystem drivers compiled into the kernel. The others
could be modules as well (network, sound, ...).

Kernel image is stored on DoC (nftla) and the rootfs too.

DoC can only transfer 1MB per second. If my rootfs is loaded
from DoC it will load in 7 seconds and the kernel+linuxbios
use the other 1MB. So it needs 8 seconds at max loading the
data from DoC ?

I don't really know what to do about the spin up problem:
- If I want to use the IDE drives, I have to wait for them
  spinning up, right ?
- I thought of network booting or mounting the drives
  with nfs. But local hd is the preferred method for me.

Can you please send me your kernel config from a board with
3 secs boot time ? (I'm not a kernel guru, who knows
exactly, what the really needed features are. My vmlinux
kernel size is about 1.9MB (<700kB compressed). So it's not
really small :-( )

Stefan


Reply via email to