ts-7000
[Top] [All Lists]

Re: [ts-7000] Real-world boot times? What's taking so long?

To:
Subject: Re: [ts-7000] Real-world boot times? What's taking so long?
From: "Breton M. Saunders" <>
Date: Mon, 26 Jul 2010 13:18:44 +0100
On 07/25/2010 08:07 PM, Blair wrote:
> After getting my 7350 up and running under 2.6.34 I'm finding that the 
> real-world boot times are almost 10 seconds.  This includes loading the UART 
> drivers, the SD card driver, USB OHCI driver, USB Audio drivers, and the FTDI 
> driver.  So, what's sucking up the time?  And what is eptime and where is 
> that defined?  The TS script uses this to display the boot time which for 
> 2.6.34 uncompressed coming off a roughly 3.75 MB partition is about 2.7 
> seconds.   The other 7 seconds is taken up by mounting the file system and 
> setting up USB.  Any way to streamline this?
>
>    

Here are some tricks I'd recommend:
   * Cut out everything that is unnecessary from the kernel (e.g. nfs, 
etc...)
   * Don't use a compressed kernel - longer i/o time, but no 
decompression time
   * Turn off all kprintfs in the kernel (use sed script or something to 
just comment them out)
   * Use busybox in minimal configuration
   * Don't use an initrd or pivot to a real root filesystem
   * Don't start networking, or if you must, assign a static ip address
   * Make your application startup as fast as possible

Alternatively; just suck the startup time, but engineer your application 
to never get restarted.

-Brett



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU